49 lines
1021 B
YAML
49 lines
1021 B
YAML
image:
|
|
repository: tccr.io/truecharts/wikijs
|
|
tag: v2.5.285@sha256:13f812813e2da3b6da394aaeda009863b18c5a5160e36bd5bc372e342b149e9f
|
|
pullPolicy: IfNotPresent
|
|
|
|
env:
|
|
DB_TYPE: "postgres"
|
|
DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
DB_PORT: "5432"
|
|
DB_PASS:
|
|
secretKeyRef:
|
|
name: dbcreds
|
|
key: postgresql-password
|
|
DB_HOST:
|
|
secretKeyRef:
|
|
name: dbcreds
|
|
key: plainhost
|
|
|
|
probes:
|
|
liveness:
|
|
path: "/healthz"
|
|
readiness:
|
|
path: "/healthz"
|
|
startup:
|
|
path: "/healthz"
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10045
|
|
targetPort: 3000
|
|
|
|
postgresql:
|
|
enabled: true
|
|
existingSecret: "dbcreds"
|
|
postgresqlUsername: wikijs
|
|
postgresqlDatabase: wikijs
|
|
|
|
|
|
# /wiki/data is a temporary dir. Without mounting as emptyDir it's only writable by root.
|
|
# https://docs.requarks.io/en/install/config#data-paths
|
|
persistence:
|
|
wikicache:
|
|
enabled: true
|
|
mountPath: "/wiki/data/"
|
|
type: emptyDir
|