Skip to content

Commit dfb2b29

Browse files
mprahlopenshift-ci[bot]
authored andcommitted
Add permission for the policy-encryption-key secret in hosted mode
Relates: https://github.com/stolostron/backlog/issues/24900 Signed-off-by: mprahl <[email protected]>
1 parent 5e04f49 commit dfb2b29

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,16 @@ rules:
5656
- get
5757
- patch
5858
- update
59+
- apiGroups:
60+
- ""
61+
resourceNames:
62+
- policy-encryption-key
63+
resources:
64+
- secrets
65+
verbs:
66+
- get
67+
- list
68+
- watch
5969
{{- else }}
6070
- apiGroups:
6171
- '*'

0 commit comments

Comments
 (0)