custom-hashicorp-vault-helm/templates/vault-rbac-role-binding.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

13 lines
No EOL
393 B
YAML

{{- if and .Values.create.enabled (eq .Values.create.appRole.mode "k8s") -}}
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: {{ include "vault.fullname" . }}-binding
subjects:
- kind: ServiceAccount
name: {{ include "vault.fullname" . }}-sa
roleRef:
kind: Role
name: {{ include "vault.fullname" . }}-role
apiGroup: rbac.authorization.k8s.io
{{- end -}}