2021-10-19 12:20:06 +00:00
|
|
|
image:
|
2021-12-08 12:41:13 +00:00
|
|
|
repository: tccr.io/truecharts/wikijs
|
2022-12-12 06:25:38 +00:00
|
|
|
tag: 2.5.294@sha256:16c6149346aa51452cfe26a38b49726045c8ff273156bcd367eb76d320409d63
|
2021-10-19 12:20:06 +00:00
|
|
|
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
|
|
|
|
|
2022-03-08 20:43:02 +00:00
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
path: "/healthz"
|
|
|
|
readiness:
|
|
|
|
path: "/healthz"
|
|
|
|
startup:
|
|
|
|
path: "/healthz"
|
|
|
|
|
2021-10-19 12:20:06 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
2021-11-28 09:26:31 +00:00
|
|
|
port: 10045
|
2021-11-06 21:55:18 +00:00
|
|
|
targetPort: 3000
|
2021-10-19 12:20:06 +00:00
|
|
|
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: wikijs
|
|
|
|
postgresqlDatabase: wikijs
|
2022-03-08 20:43:02 +00:00
|
|
|
|
|
|
|
# /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
|
2022-08-08 21:25:02 +00:00
|
|
|
|
|
|
|
portal:
|
|
|
|
enabled: true
|