Advertisement
bytewood

kubernetes admin user role binding

Jan 16th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.27 KB | None | 0 0
  1. apiVersion: rbac.authorization.k8s.io/v1
  2. kind: ClusterRoleBinding
  3. metadata:
  4.   name: admin-user
  5. roleRef:
  6.   apiGroup: rbac.authorization.k8s.io
  7.   kind: ClusterRole
  8.   name: cluster-admin
  9. subjects:
  10.   - kind: ServiceAccount
  11.     name: admin-user
  12.     namespace: kube-system
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement