69 lines
1.5 KiB
YAML
69 lines
1.5 KiB
YAML
|
image:
|
||
|
repository: tccr.io/truecharts/blog
|
||
|
pullPolicy: IfNotPresent
|
||
|
tag: latest@sha256:b11ca1374d7ca68ef012b1d61b3fa432eded86aed5add3538808eb7e0093828c
|
||
|
|
||
|
securityContext:
|
||
|
container:
|
||
|
runAsNonRoot: false
|
||
|
readOnlyRootFilesystem: false
|
||
|
runAsUser: 0
|
||
|
runAsGroup: 0
|
||
|
|
||
|
service:
|
||
|
main:
|
||
|
ports:
|
||
|
main:
|
||
|
port: 10111
|
||
|
protocol: http
|
||
|
targetPort: 80
|
||
|
|
||
|
workload:
|
||
|
main:
|
||
|
podSpec:
|
||
|
containers:
|
||
|
main:
|
||
|
probes:
|
||
|
liveness:
|
||
|
type: http
|
||
|
path: /
|
||
|
readiness:
|
||
|
type: http
|
||
|
path: /
|
||
|
startup:
|
||
|
type: http
|
||
|
path: /
|
||
|
env:
|
||
|
BLOG_TITLE: "Blog"
|
||
|
BLOG_NAME: "Max Musermann"
|
||
|
BLOG_LANG: "en"
|
||
|
BLOG_DB_CONNECTION: "postgres"
|
||
|
BLOG_POSTGRES_USER: "{{ .Values.cnpg.main.user }}"
|
||
|
BLOG_POSTGRES_PORT: "5432"
|
||
|
BLOG_DB_NAME: "{{ .Values.cnpg.main.database }}"
|
||
|
BLOG_POSTGRES_PASS:
|
||
|
secretKeyRef:
|
||
|
name: cnpg-main-user
|
||
|
key: password
|
||
|
BLOG_POSTGRES_HOST:
|
||
|
secretKeyRef:
|
||
|
name: cnpg-main-urls
|
||
|
key: host
|
||
|
BLOG_NICK: username
|
||
|
BLOG_PASS: password
|
||
|
|
||
|
persistence:
|
||
|
data:
|
||
|
enabled: true
|
||
|
mountPath: /var/www/html/data
|
||
|
|
||
|
cnpg:
|
||
|
main:
|
||
|
enabled: true
|
||
|
user: blog
|
||
|
database: blog
|
||
|
|
||
|
portal:
|
||
|
open:
|
||
|
enabled: true
|