Update VK AKS chart to have RBAC. RBAC default = true

This commit is contained in:
Jeremy Rickard
2018-07-30 13:51:07 -06:00
parent ef6ae9ecf4
commit c3cb96d4d1
7 changed files with 32 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
{{ if .Values.rbac.install }}
apiVersion: "rbac.authorization.k8s.io/{{ .Values.rbac.apiVersion }}"
kind: ClusterRoleBinding
metadata:
name: {{ template "fullname" . }}
subjects:
- kind: ServiceAccount
name: {{ template "fullname" . }}
namespace: {{ .Release.Namespace }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ .Values.rbac.roleRef }}
{{ end }}