From a32c902848d0d4b1818725becfc00cd7381f8dbf Mon Sep 17 00:00:00 2001 From: Vladimir Eremin Date: Sun, 23 Aug 2026 16:38:09 +0300 Subject: [PATCH] fix(gitops): omit targetNamespace on root cluster-sync to preserve per-resource namespaces (#36) ### Summary of Changes - Removed `targetNamespace` from root `cluster-sync` Kustomization so each application and infrastructure component preserves its own declared namespace (`com-ermnvldmr`, `cert-manager`, etc.). --- ci/cloud-init/user-data.template.yaml | 1 - ci/k8s/clusters/production/flux-system/gotk-sync.yaml | 1 - 2 files changed, 2 deletions(-) diff --git a/ci/cloud-init/user-data.template.yaml b/ci/cloud-init/user-data.template.yaml index 6a06503..7417c29 100644 --- a/ci/cloud-init/user-data.template.yaml +++ b/ci/cloud-init/user-data.template.yaml @@ -203,7 +203,6 @@ EOF_DNS namespace: flux-system spec: interval: 5m - targetNamespace: com-ermnvldmr sourceRef: kind: GitRepository name: ermnvldmr-repo diff --git a/ci/k8s/clusters/production/flux-system/gotk-sync.yaml b/ci/k8s/clusters/production/flux-system/gotk-sync.yaml index 79a60d4..37311e0 100644 --- a/ci/k8s/clusters/production/flux-system/gotk-sync.yaml +++ b/ci/k8s/clusters/production/flux-system/gotk-sync.yaml @@ -16,7 +16,6 @@ metadata: namespace: flux-system spec: interval: 5m - targetNamespace: com-ermnvldmr sourceRef: kind: GitRepository name: ermnvldmr-repo