Petr Ospalý | 67acfb5 | 2019-04-20 05:25:23 +0200 | [diff] [blame] | 1 | --- |
| 2 | apiVersion: v1 |
| 3 | kind: ServiceAccount |
| 4 | metadata: |
| 5 | name: admin-user |
Tomáš Levora | 3950556 | 2019-10-03 13:31:54 +0200 | [diff] [blame^] | 6 | namespace: kubernetes-dashboard |
Petr Ospalý | 67acfb5 | 2019-04-20 05:25:23 +0200 | [diff] [blame] | 7 | --- |
Tomáš Levora | 3950556 | 2019-10-03 13:31:54 +0200 | [diff] [blame^] | 8 | apiVersion: rbac.authorization.k8s.io/v1 |
Petr Ospalý | 67acfb5 | 2019-04-20 05:25:23 +0200 | [diff] [blame] | 9 | kind: ClusterRoleBinding |
| 10 | metadata: |
| 11 | name: admin-user |
| 12 | roleRef: |
| 13 | apiGroup: rbac.authorization.k8s.io |
| 14 | kind: ClusterRole |
| 15 | name: cluster-admin |
| 16 | subjects: |
| 17 | - kind: ServiceAccount |
| 18 | name: admin-user |
Tomáš Levora | 3950556 | 2019-10-03 13:31:54 +0200 | [diff] [blame^] | 19 | namespace: kubernetes-dashboard |