diff --git a/cluster/apps/authentication/authelia/kustomization.yaml b/cluster/apps/authentication/authelia/kustomization.yaml index 7acebf563..4ae05b305 100644 --- a/cluster/apps/authentication/authelia/kustomization.yaml +++ b/cluster/apps/authentication/authelia/kustomization.yaml @@ -8,7 +8,7 @@ resources: - service-monitor.yaml patchesStrategicMerge: - patches/env.yaml - #- patches/postgres.yaml + - patches/postgres.yaml configMapGenerator: - name: authelia files: diff --git a/cluster/apps/authentication/authelia/patches/postgres.yaml b/cluster/apps/authentication/authelia/patches/postgres.yaml index f8b4c8725..768f1091e 100644 --- a/cluster/apps/authentication/authelia/patches/postgres.yaml +++ b/cluster/apps/authentication/authelia/patches/postgres.yaml @@ -11,7 +11,7 @@ spec: image: ghcr.io/onedr0p/postgres-initdb:14.5 env: - name: POSTGRES_HOST - value: postgres.${SECRET_DOMAIN} + value: postgres-rw.default.svc.cluster.local - name: POSTGRES_DB value: authelia - name: POSTGRES_SUPER_PASS