51 lines
1.1 KiB
YAML
51 lines
1.1 KiB
YAML
image:
|
|
# -- image repository
|
|
repository: tccr.io/truecharts/wikijs
|
|
# -- image tag
|
|
tag: v2.5.274@sha256:0e7dbe27ba2cebe9c193f172c642fc84af0cad79b5901eaccf2c19d217c3d3f7
|
|
# -- image pull policy
|
|
pullPolicy: IfNotPresent
|
|
|
|
securityContext:
|
|
readOnlyRootFilesystem: false
|
|
runAsNonRoot: false
|
|
|
|
podSecurityContext:
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
|
|
# -- environment variables. See [image docs](https://docs.linuxserver.io/images/docker-wikijs#environment-variables-e) for more details.
|
|
# @default -- See below
|
|
env:
|
|
# -- Set the container timezone
|
|
DB_TYPE: "postgres"
|
|
DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
DB_PORT: "5432"
|
|
|
|
envValueFrom:
|
|
DB_PASS:
|
|
secretKeyRef:
|
|
name: dbcreds
|
|
key: postgresql-password
|
|
DB_HOST:
|
|
secretKeyRef:
|
|
name: dbcreds
|
|
key: plainhost
|
|
|
|
# -- Configures service settings for the chart.
|
|
# @default -- See values.yaml
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10045
|
|
targetPort: 3000
|
|
|
|
# Enabled postgres
|
|
postgresql:
|
|
enabled: true
|
|
existingSecret: "dbcreds"
|
|
postgresqlUsername: wikijs
|
|
postgresqlDatabase: wikijs
|