role.yaml 534 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. - database.iwanhae.kr
  17. resources:
  18. - postgresqls
  19. verbs:
  20. - create
  21. - delete
  22. - get
  23. - list
  24. - patch
  25. - update
  26. - watch
  27. - apiGroups:
  28. - database.iwanhae.kr
  29. resources:
  30. - postgresqls/finalizers
  31. verbs:
  32. - update
  33. - apiGroups:
  34. - database.iwanhae.kr
  35. resources:
  36. - postgresqls/status
  37. verbs:
  38. - get
  39. - patch
  40. - update