Grant service account read-only access to controllers

For image automation to use a service account to authenticate to container registries, the controllers needs read-only access to service accounts.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
pull/2701/head
Stefan Prodan 3 years ago
parent 4dd20af7e0
commit 5dee903374
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF

@ -23,6 +23,8 @@ rules:
resources:
- namespaces
- secrets
- configmaps
- serviceaccounts
verbs:
- get
- list
@ -34,19 +36,6 @@ rules:
verbs:
- create
- patch
- apiGroups:
- ""
resources:
- configmaps
- configmaps/status
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- "coordination.k8s.io"
resources:

Loading…
Cancel
Save