postgresql_editor_role.yaml 653 B

12345678910111213141516171819202122232425262728293031
  1. # permissions for end users to edit postgresqls.
  2. apiVersion: rbac.authorization.k8s.io/v1
  3. kind: ClusterRole
  4. metadata:
  5. labels:
  6. app.kubernetes.io/name: clusterrole
  7. app.kubernetes.io/instance: postgresql-editor-role
  8. app.kubernetes.io/component: rbac
  9. app.kubernetes.io/created-by: nodb
  10. app.kubernetes.io/part-of: nodb
  11. app.kubernetes.io/managed-by: kustomize
  12. name: postgresql-editor-role
  13. rules:
  14. - apiGroups:
  15. - database.iwanhae.kr
  16. resources:
  17. - postgresqls
  18. verbs:
  19. - create
  20. - delete
  21. - get
  22. - list
  23. - patch
  24. - update
  25. - watch
  26. - apiGroups:
  27. - database.iwanhae.kr
  28. resources:
  29. - postgresqls/status
  30. verbs:
  31. - get