k8s-deployment/values/badhouseplants/values.wikijs.yaml

48 lines
1.3 KiB
YAML

---
ext-database:
enabled: true
name: wikijs-postgres16
instance: postgres16
credentials:
DATABASE_DATASOURCE: "postgres://{{ .Username }}:{{ .Password }}@{{ .Hostname }}:{{ .Port }}/{{ .Database }}?sslmode=disable"
volumeMounts:
- name: postgres-creds
readOnly: true
mountPath: "/etc/postgres/connection_string"
subPath: DATABASE_DATASOURCE
volumes:
- name: postgres-creds
secret:
secretName: wikijs-postgres16-creds
#externalPostgresql:
# databaseURL: $(cat /etc/postgres/connection_string)
ingress:
enabled: true
className: traefik
annotations:
kubernetes.io/tls-acme: "true"
kubernetes.io/ingress.allow-http: "false"
cert-manager.io/cluster-issuer: badhouseplants-issuer-http01
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
hosts:
- host: wikijs.badhouseplants.net
paths:
- path: "/"
pathType: Prefix
tls:
- secretName: wikijs.badhouseplants.net
hosts:
- wikijs.badhouseplants.net
postgresql:
enabled: false
postgresqlHost: postgres16-postgresql.databases.svc.cluster.local
postgresqlPort: 5432
postgresqlUser: applications-wikijs-postgres16
postgresqlDatabase: applications-wikijs-postgres16
existingSecret: wikijs-postgres16-creds
existingSecretKey: POSTGRES_PASSWORD