2021-10-19 12:20:06 +00:00
|
|
|
image:
|
2021-12-08 12:41:13 +00:00
|
|
|
repository: tccr.io/truecharts/wikijs
|
2022-10-31 08:03:23 +00:00
|
|
|
tag: 2.5.290@sha256:fdfa508187c0621a4244bbc7df9d466a5454ccc7a1065e615b8b45bba1265521
|
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
|