58 lines
1.3 KiB
YAML
58 lines
1.3 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/bookstack
|
|
pullPolicy: IfNotPresent
|
|
tag: v23.10.20231030@sha256:3c9dd24ee7b12ba79274df4e3f1dcaec6b5137b0e27d0147376031a24ab39656
|
|
|
|
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
|