Skip to content

Commit

Permalink
Fixes mittwald#75
Browse files Browse the repository at this point in the history
  • Loading branch information
u8sand authored Mar 28, 2022
1 parent a1f86fe commit f256631
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions deploy/helm-chart/kubernetes-secret-generator/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,21 @@ rules:
- 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
- watch
- update
{{- end -}}
{{- else -}}
kind: Role
Expand Down Expand Up @@ -99,6 +114,21 @@ rules:
- 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
- watch
- update
{{- end -}}
{{- end -}}
{{- end -}}

0 comments on commit f256631

Please sign in to comment.