From 089c125fa3e5faefc3b52e2f77a9090bb737c33e Mon Sep 17 00:00:00 2001 From: Kochetkov S Date: Tue, 14 Jul 2026 16:17:43 +0300 Subject: [PATCH] ++ fix postgresql namespace for zitadel --- .../d8-ugmk-prod/infrastructure/kustomization.yaml | 10 ++++++++++ .../infrastructure/patches/postgresql.yaml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/clusters/d8-ugmk-prod/infrastructure/kustomization.yaml b/clusters/d8-ugmk-prod/infrastructure/kustomization.yaml index 9b38ba7..465f11d 100644 --- a/clusters/d8-ugmk-prod/infrastructure/kustomization.yaml +++ b/clusters/d8-ugmk-prod/infrastructure/kustomization.yaml @@ -63,6 +63,16 @@ patches: kind: HelmRelease name: postgresql namespace: postgresql + - patch: |- + - op: replace + path: /metadata/namespace + value: zitadel + target: + group: helm.toolkit.fluxcd.io + version: v2 + kind: HelmRelease + name: postgresql + namespace: postgresql - path: ./patches/postgresql-namespace-delete.yaml target: version: v1 diff --git a/clusters/d8-ugmk-prod/infrastructure/patches/postgresql.yaml b/clusters/d8-ugmk-prod/infrastructure/patches/postgresql.yaml index 672d284..07b4ce0 100644 --- a/clusters/d8-ugmk-prod/infrastructure/patches/postgresql.yaml +++ b/clusters/d8-ugmk-prod/infrastructure/patches/postgresql.yaml @@ -2,7 +2,7 @@ apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: postgresql - namespace: zitadel + namespace: postgresql spec: interval: 5m timeout: 2h