deploy-templates/charts/vault/templates/crb-for-authdelegator.yaml (12 lines of code) (raw):

apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: role-authdelegator-binding-{{ .Release.Namespace }} roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: system:auth-delegator subjects: - kind: ServiceAccount name: {{ .Release.Name }} namespace: {{ .Release.Namespace }}