role.yaml 636 B

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