mirror of
https://github.com/external-secrets/external-secrets.git
synced 2024-12-14 11:57:59 +00:00
feat: add RBAC rules for user-facing ClusterRoles (#2286)
Signed-off-by: Matthew Hembree <matthew_hembree@yahoo.com>
This commit is contained in:
parent
99a691f804
commit
6a2a050928
1 changed files with 28 additions and 0 deletions
|
@ -138,6 +138,19 @@ rules:
|
||||||
- "get"
|
- "get"
|
||||||
- "watch"
|
- "watch"
|
||||||
- "list"
|
- "list"
|
||||||
|
- apiGroups:
|
||||||
|
- "generators.external-secrets.io"
|
||||||
|
resources:
|
||||||
|
- "acraccesstokens"
|
||||||
|
- "ecrauthorizationtokens"
|
||||||
|
- "fakes"
|
||||||
|
- "gcraccesstokens"
|
||||||
|
- "passwords"
|
||||||
|
- "vaultdynamicsecrets"
|
||||||
|
verbs:
|
||||||
|
- "get"
|
||||||
|
- "watch"
|
||||||
|
- "list"
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
{{- if and .Values.scopedNamespace .Values.scopedRBAC }}
|
{{- if and .Values.scopedNamespace .Values.scopedRBAC }}
|
||||||
|
@ -168,6 +181,21 @@ rules:
|
||||||
- "deletecollection"
|
- "deletecollection"
|
||||||
- "patch"
|
- "patch"
|
||||||
- "update"
|
- "update"
|
||||||
|
- apiGroups:
|
||||||
|
- "generators.external-secrets.io"
|
||||||
|
resources:
|
||||||
|
- "acraccesstokens"
|
||||||
|
- "ecrauthorizationtokens"
|
||||||
|
- "fakes"
|
||||||
|
- "gcraccesstokens"
|
||||||
|
- "passwords"
|
||||||
|
- "vaultdynamicsecrets"
|
||||||
|
verbs:
|
||||||
|
- "create"
|
||||||
|
- "delete"
|
||||||
|
- "deletecollection"
|
||||||
|
- "patch"
|
||||||
|
- "update"
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
{{- if and .Values.scopedNamespace .Values.scopedRBAC }}
|
{{- if and .Values.scopedNamespace .Values.scopedRBAC }}
|
||||||
|
|
Loading…
Reference in a new issue