2019-04-24 21:52:08 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: ServiceAccount
|
|
|
|
metadata:
|
|
|
|
name: admin-user
|
|
|
|
namespace: kubernetes-dashboard
|
2021-04-10 20:51:00 +00:00
|
|
|
...
|
2019-04-24 21:52:08 +00:00
|
|
|
---
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
kind: ClusterRoleBinding
|
|
|
|
metadata:
|
|
|
|
name: admin-user
|
|
|
|
roleRef:
|
|
|
|
apiGroup: rbac.authorization.k8s.io
|
|
|
|
kind: ClusterRole
|
|
|
|
name: cluster-admin
|
|
|
|
subjects:
|
2021-04-10 20:51:00 +00:00
|
|
|
- kind: ServiceAccount
|
|
|
|
name: admin-user
|
|
|
|
namespace: kubernetes-dashboard
|
|
|
|
...
|