File tree Expand file tree Collapse file tree
deploy/helm/opa-operator/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,6 +52,15 @@ rules:
5252 - get
5353 - list
5454 - patch
55+ # Required to bind the product ClusterRole to the per-cluster ServiceAccount.
56+ - apiGroups :
57+ - rbac.authorization.k8s.io
58+ resources :
59+ - clusterroles
60+ verbs :
61+ - bind
62+ resourceNames :
63+ - {{ include "operator.name" . }}-clusterrole
5564 # DaemonSet created per role group. Applied via SSA, tracked for orphan cleanup, and
5665 # owned by the controller.
5766 - apiGroups :
@@ -103,15 +112,6 @@ rules:
103112 - {{ include "operator.name" . }}clusters/status
104113 verbs :
105114 - patch
106- # Required to bind the product ClusterRole to the per-cluster ServiceAccount.
107- - apiGroups :
108- - rbac.authorization.k8s.io
109- resources :
110- - clusterroles
111- verbs :
112- - bind
113- resourceNames :
114- - {{ include "operator.name" . }}-clusterrole
115115
116116---
117117apiVersion : rbac.authorization.k8s.io/v1
You can’t perform that action at this time.
0 commit comments