Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame^] | 1 | |
| 2 | apiVersion: rbac.authorization.k8s.io/v1beta1 |
| 3 | kind: ClusterRoleBinding |
| 4 | metadata: |
| 5 | name: {{ include "common.fullname" . }} |
| 6 | namespace: {{ include "common.namespace" . }} |
| 7 | labels: |
| 8 | app: {{ include "common.name" . }} |
| 9 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 10 | release: {{ .Release.Name }} |
| 11 | heritage: {{ .Release.Service }} |
| 12 | roleRef: |
| 13 | apiGroup: rbac.authorization.k8s.io |
| 14 | kind: ClusterRole |
| 15 | name: cluster-admin |
| 16 | subjects: |
| 17 | - kind: ServiceAccount |
| 18 | name: default |
| 19 | namespace: {{ include "common.namespace" . }} |