Skip to content

Commit a449aad

Browse files
committed
Add PodDisruptionBudget permissions to cluster-olm-operator
The cluster-olm-operator needs permissions to manage PodDisruptionBudgets as they are now part of the static operand assets for catalogd and operator-controller to ensure high availability during upgrades. This change adds the necessary RBAC permissions for the policy API group to create, update, patch, get, list, watch, and delete poddisruptionbudgets. Fixes: openshift/operator-framework-operator-controller#568
1 parent 050f9d2 commit a449aad

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

manifests/0000_51_olm_02_operator_clusterrole.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,3 +297,15 @@ rules:
297297
- list
298298
- watch
299299
- delete
300+
- apiGroups:
301+
- policy
302+
resources:
303+
- poddisruptionbudgets
304+
verbs:
305+
- create
306+
- update
307+
- patch
308+
- get
309+
- list
310+
- watch
311+
- delete

0 commit comments

Comments
 (0)