49 lines
1.2 KiB
YAML
49 lines
1.2 KiB
YAML
image:
|
|
repository: ghcr.io/linuxserver/bookstack
|
|
pullPolicy: IfNotPresent
|
|
tag: 24.02.20240304@sha256:439feefce576005d0e9fd2398ba985824ab5ebf80e191cd4e4457190263f0f7a
|
|
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
|