Skip to content

Commit 7ee94b8

Browse files
Modify machine-api-controller clusterrole for daemonsets
1 parent a88871d commit 7ee94b8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

install/0000_30_machine-api-operator_08_rbac.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ rules:
157157
verbs:
158158
- create
159159

160+
# TODO(vikasc): Remove extensions/daemonsets permissions once all controllers have bumped kubernetes-drain
160161
- apiGroups:
161162
- extensions
162163
resources:
@@ -166,6 +167,15 @@ rules:
166167
- list
167168
- watch
168169

170+
- apiGroups:
171+
- apps
172+
resources:
173+
- daemonsets
174+
verbs:
175+
- get
176+
- list
177+
- watch
178+
169179
---
170180
apiVersion: rbac.authorization.k8s.io/v1
171181
kind: ClusterRoleBinding

0 commit comments

Comments
 (0)