feat(strapi) change version to v4 (#4330)
* feat(strapi) change version to v4 * add secrets type correctly
This commit is contained in:
parent
516d51032d
commit
7aa5cbb282
|
@ -1,5 +1,5 @@
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: "3.6.8"
|
appVersion: "4.4.5"
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://library-charts.truecharts.org
|
repository: https://library-charts.truecharts.org
|
||||||
|
@ -8,7 +8,7 @@ dependencies:
|
||||||
name: postgresql
|
name: postgresql
|
||||||
repository: https://charts.truecharts.org/
|
repository: https://charts.truecharts.org/
|
||||||
version: 8.0.119
|
version: 8.0.119
|
||||||
description: Strapi is the leading open-source headless CMS. JavaScript, fully customizable and developer-first.
|
description: Open-source headless CMS. JavaScript, fully customizable and developer-first.
|
||||||
home: https://truecharts.org/docs/charts/stable/strapi
|
home: https://truecharts.org/docs/charts/stable/strapi
|
||||||
icon: https://truecharts.org/img/hotlink-ok/chart-icons/strapi.png
|
icon: https://truecharts.org/img/hotlink-ok/chart-icons/strapi.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -21,11 +21,10 @@ maintainers:
|
||||||
url: https://truecharts.org
|
url: https://truecharts.org
|
||||||
name: strapi
|
name: strapi
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/truecharts/charts/tree/master/charts/stable/strapi
|
- https://truecharts.org/docs/charts/stable/strapi
|
||||||
- https://hub.docker.com/r/strapi/strapi
|
- https://hub.docker.com/r/naskio/strapi
|
||||||
- https://github.com/strapi/strapi
|
- https://github.com/naskio/docker-strapi
|
||||||
- https://docs.strapi.io/developer-docs/latest/setup-deployment-guides/installation/docker.html#creating-a-strapi-project
|
version: 5.0.0
|
||||||
version: 4.0.50
|
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- media
|
- media
|
||||||
|
|
|
@ -15,7 +15,37 @@ questions:
|
||||||
# Include{recreate}
|
# Include{recreate}
|
||||||
# Include{controllerExpert}
|
# Include{controllerExpert}
|
||||||
# Include{controllerExpertExtraArgs}
|
# Include{controllerExpertExtraArgs}
|
||||||
# Docker specific env
|
- variable: secretEnv
|
||||||
|
group: "Container Configuration"
|
||||||
|
label: "Image Secrets"
|
||||||
|
schema:
|
||||||
|
additional_attrs: true
|
||||||
|
type: dict
|
||||||
|
attrs:
|
||||||
|
- variable: JWT_SECRET
|
||||||
|
label: Jwt Secret
|
||||||
|
description: The secret used to sign the JWT for the Users-Permissions plugin.
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
private: true
|
||||||
|
required: true
|
||||||
|
default: ""
|
||||||
|
- variable: ADMIN_JWT_SECRET
|
||||||
|
label: Admin Jwt Secret
|
||||||
|
description: The secret used to sign the JWT for the Admin panel.
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
private: true
|
||||||
|
required: true
|
||||||
|
default: ""
|
||||||
|
- variable: APP_KEYS
|
||||||
|
label: App Keys
|
||||||
|
description: The secret keys used to sign the session cookies.
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
private: true
|
||||||
|
required: true
|
||||||
|
default: ""
|
||||||
- variable: env
|
- variable: env
|
||||||
group: "Container Configuration"
|
group: "Container Configuration"
|
||||||
label: "Image Environment"
|
label: "Image Environment"
|
||||||
|
@ -24,16 +54,34 @@ questions:
|
||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
- variable: NODE_ENV
|
- variable: NODE_ENV
|
||||||
label: "Node Environment"
|
label: Node Environment
|
||||||
description: "Sets Node's Environment"
|
description: Sets Node's Environment
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "production"
|
default: production
|
||||||
enum:
|
enum:
|
||||||
- value: "production"
|
- value: production
|
||||||
description: "Production"
|
description: Production
|
||||||
- value: "develop"
|
- value: development
|
||||||
description: "Development"
|
description: Development
|
||||||
|
- variable: STRAPI_LICENSE
|
||||||
|
label: Strapi License
|
||||||
|
description: The license key to activate the Enterprise Edition.
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
|
- variable: STRAPI_DISABLE_UPDATE_NOTIFICATION
|
||||||
|
label: Strapi Disable Update Notifications
|
||||||
|
description: Don't show the notification message about updating Strapi.
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
- variable: FAST_REFRESH
|
||||||
|
label: Fast Refresh
|
||||||
|
description: enable "Fast Refresh" for near-instant feedback.
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
- variable: EXTRA_ARGS
|
- variable: EXTRA_ARGS
|
||||||
label: "Extra Args (Leave empty for default)"
|
label: "Extra Args (Leave empty for default)"
|
||||||
description: "Pass extra args to the strapi new"
|
description: "Pass extra args to the strapi new"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
image:
|
image:
|
||||||
repository: tccr.io/truecharts/strapi
|
repository: tccr.io/truecharts/strapi
|
||||||
tag: v3.6.8@sha256:a36075a1a9cc9802e77772f765b189ff1f4216c11de80fb1c36b1a44551cdcc6
|
tag: v4.4.5@sha256:38f3377319ce26bf345fe4d1acf656f2a06a12d24e47f862080f83f08fb8b654
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: Always
|
||||||
|
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: false
|
readOnlyRootFilesystem: false
|
||||||
|
@ -11,21 +11,29 @@ podSecurityContext:
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
runAsGroup: 0
|
runAsGroup: 0
|
||||||
|
|
||||||
|
secretEnv:
|
||||||
|
JWT_SECRET: "my_jwt_secret"
|
||||||
|
ADMIN_JWT_SECRET: "my_admin_jwt_secret"
|
||||||
|
APP_KEYS: "my_app_keys"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DATABASE_CLIENT: "postgres"
|
DATABASE_CLIENT: "postgres"
|
||||||
DATABASE_PORT: 5432
|
DATABASE_PORT: 5432
|
||||||
DATABASE_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
DATABASE_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||||||
DATABASE_USERNAME: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
||||||
NODE_ENV: "production"
|
|
||||||
EXTRA_ARGS: ""
|
|
||||||
DATABASE_HOST:
|
DATABASE_HOST:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: dbcreds
|
name: dbcreds
|
||||||
key: plainhost
|
key: plainhost
|
||||||
|
DATABASE_USERNAME: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||||
DATABASE_PASSWORD:
|
DATABASE_PASSWORD:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: dbcreds
|
name: dbcreds
|
||||||
key: postgresql-password
|
key: postgresql-password
|
||||||
|
# STRAPI_LICENSE
|
||||||
|
NODE_ENV: "production"
|
||||||
|
STRAPI_DISABLE_UPDATE_NOTIFICATION: true
|
||||||
|
FAST_REFRESH: false
|
||||||
|
EXTRA_ARGS: ""
|
||||||
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
|
|
Loading…
Reference in New Issue