2021-11-30 08:33:15 -05:00
|
|
|
image:
|
2021-12-03 07:02:44 -05:00
|
|
|
repository: tccr.io/truecharts/blog
|
2021-11-30 08:33:15 -05:00
|
|
|
pullPolicy: IfNotPresent
|
2022-07-25 14:36:51 -04:00
|
|
|
tag: latest@sha256:2611eebe1f5a20d103330886f139d99de34364e03d9fcec05a9e2b49d8d71002
|
2021-11-30 08:33:15 -05:00
|
|
|
|
2022-06-07 13:41:19 -04:00
|
|
|
secretEnv:
|
2021-11-30 08:33:15 -05:00
|
|
|
BLOG_NICK: username
|
|
|
|
BLOG_PASS: password
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
env:
|
2022-06-17 04:24:54 -04:00
|
|
|
BLOG_TITLE: "Blog"
|
|
|
|
BLOG_NAME: "Max Musermann"
|
|
|
|
BLOG_LANG: "en"
|
|
|
|
BLOG_DB_CONNECTION: "postgres"
|
|
|
|
BLOG_POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
|
|
BLOG_POSTGRES_PORT: "5432"
|
|
|
|
BLOG_DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
2022-06-07 13:41:19 -04:00
|
|
|
BLOG_POSTGRES_PASS:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: postgresql-password
|
|
|
|
BLOG_POSTGRES_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: plainhost
|
2021-11-30 08:33:15 -05:00
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10111
|
|
|
|
targetPort: 80
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
data:
|
|
|
|
enabled: true
|
2021-12-18 14:25:00 -05:00
|
|
|
mountPath: "/var/www/html/data"
|
2021-11-30 08:33:15 -05:00
|
|
|
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: blog
|
|
|
|
postgresqlDatabase: blog
|
2022-08-08 17:25:02 -04:00
|
|
|
|
|
|
|
portal:
|
|
|
|
enabled: true
|