From 334af000d16636377e9aac5ebd928a8309d25c95 Mon Sep 17 00:00:00 2001 From: Samuel Suter Date: Wed, 9 Oct 2019 00:35:27 -0600 Subject: [PATCH] roleRef has no namespace attribute https://github.com/kubernetes/kubernetes/blob/v1.16.0/staging/src/k8s.io/api/rbac/v1/types.go#L91 Applying this yields: ``` ValidationError(RoleBinding.roleRef): unknown field "namespace" in io.k8s.api.rbac.v1.RoleRef ``` --- charts/redis-operator/templates/rbac.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/charts/redis-operator/templates/rbac.yaml b/charts/redis-operator/templates/rbac.yaml index 70d9122..8e3a95d 100644 --- a/charts/redis-operator/templates/rbac.yaml +++ b/charts/redis-operator/templates/rbac.yaml @@ -65,6 +65,5 @@ subjects: roleRef: kind: Role name: {{ include "name" . | quote }} - namespace: {{ .Release.Namespace }} apiGroup: rbac.authorization.k8s.io - \ No newline at end of file +