Skip to content

Commit

Permalink
chart/helm: stricter default rbac for secrets (bank-vaults#1299)
Browse files Browse the repository at this point in the history
Signed-off-by: Nandor Kracser <[email protected]>
  • Loading branch information
bonifaido authored Apr 21, 2021
1 parent 1081a3b commit 53abecd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/vault/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: vault
version: 1.11.8
version: 1.11.9
appVersion: 1.11.3
description: A Helm chart for Vault, a tool for managing secrets
home: https://www.vaultproject.io/
Expand Down
5 changes: 5 additions & 0 deletions charts/vault/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ metadata:
rules:
- apiGroups: [""]
resources: ["secrets"]
resourceNames: ["bank-vaults"]
verbs: ["*"]
- apiGroups: [""]
resources: ["secrets"]
resourceNames: [""]
verbs: ["create"]
{{- end }}
{{- if .Values.rbac.psp.enabled }}
- apiGroups: ["extensions"]
Expand Down

0 comments on commit 53abecd

Please sign in to comment.