diff --git a/clusters/yc-k8s-test/infrastructure/patches/zitadel.yaml b/clusters/yc-k8s-test/infrastructure/patches/zitadel.yaml index 89fcbdb..3d73879 100644 --- a/clusters/yc-k8s-test/infrastructure/patches/zitadel.yaml +++ b/clusters/yc-k8s-test/infrastructure/patches/zitadel.yaml @@ -8,16 +8,46 @@ spec: timeout: 10m values: zitadel: - configmapConfig: + configmapConfig: ExternalDomain: login.contour.infra.sarex.tech - login: - env: + login: + env: - name: ZITADEL_DATABASE_POSTGRES_HOST value: "postgresql.postgresql.svc.cluster.local" - name: ZITADEL_DATABASE_POSTGRES_PORT value: "5432" + - name: ZITADEL_DATABASE_POSTGRES_USER_PASSWORD + valueFrom: + secretKeyRef: + name: postgresql-contour-zitadel-credentials + key: password + - name: ZITADEL_DATABASE_POSTGRES_ADMIN_PASSWORD + valueFrom: + secretKeyRef: + name: postgresql-contour-zitadel-credentials + key: password + - name: ZITADEL_DEFAULTINSTANCE_ORG_HUMAN_PASSWORD + valueFrom: + secretKeyRef: + name: postgresql-contour-zitadel-credentials + key: password env: - name: ZITADEL_DATABASE_POSTGRES_HOST value: "postgresql.postgresql.svc.cluster.local" - name: ZITADEL_DATABASE_POSTGRES_PORT - value: "5432" + value: "5432" + - name: ZITADEL_DATABASE_POSTGRES_USER_PASSWORD + valueFrom: + secretKeyRef: + name: postgresql-contour-zitadel-credentials + key: password + - name: ZITADEL_DATABASE_POSTGRES_ADMIN_PASSWORD + valueFrom: + secretKeyRef: + name: postgresql-contour-zitadel-credentials + key: password + - name: ZITADEL_DEFAULTINSTANCE_ORG_HUMAN_PASSWORD + valueFrom: + secretKeyRef: + name: postgresql-contour-zitadel-credentials + key: password diff --git a/infrastructure/zitadel/base/helmrelease.yaml b/infrastructure/zitadel/base/helmrelease.yaml index 2318f21..66c01cd 100644 --- a/infrastructure/zitadel/base/helmrelease.yaml +++ b/infrastructure/zitadel/base/helmrelease.yaml @@ -8,7 +8,7 @@ spec: chart: spec: chart: idp-contour - version: "4.12.3" + version: "4.12.2" sourceRef: kind: HelmRepository name: yc-oci-charts