49 lines
1021 B
YAML
49 lines
1021 B
YAML
image:
|
|
repository: tccr.io/truecharts/wikijs
|
|
tag: v2.5.283@sha256:fc4ee84b1efb69ffcf1bc6f88cb5c3db36822618c1b3f5304e18a2c72ecd6fe7
|
|
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
|