From b150f814a84eca9cf04ddb8d1f7b002a686f6942 Mon Sep 17 00:00:00 2001 From: Kenta Kozuka Date: Wed, 2 Feb 2022 13:03:15 +0900 Subject: [PATCH] Issue 430: remove namespace from non-namespaced resources (#431) Signed-off-by: Kenta Kozuka --- charts/zookeeper-operator/templates/clusterrole.yaml | 1 - charts/zookeeper-operator/templates/clusterrolebinding.yaml | 1 - 2 files changed, 2 deletions(-) diff --git a/charts/zookeeper-operator/templates/clusterrole.yaml b/charts/zookeeper-operator/templates/clusterrole.yaml index fa6e3ea31..7220b412c 100644 --- a/charts/zookeeper-operator/templates/clusterrole.yaml +++ b/charts/zookeeper-operator/templates/clusterrole.yaml @@ -3,7 +3,6 @@ kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: name: {{ template "zookeeper-operator.fullname" . }} - namespace: {{ .Release.Namespace }} labels: {{ include "zookeeper-operator.commonLabels" . | indent 4 }} rules: diff --git a/charts/zookeeper-operator/templates/clusterrolebinding.yaml b/charts/zookeeper-operator/templates/clusterrolebinding.yaml index 1db94360f..7ce9e7707 100644 --- a/charts/zookeeper-operator/templates/clusterrolebinding.yaml +++ b/charts/zookeeper-operator/templates/clusterrolebinding.yaml @@ -3,7 +3,6 @@ kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: name: {{ template "zookeeper-operator.fullname" . }} - namespace: {{ .Release.Namespace }} labels: {{ include "zookeeper-operator.commonLabels" . | indent 4 }} subjects: