stack_admin_role.yaml 725 B

123456789101112131415161718192021222324252627
  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 full permissions ('*') over locostack.com.
  5. # This role is intended for users authorized to modify roles and bindings within the cluster,
  6. # enabling them to delegate specific permissions to other users or groups as needed.
  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: stack-admin-role
  14. rules:
  15. - apiGroups:
  16. - locostack.com
  17. resources:
  18. - stacks
  19. verbs:
  20. - '*'
  21. - apiGroups:
  22. - locostack.com
  23. resources:
  24. - stacks/status
  25. verbs:
  26. - get