50 lines
953 B
YAML
50 lines
953 B
YAML
image:
|
|
repository: tccr.io/truecharts/bookstack
|
|
pullPolicy: IfNotPresent
|
|
tag: v22.06.20220624@sha256:95121a3a4b773466ba8f93c4a96cdce37d20ebaf9a21dd7d45d2ebca2a5ae98c
|
|
|
|
env:
|
|
DB_USER: "{{ .Values.mariadb.mariadbUsername }}"
|
|
DB_DATABASE: "{{ .Values.mariadb.mariadbDatabase }}"
|
|
APP_URL: ""
|
|
DB_HOST:
|
|
secretKeyRef:
|
|
name: mariadbcreds
|
|
key: plainhost
|
|
DB_PASS:
|
|
secretKeyRef:
|
|
name: mariadbcreds
|
|
key: mariadb-password
|
|
APP_KEY:
|
|
secretKeyRef:
|
|
name: bookstack-secrets
|
|
key: APP_KEY
|
|
|
|
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"
|
|
|
|
mariadb:
|
|
enabled: true
|
|
mariadbUsername: bookstack
|
|
mariadbDatabase: bookstack
|
|
existingSecret: "mariadbcreds"
|