Guest User

Untitled

a guest
Jun 17th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. kind: RoleBinding
  2. apiVersion: rbac.authorization.k8s.io/v1
  3. metadata:
  4. name: example
  5. namespace: web
  6. subjects:
  7. - kind: User
  8. name: A
  9. apiGroup: rbac.authorization.k8s.io
  10. roleRef:
  11. kind: ClusterRole
  12. name: edit
  13. apiGroup: rbac.authorization.k8s.io
  14. ---
  15. kind: RoleBinding
  16. apiVersion: rbac.authorization.k8s.io/v1
  17. metadata:
  18. name: example
  19. namespace: api
  20. subjects:
  21. - kind: User
  22. name: A
  23. apiGroup: rbac.authorization.k8s.io
  24. roleRef:
  25. kind: ClusterRole
  26. name: edit
  27. apiGroup: rbac.authorization.k8s.io
Add Comment
Please, Sign In to add comment