role.yaml 659 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. ---
  2. apiVersion: rbac.authorization.k8s.io/v1
  3. kind: ClusterRole
  4. metadata:
  5. creationTimestamp: null
  6. name: manager-role
  7. rules:
  8. - resources:
  9. - services
  10. verbs:
  11. - create
  12. - get
  13. - patch
  14. - update
  15. - apiGroups:
  16. - app.demo.kakao.com
  17. resources:
  18. - bluegreens
  19. verbs:
  20. - create
  21. - delete
  22. - get
  23. - list
  24. - patch
  25. - update
  26. - watch
  27. - apiGroups:
  28. - app.demo.kakao.com
  29. resources:
  30. - bluegreens/finalizers
  31. verbs:
  32. - update
  33. - apiGroups:
  34. - app.demo.kakao.com
  35. resources:
  36. - bluegreens/status
  37. verbs:
  38. - get
  39. - patch
  40. - update
  41. - apiGroups:
  42. - apps
  43. resources:
  44. - deployments
  45. verbs:
  46. - create
  47. - get
  48. - patch
  49. - update
  50. - watch