kubernetes-yaml/examples/dashboard/dashboard.admin-user-role.yml

13 lines
270 B
YAML
Raw Normal View History

2023-12-15 16:39:01 +08: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:
- kind: ServiceAccount
name: admin-user
namespace: kubernetes-dashboard