blob: b2bdc72549d107dd5c401582fd320ebf04d58544 [file] [log] [blame]
Mike Elliottd32d36e2018-02-12 15:54:03 -05001apiVersion: rbac.authorization.k8s.io/v1beta1
2kind: ClusterRoleBinding
3metadata:
Mandeep Khindaa57d8dd2018-03-09 14:29:37 +00004 name: {{ include "common.namespace" . }}-binding
Mike Elliottd32d36e2018-02-12 15:54:03 -05005 namespace: {{ include "common.namespace" . }}
6 labels:
7 app: {{ include "common.name" . }}
8 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
9 release: {{ .Release.Name }}
10 heritage: {{ .Release.Service }}
11roleRef:
12 apiGroup: rbac.authorization.k8s.io
13 kind: ClusterRole
14 name: cluster-admin
15subjects:
16 - kind: ServiceAccount
17 name: default
18 namespace: {{ include "common.namespace" . }}