externalknowledgebase_editor_role.yaml 825 B

123456789101112131415161718192021222324252627282930313233
  1. # This rule is not used by the project loco-operator itself.
  2. # It is provided to allow the cluster admin to help manage permissions for users.
  3. #
  4. # Grants permissions to create, update, and delete resources within the locostack.com.
  5. # This role is intended for users who need to manage these resources
  6. # but should not control RBAC or manage permissions for others.
  7. apiVersion: rbac.authorization.k8s.io/v1
  8. kind: ClusterRole
  9. metadata:
  10. labels:
  11. app.kubernetes.io/name: loco-operator
  12. app.kubernetes.io/managed-by: kustomize
  13. name: externalknowledgebase-editor-role
  14. rules:
  15. - apiGroups:
  16. - locostack.com
  17. resources:
  18. - externalknowledgebases
  19. verbs:
  20. - create
  21. - delete
  22. - get
  23. - list
  24. - patch
  25. - update
  26. - watch
  27. - apiGroups:
  28. - locostack.com
  29. resources:
  30. - externalknowledgebases/status
  31. verbs:
  32. - get