2021-01-09 17:54:42 +00:00
|
|
|
wikijs_enabled: true
|
|
|
|
wikijs_publish: false
|
|
|
|
wikijs_use_external_db: true
|
2021-01-25 18:04:57 +00:00
|
|
|
wikijs_short_name: "wikijs"
|
2021-01-09 17:54:42 +00:00
|
|
|
wikijs_default_values:
|
|
|
|
fullnameOverride: "wikijs"
|
|
|
|
ingress:
|
|
|
|
enabled: true
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
|
|
|
cert-manager.io/acme-dns01-provider: "rfc2136"
|
|
|
|
cert-manager.io/acme-challenge-type: "dns01"
|
|
|
|
kubernetes.io/ingress.class: "{{ external_ingress_class if wikijs_publish else internal_ingress_class }}"
|
|
|
|
hosts:
|
2021-01-25 18:04:57 +00:00
|
|
|
- host: "{{ wikijs_short_name }}.{{ domain }}"
|
2021-01-09 17:54:42 +00:00
|
|
|
paths: ["/"]
|
|
|
|
tls:
|
2021-01-25 18:04:57 +00:00
|
|
|
- secretName: "{{ wikijs_short_name }}.{{ domain }}-tls"
|
2021-01-09 17:54:42 +00:00
|
|
|
hosts:
|
2021-01-25 18:04:57 +00:00
|
|
|
- "{{ wikijs_short_name }}.{{ domain }}"
|
2021-01-09 17:54:42 +00:00
|
|
|
postgresql:
|
|
|
|
enabled: false
|
|
|
|
ssl: false
|
|
|
|
postgresqlHost: "{{ postgres_db_team | default(namespace) }}-postgres.{{ postgres_db_namespace | default(namespace) }}.svc.cluster.local"
|
|
|
|
postgresqlUser: "{{ wikijs_db_username | default(omit) }}"
|
|
|
|
postgresqlPassword: "{{ wikijs_db_password | default(omit) }}"
|
|
|
|
postgresqlDatabase: wikijs
|
|
|
|
|
|
|
|
wikijs_readonly_ingress_definition: |
|
|
|
|
apiVersion: extensions/v1beta1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/acme-challenge-type: dns01
|
|
|
|
cert-manager.io/acme-dns01-provider: rfc2136
|
|
|
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
|
|
kubernetes.io/ingress.class: "{{ external_ingress_class }}"
|
|
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
|
|
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
|
|
|
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
|
|
|
|
name: wikijs-public
|
|
|
|
namespace: "{{ wikijs_namespace | default(namespace) }}"
|
|
|
|
spec:
|
|
|
|
rules:
|
|
|
|
- host: "{{ wikijs_readonly_ingress }}"
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- backend:
|
|
|
|
serviceName: wikijs
|
|
|
|
servicePort: 80
|
|
|
|
path: /
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- "{{ wikijs_readonly_ingress }}"
|
|
|
|
secretName: "{{ wikijs_readonly_ingress }}-tls"
|
|
|
|
|