52 lines
1.3 KiB
YAML
52 lines
1.3 KiB
YAML
image:
|
|
repository: ghcr.io/linuxserver/bookstack
|
|
pullPolicy: IfNotPresent
|
|
tag: 23.12.20240108@sha256:dae128c83d7f51fc9a6c34919d8514b8b0b7eb957c156104c14c77293df90158
|
|
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
|