role.yaml 607 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. - watch
  15. - apiGroups:
  16. - ""
  17. resources:
  18. - services
  19. verbs:
  20. - get
  21. - watch
  22. - apiGroups:
  23. - database.iwanhae.kr
  24. resources:
  25. - postgresqls
  26. verbs:
  27. - create
  28. - delete
  29. - get
  30. - list
  31. - patch
  32. - update
  33. - watch
  34. - apiGroups:
  35. - database.iwanhae.kr
  36. resources:
  37. - postgresqls/finalizers
  38. verbs:
  39. - update
  40. - apiGroups:
  41. - database.iwanhae.kr
  42. resources:
  43. - postgresqls/status
  44. verbs:
  45. - get
  46. - patch
  47. - update