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
All checks were successful
Deploy the Helm Chart / build (push) Successful in 12s
This commit is contained in:
parent
9e288e7404
commit
1912114d63
6 changed files with 65 additions and 15 deletions
13
templates/vault-rbac-role-binding.yaml
Normal file
13
templates/vault-rbac-role-binding.yaml
Normal 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 -}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue