49 lines
1.2 KiB
YAML
49 lines
1.2 KiB
YAML
|
image:
|
||
|
repository: ghcr.io/linuxserver/bookstack
|
||
|
pullPolicy: IfNotPresent
|
||
|
tag: 24.05.20240520@sha256:02623a4ba6359de67396b0e66b78c387b203d353e17d1245551bd749dbde494b
|
||
|
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: "{{ .Values.mariadb.password }}"
|
||
|
APP_KEY:
|
||
|
secretKeyRef:
|
||
|
name: secrets
|
||
|
key: APP_KEY
|
||
|
persistence:
|
||
|
config:
|
||
|
enabled: true
|
||
|
mountPath: /config
|
||
|
mariadb:
|
||
|
enabled: true
|
||
|
includeCommon: true
|
||
|
mariadbUsername: bookstack
|
||
|
mariadbDatabase: bookstack
|
||
|
portal:
|
||
|
open:
|
||
|
enabled: true
|