2022-01-27 22:50:49 +00:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/strapi
|
2023-05-29 06:40:35 +00:00
|
|
|
tag: v4.10.6@sha256:791ee6a862562b4d4711d2809f6b9726296a17558a0d25ad2342a731690ec18e
|
2022-11-07 09:53:28 +00:00
|
|
|
pullPolicy: Always
|
2022-01-27 22:50:49 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 1337
|
|
|
|
persistence:
|
|
|
|
data:
|
|
|
|
enabled: true
|
2023-02-18 20:12:38 +00:00
|
|
|
mountPath: /srv/app
|
2022-01-27 22:50:49 +00:00
|
|
|
# Enabled postgres
|
2023-04-11 10:07:17 +00:00
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
2022-08-08 21:25:02 +00:00
|
|
|
|
2023-04-11 10:07:17 +00:00
|
|
|
user: strapi
|
|
|
|
database: strapi
|
2022-08-08 21:25:02 +00:00
|
|
|
portal:
|
2023-04-11 10:07:17 +00:00
|
|
|
open:
|
|
|
|
enabled: true
|
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
env:
|
|
|
|
PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
|
|
DATABASE_CLIENT: postgres
|
|
|
|
DATABASE_PORT: 5432
|
|
|
|
DATABASE_NAME: "{{ .Values.cnpg.main.database }}"
|
|
|
|
DATABASE_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-urls
|
|
|
|
key: host
|
|
|
|
DATABASE_USERNAME: "{{ .Values.cnpg.main.user }}"
|
|
|
|
DATABASE_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-user
|
|
|
|
key: password
|
|
|
|
# STRAPI_LICENSE
|
|
|
|
# PUBLIC_URL
|
|
|
|
NODE_ENV: development
|
|
|
|
STRAPI_DISABLE_UPDATE_NOTIFICATION: true
|
|
|
|
FAST_REFRESH: false
|
|
|
|
EXTRA_ARGS: ""
|
|
|
|
JWT_SECRET: my_jwt_secret
|
|
|
|
ADMIN_JWT_SECRET: my_admin_jwt_secret
|
|
|
|
APP_KEYS: '["keya", "keyb"]'
|