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