custom-hashicorp-vault-helm/templates/vault-rbac-role.yaml
Alan Bridgeman 1912114d63
All checks were successful
Deploy the Helm Chart / build (push) Successful in 12s
Attempted to make the changes and add things that will be needed for the new k8s mode
2026-04-05 15:46:22 -05:00

10 lines
No EOL
288 B
YAML

{{- if and .Values.create.enabled (eq .Values.create.appRole.mode "k8s") -}}
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: {{ include "vault.fullname" . }}-role
rules:
- apiGroups: [""]
resources: ["secrets"]
verbs: ["create", "patch", "get"]
{{- end -}}