managedtool_viewer_role.yaml 763 B

1234567891011121314151617181920212223242526272829
  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 read-only access to locostack.com resources.
  5. # This role is intended for users who need visibility into these resources
  6. # without permissions to modify them. It is ideal for monitoring purposes and limited-access viewing.
  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: managedtool-viewer-role
  14. rules:
  15. - apiGroups:
  16. - locostack.com
  17. resources:
  18. - managedtools
  19. verbs:
  20. - get
  21. - list
  22. - watch
  23. - apiGroups:
  24. - locostack.com
  25. resources:
  26. - managedtools/status
  27. verbs:
  28. - get