From 966660b5da489e9993c86c6b1571aeee07732251 Mon Sep 17 00:00:00 2001 From: Sushma Nandigam Date: Mon, 31 Jul 2023 15:09:05 -0400 Subject: [PATCH 1/2] namespace field missing for Deploy manifest --- config/helmchart/templates/manager.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/helmchart/templates/manager.yaml b/config/helmchart/templates/manager.yaml index cf849556..c0aa4f02 100644 --- a/config/helmchart/templates/manager.yaml +++ b/config/helmchart/templates/manager.yaml @@ -4,6 +4,7 @@ metadata: name: {{ include "namespace-configuration-operator.fullname" . }} labels: {{- include "namespace-configuration-operator.labels" . | nindent 4 }} + namespace: {{ include "namespace-configuration-operator.fullname" . }} spec: selector: matchLabels: From 74a1a07ac98e60c87b333af9439cd34eefef1506 Mon Sep 17 00:00:00 2001 From: Sushma Nandigam Date: Mon, 31 Jul 2023 15:30:59 -0400 Subject: [PATCH 2/2] Changed to release namespace --- config/helmchart/templates/manager.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/helmchart/templates/manager.yaml b/config/helmchart/templates/manager.yaml index c0aa4f02..f1131a14 100644 --- a/config/helmchart/templates/manager.yaml +++ b/config/helmchart/templates/manager.yaml @@ -4,7 +4,7 @@ metadata: name: {{ include "namespace-configuration-operator.fullname" . }} labels: {{- include "namespace-configuration-operator.labels" . | nindent 4 }} - namespace: {{ include "namespace-configuration-operator.fullname" . }} + namespace: {{ .Release.Namespace }} spec: selector: matchLabels: