kubespray/contrib/misc/clusteradmin-rbac.yml

16 lines
329 B
YAML
Raw Permalink Normal View History

2019-06-11 14:58:14 +08:00
---
apiVersion: rbac.authorization.k8s.io/v1
2019-06-11 14:58:14 +08:00
kind: ClusterRoleBinding
metadata:
name: kubernetes-dashboard
labels:
k8s-app: kubernetes-dashboard
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: kubernetes-dashboard
namespace: kube-system