File tree Expand file tree Collapse file tree
deploy/helm/kafka-operator/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,6 +41,15 @@ rules:
4141 - list
4242 - patch
4343 - watch
44+ # Required to bind the product ClusterRole to the per-cluster ServiceAccount.
45+ - apiGroups :
46+ - rbac.authorization.k8s.io
47+ resources :
48+ - clusterroles
49+ verbs :
50+ - bind
51+ resourceNames :
52+ - {{ include "operator.name" . }}-clusterrole
4453 # StatefulSet created per role group (broker, KRaft controller). Applied via
4554 # SSA, tracked for orphan cleanup, and owned by the controller.
4655 - apiGroups :
@@ -124,15 +133,6 @@ rules:
124133 - list
125134 - patch
126135 - watch
127- # Required to bind the product ClusterRole to the per-cluster ServiceAccount.
128- - apiGroups :
129- - rbac.authorization.k8s.io
130- resources :
131- - clusterroles
132- verbs :
133- - bind
134- resourceNames :
135- - {{ include "operator.name" . }}-clusterrole
136136---
137137# Product ClusterRole: bound (via per KafkaCluster RoleBinding) to the ServiceAccount that Kafka
138138# workload pods (brokers, KRaft controllers) run as.
You can’t perform that action at this time.
0 commit comments