From 90a57d0dbc00769a7854a1d73c2f6bd20ac14b7d Mon Sep 17 00:00:00 2001 From: Darren Lau Date: Wed, 12 Oct 2022 15:15:50 -0400 Subject: [PATCH] Add missing rbac for the newly created controllers --- .../templates/operator-rbac.yaml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/charts/kafka-operator/templates/operator-rbac.yaml b/charts/kafka-operator/templates/operator-rbac.yaml index 987d0a9a0..9f1cbc475 100644 --- a/charts/kafka-operator/templates/operator-rbac.yaml +++ b/charts/kafka-operator/templates/operator-rbac.yaml @@ -240,6 +240,33 @@ rules: - patch - update - watch +- apiGroups: + - kafka.banzaicloud.io + resources: + - cruisecontroloperations + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch +- apiGroups: + - kafka.banzaicloud.io + resources: + - cruisecontroloperations/finalizers + verbs: + - update +- apiGroups: + - kafka.banzaicloud.io + resources: + - cruisecontroloperations/status + verbs: + - get + - patch + - update --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding