Make domains in autheliarules a list and add db-wait-initcontainer to vaultwarden and fireflyiii

This commit is contained in:
kjeld Schouten-Lebbing
2021-09-01 18:38:03 +02:00
parent 87e22f2d88
commit 3b6d315edb
10 changed files with 76 additions and 8 deletions
+15
View File
@@ -21,6 +21,21 @@ service:
env: {}
initContainers:
- name: init-postgresdb
image: postgres:13.1
command:
- "sh"
- "-c"
- "until pg_isready -U authelia -h ${pghost} ; do sleep 2 ; done"
imagePullPolicy: IfNotPresent
env:
- name: pghost
valueFrom:
secretKeyRef:
name: dbcreds
key: plainhost
envTpl:
DOMAIN: "https://{{ if .Values.ingress }}{{ if .Values.ingress.main.enabled }}{{ ( index .Values.ingress.main.hosts 0 ).host }}{{ else }}placeholder.com{{ end }}{{ else }}placeholder.com{{ end }}"