Files
locust-operator/config/rbac/locustcluster_viewer_role.yaml
Chris Richardson 9d4d9b385b
Some checks failed
E2E Tests / Run on Ubuntu (push) Failing after 1m26s
Lint / Run on Ubuntu (push) Failing after 4m54s
Tests / Run on Ubuntu (push) Successful in 5m8s
first commit
2025-05-09 08:22:45 -04:00

30 lines
761 B
YAML

# This rule is not used by the project locust-operator itself.
# It is provided to allow the cluster admin to help manage permissions for users.
#
# Grants read-only access to locust.io resources.
# This role is intended for users who need visibility into these resources
# without permissions to modify them. It is ideal for monitoring purposes and limited-access viewing.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/name: locust-operator
app.kubernetes.io/managed-by: kustomize
name: locustcluster-viewer-role
rules:
- apiGroups:
- locust.io
resources:
- locustclusters
verbs:
- get
- list
- watch
- apiGroups:
- locust.io
resources:
- locustclusters/status
verbs:
- get