51 lines
954 B
YAML
51 lines
954 B
YAML
image:
|
|
repository: tccr.io/truecharts/bookstack
|
|
pullPolicy: IfNotPresent
|
|
tag: v22.04.20220429@sha256:a2c36165fb0fa726eba39d17c368c8254741ece27d83a8cd276842805810ee8b
|
|
|
|
env:
|
|
DB_USER: "{{ .Values.mariadb.mariadbUsername }}"
|
|
DB_DATABASE: "{{ .Values.mariadb.mariadbDatabase }}"
|
|
|
|
securityContext:
|
|
readOnlyRootFilesystem: false
|
|
runAsNonRoot: false
|
|
|
|
podSecurityContext:
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10112
|
|
targetPort: 80
|
|
|
|
persistence:
|
|
varrun:
|
|
enabled: true
|
|
config:
|
|
enabled: true
|
|
mountPath: "/config"
|
|
|
|
envValueFrom:
|
|
DB_HOST:
|
|
secretKeyRef:
|
|
name: mariadbcreds
|
|
key: plainhost
|
|
DB_PASS:
|
|
secretKeyRef:
|
|
name: mariadbcreds
|
|
key: mariadb-password
|
|
APP_KEY:
|
|
secretKeyRef:
|
|
name: bookstack-secrets
|
|
key: APP_KEY
|
|
|
|
mariadb:
|
|
enabled: true
|
|
mariadbUsername: bookstack
|
|
mariadbDatabase: bookstack
|
|
existingSecret: "mariadbcreds"
|