blob: 5d7a55a7312fa8b9506e0f08674793df465344fb [file] [log] [blame]
Petr Ospalý67acfb52019-04-20 05:25:23 +02001---
2apiVersion: v1
3kind: ServiceAccount
4metadata:
5 name: admin-user
Tomáš Levora39505562019-10-03 13:31:54 +02006 namespace: kubernetes-dashboard
Petr Ospalý67acfb52019-04-20 05:25:23 +02007---
Tomáš Levora39505562019-10-03 13:31:54 +02008apiVersion: rbac.authorization.k8s.io/v1
Petr Ospalý67acfb52019-04-20 05:25:23 +02009kind: ClusterRoleBinding
10metadata:
11 name: admin-user
12roleRef:
13 apiGroup: rbac.authorization.k8s.io
14 kind: ClusterRole
15 name: cluster-admin
16subjects:
17- kind: ServiceAccount
18 name: admin-user
Tomáš Levora39505562019-10-03 13:31:54 +020019 namespace: kubernetes-dashboard