Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 1 | apiVersion: rbac.authorization.k8s.io/v1beta1 |
| 2 | kind: ClusterRoleBinding |
| 3 | metadata: |
Mandeep Khinda | a57d8dd | 2018-03-09 14:29:37 +0000 | [diff] [blame] | 4 | name: {{ include "common.namespace" . }}-binding |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 5 | 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 }} |
| 11 | roleRef: |
| 12 | apiGroup: rbac.authorization.k8s.io |
| 13 | kind: ClusterRole |
| 14 | name: cluster-admin |
| 15 | subjects: |
| 16 | - kind: ServiceAccount |
| 17 | name: default |
| 18 | namespace: {{ include "common.namespace" . }} |