From 99dc8aaed0864a545f64f8c727c2e118a5341768 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Sun, 15 Aug 2021 01:44:47 +0200
Subject: [PATCH] fix(namespace-configuration): Try to solve accumulating
 namespace

This patch may helps to resolve the "accumulating resources from 'postgres'" error
---
 infrastructure/namespace-configuration/kustomization.yaml | 2 +-
 infrastructure/namespace-configuration/namespace.yaml     | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/infrastructure/namespace-configuration/kustomization.yaml b/infrastructure/namespace-configuration/kustomization.yaml
index d18e9d5e1..9b1683b8c 100644
--- a/infrastructure/namespace-configuration/kustomization.yaml
+++ b/infrastructure/namespace-configuration/kustomization.yaml
@@ -1,6 +1,6 @@
 apiVersion: kustomize.config.k8s.io/v1beta1
 kind: Kustomization
-namespace: zalando-postgres
+namespace: namespace-configuration-operator
 resources:
 - namespace.yaml
 - subscription.yaml
diff --git a/infrastructure/namespace-configuration/namespace.yaml b/infrastructure/namespace-configuration/namespace.yaml
index 72846f8f3..756127dfa 100644
--- a/infrastructure/namespace-configuration/namespace.yaml
+++ b/infrastructure/namespace-configuration/namespace.yaml
@@ -2,3 +2,5 @@ apiVersion: v1
 kind: Namespace
 metadata:
   name: namespace-configuration-operator
+  labels:
+    name: namespace-configuration-operator
-- 
GitLab