2023-08-01 09:25:32 +00:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/bookstack
|
|
|
|
pullPolicy: IfNotPresent
|
2023-08-31 11:55:29 +00:00
|
|
|
tag: v23.08.20230830@sha256:ce2dea74924a6a051d21f212c36716928b42f35b1bca473e0626ccb1d5ea2f6d
|
2023-08-01 09:25:32 +00:00
|
|
|
|
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10112
|
|
|
|
protocol: http
|
|
|
|
targetPort: 80
|
|
|
|
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
env:
|
|
|
|
DB_USER: "{{ .Values.mariadb.mariadbUsername }}"
|
|
|
|
DB_DATABASE: "{{ .Values.mariadb.mariadbDatabase }}"
|
|
|
|
APP_URL: ""
|
|
|
|
DB_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
expandObjectName: false
|
|
|
|
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
|
|
|
|
key: plainhost
|
|
|
|
DB_PASS:
|
|
|
|
secretKeyRef:
|
|
|
|
expandObjectName: false
|
|
|
|
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
|
|
|
|
key: mariadb-password
|
|
|
|
APP_KEY:
|
|
|
|
secretKeyRef:
|
|
|
|
name: secrets
|
|
|
|
key: APP_KEY
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /config
|
|
|
|
|
|
|
|
mariadb:
|
|
|
|
enabled: true
|
|
|
|
mariadbUsername: bookstack
|
|
|
|
mariadbDatabase: bookstack
|
|
|
|
|
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: true
|