2021-01-09 17:54:42 +00:00
|
|
|
wikijs_enabled: true
|
|
|
|
wikijs_publish: false
|
2023-06-10 03:20:10 +00:00
|
|
|
wikijs_chart_ref: "ghp/wikijs"
|
2021-01-09 17:54:42 +00:00
|
|
|
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
|
2022-07-31 03:28:07 +00:00
|
|
|
className: "{{ external_ingress_class if wikijs_publish else internal_ingress_class }}"
|
|
|
|
annotations:
|
2021-01-09 17:54:42 +00:00
|
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
2022-07-31 03:28:07 +00:00
|
|
|
kubernetes.io/tls-acme: "true"
|
|
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
|
|
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
|
|
|
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
|
2021-01-09 17:54:42 +00:00
|
|
|
hosts:
|
2021-01-25 18:04:57 +00:00
|
|
|
- host: "{{ wikijs_short_name }}.{{ domain }}"
|
2022-07-31 03:28:07 +00:00
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: ImplementationSpecific
|
2021-01-09 17:54:42 +00:00
|
|
|
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"
|
2021-01-30 18:29:43 +00:00
|
|
|
postgresqlUsername: "{{ wikijs_db_username | default(omit) }}"
|
2021-01-09 17:54:42 +00:00
|
|
|
postgresqlPassword: "{{ wikijs_db_password | default(omit) }}"
|
2021-12-30 09:55:12 +00:00
|
|
|
postgresqlDatabase: "{{ wikijs_db_name | default('wikijs') }}"
|
2021-01-09 17:54:42 +00:00
|
|
|
|
|
|
|
wikijs_readonly_ingress_definition: |
|
2022-07-31 03:28:07 +00:00
|
|
|
apiVersion: networking.k8s.io/v1
|
2021-01-09 17:54:42 +00:00
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
|
|
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:
|
2022-07-31 03:28:07 +00:00
|
|
|
ingressClassName: "{{ external_ingress_class }}"
|
2021-01-09 17:54:42 +00:00
|
|
|
rules:
|
|
|
|
- host: "{{ wikijs_readonly_ingress }}"
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- backend:
|
2022-07-31 03:28:07 +00:00
|
|
|
service:
|
|
|
|
name: wikijs
|
|
|
|
port:
|
|
|
|
number: 80
|
2021-01-09 17:54:42 +00:00
|
|
|
path: /
|
2022-07-31 03:28:07 +00:00
|
|
|
pathType: ImplementationSpecific
|
2021-01-09 17:54:42 +00:00
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- "{{ wikijs_readonly_ingress }}"
|
|
|
|
secretName: "{{ wikijs_readonly_ingress }}-tls"
|
|
|
|
|
2022-07-31 03:28:07 +00:00
|
|
|
|