kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: name: {{ .Release.Name }}-controller labels: app: {{ .Release.Name }}-controller component: {{ .Release.Name }}-controller release: {{ .Release.Name }} subjects: - kind: ServiceAccount name: {{ .Release.Name }}-controller namespace: {{ .Release.Namespace }} roleRef: kind: ClusterRole name: {{ .Release.Name }}-controller apiGroup: rbac.authorization.k8s.io