Skip to content

Commit

Permalink
Fixes #75 (#76)
Browse files Browse the repository at this point in the history
* Apply #59 when rbac.clusterRole is false

* Fixes #75
  • Loading branch information
u8sand committed Apr 28, 2022
1 parent e42b1a8 commit b6aa929
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions deploy/helm-chart/kubernetes-secret-generator/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,22 @@ rules:
- ""
resources:
- secrets
verbs:
- get
- create
- list
- watch
- update
# Permissions to access CRDs in this namespace if no cluster role is created.
- apiGroups:
- secretgenerator.mittwald.de
resources:
- basicauths
- basicauths/status
- sshkeypairs
- sshkeypairs/status
- stringsecrets
- stringsecrets/status
verbs:
- get
- list
Expand Down Expand Up @@ -92,6 +108,22 @@ rules:
- ""
resources:
- secrets
verbs:
- get
- create
- list
- watch
- update
# Permissions to access CRDs in this namespace if no cluster role is created.
- apiGroups:
- secretgenerator.mittwald.de
resources:
- basicauths
- basicauths/status
- sshkeypairs
- sshkeypairs/status
- stringsecrets
- stringsecrets/status
verbs:
- get
- list
Expand Down

0 comments on commit b6aa929

Please sign in to comment.