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