We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05107fd commit a8ee55bCopy full SHA for a8ee55b
rbac-namespace-default/events-watcher.yml
@@ -0,0 +1,26 @@
1
+# For kubectl get node, required for kafka init container rack awareness
2
+---
3
+kind: ClusterRole
4
+apiVersion: rbac.authorization.k8s.io/v1beta1
5
+metadata:
6
+ name: events-watcher
7
+rules:
8
+- apiGroups:
9
+ - ""
10
+ resources:
11
+ - events
12
+ verbs:
13
+ - watch
14
15
+kind: ClusterRoleBinding
16
17
18
+ name: kafka-events-watcher
19
+roleRef:
20
+ apiGroup: rbac.authorization.k8s.io
21
+ kind: ClusterRole
22
23
+subjects:
24
+- kind: ServiceAccount
25
+ name: default
26
+ namespace: kafka
0 commit comments