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 | ||||
6 | namespace: kube-system | ||||
7 | --- | ||||
8 | apiVersion: rbac.authorization.k8s.io/v1beta1 | ||||
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 | ||||
19 | namespace: kube-system |