2021-11-30 13:33:15 +00:00
|
|
|
image:
|
2023-11-17 10:22:57 +00:00
|
|
|
repository: ghcr.io/linuxserver/bookstack
|
2021-11-30 13:33:15 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2023-12-31 14:59:35 +00:00
|
|
|
tag: 23.12.20231229@sha256:6d955115cb6ba90b66d64d6d8477cb923e92c9b6d77d5a846cbbbecf85e46ba5
|
2021-11-30 13:33:15 +00:00
|
|
|
securityContext:
|
2023-04-14 16:11:04 +00:00
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
2021-11-30 13:33:15 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10112
|
2023-04-14 16:11:04 +00:00
|
|
|
protocol: http
|
2021-11-30 13:33:15 +00:00
|
|
|
targetPort: 80
|
2023-04-14 16:11:04 +00:00
|
|
|
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
|
2021-11-30 13:33:15 +00:00
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
2023-04-14 16:11:04 +00:00
|
|
|
mountPath: /config
|
2021-11-30 13:33:15 +00:00
|
|
|
mariadb:
|
|
|
|
enabled: true
|
|
|
|
mariadbUsername: bookstack
|
|
|
|
mariadbDatabase: bookstack
|
2022-08-08 21:25:02 +00:00
|
|
|
portal:
|
2023-04-14 16:11:04 +00:00
|
|
|
open:
|
|
|
|
enabled: true
|