diff --git a/deploy/helm-chart/kubernetes-secret-generator/templates/role.yaml b/deploy/helm-chart/kubernetes-secret-generator/templates/role.yaml index 0c123c5d..3425696c 100644 --- a/deploy/helm-chart/kubernetes-secret-generator/templates/role.yaml +++ b/deploy/helm-chart/kubernetes-secret-generator/templates/role.yaml @@ -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 @@ -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