Attempted to make the changes and add things that will be needed for the new k8s mode
All checks were successful
Deploy the Helm Chart / build (push) Successful in 12s

This commit is contained in:
Alan Bridgeman 2026-04-05 15:46:22 -05:00
parent 9e288e7404
commit 1912114d63
6 changed files with 65 additions and 15 deletions

View file

@ -0,0 +1,13 @@
{{- 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 -}}