Modify machine-api-controller clusterrole for daemonsets
@@ -124,6 +124,7 @@ rules:
verbs:
- create
+# TODO(vikasc): Remove extensions/daemonsets permissions once all controllers have bumped kubernetes-drain
- apiGroups:
- extensions
resources:
@@ -133,6 +134,15 @@ rules:
- list
- watch
+ - apiGroups:
+ - apps
+ resources:
+ - daemonsets
+ verbs:
+ - get
+ - list
+ - watch
+
- apiGroups:
- config.openshift.io
resources:
