From d77637698582ecc75bbb57f38c71063f7577d729 Mon Sep 17 00:00:00 2001 From: aalexand Date: Wed, 1 Nov 2023 11:58:54 +0200 Subject: [PATCH] Add extraRBAC to helm values --- .../templates/clusterrole.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/charts/cluster-registry-client/templates/clusterrole.yaml b/charts/cluster-registry-client/templates/clusterrole.yaml index 5557f644..35e74f9b 100644 --- a/charts/cluster-registry-client/templates/clusterrole.yaml +++ b/charts/cluster-registry-client/templates/clusterrole.yaml @@ -57,3 +57,14 @@ rules: - get - patch - update + - apiGroups: + - "" + resources: + - namespaces + verbs: + - get + - watch + - list + {{- with .Values.extraRBAC }} + {{- toYaml . | nindent 2 }} + {{- end }}