Skip to content

Commit bda8f42

Browse files
mprahlopenshift-merge-robot
authored andcommitted
Grant the hosted mode SA access to manage the the deployment
It needs access to get and update finalizers on the deployment depending on if pruneObjectBehavior is set. Relates: https://issues.redhat.com/browse/ACM-2923 Signed-off-by: mprahl <[email protected]>
1 parent f59d858 commit bda8f42

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pkg/addon/configpolicy/manifests/managedclusterchart/templates/cluster_role.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,18 @@ rules:
3131
- patch
3232
- update
3333
- watch
34+
- apiGroups:
35+
- apps
36+
resources:
37+
- deployments
38+
verbs:
39+
- get
40+
- list
41+
- patch
42+
- update
43+
- watch
44+
resourceNames:
45+
- {{ include "controller.fullname" . }}
3446
- apiGroups:
3547
- ""
3648
resources:

0 commit comments

Comments
 (0)