Skip to content

Commit 7292b40

Browse files
mprahlopenshift-merge-bot[bot]
authored andcommitted
Add the hosted mode permissions for OperatorPolicy
Relates: https://issues.redhat.com/browse/ACM-11952 Signed-off-by: mprahl <[email protected]>
1 parent fc18f48 commit 7292b40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ rules:
5353
- policy.open-cluster-management.io
5454
resources:
5555
- configurationpolicies
56+
- operatorpolicies
5657
verbs:
5758
- get
5859
- list
@@ -63,6 +64,7 @@ rules:
6364
- policy.open-cluster-management.io
6465
resources:
6566
- configurationpolicies/status
67+
- operatorpolicies/status
6668
verbs:
6769
- get
6870
- patch

0 commit comments

Comments
 (0)