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
10
templates/vault-rbac-role.yaml
Normal file
10
templates/vault-rbac-role.yaml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{{- 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 -}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue