File tree Expand file tree Collapse file tree
pkg/resources/config/rbac Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -193,6 +193,7 @@ rules:
193193 - get
194194 - list
195195 - patch
196+ - watch
196197# Service Accounts (dynamic SA creation)
197198- apiGroups :
198199 - " "
@@ -203,6 +204,7 @@ rules:
203204 - delete
204205 - get
205206 - list
207+ - watch
206208# Required to check if a ServiceAccount can access other namespaces resources
207209- apiGroups :
208210 - authorization.k8s.io
Original file line number Diff line number Diff line change @@ -180,6 +180,17 @@ rules:
180180 verbs :
181181 - get
182182 - list
183+ # Service Accounts (dynamic SA creation)
184+ - apiGroups :
185+ - " "
186+ resources :
187+ - serviceaccounts
188+ verbs :
189+ - create
190+ - delete
191+ - get
192+ - list
193+ - watch
183194# Roles and RoleBindings
184195- apiGroups :
185196 - rbac.authorization.k8s.io
@@ -192,3 +203,4 @@ rules:
192203 - get
193204 - list
194205 - patch
206+ - watch
You can’t perform that action at this time.
0 commit comments