Skip to content

Commit e699800

Browse files
authored
fix: allow secret permission if self signed cerfificates are generated (#1040)
Signed-off-by: bakito <github@bakito.ch>
1 parent a204b1d commit e699800

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

charts/capsule-proxy/templates/rbac.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ rules:
1414
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
1515

1616
- apiGroups: [""]
17-
resources: ["configmaps", "endpoints"]
17+
resources: ["configmaps", "endpoints"{{ if and .Values.options.enableSSL .Values.options.generateCertificates }}, "secrets"{{ end }}]
1818
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
1919
---
2020
apiVersion: rbac.authorization.k8s.io/v1

0 commit comments

Comments
 (0)