Files
gitea-runner-operator/config/rbac/runnergroup_editor_role.yaml
2026-01-05 22:10:38 +08:00

34 lines
808 B
YAML

# This rule is not used by the project gitea-runner-operator itself.
# It is provided to allow the cluster admin to help manage permissions for users.
#
# Grants permissions to create, update, and delete resources within the gitea.bpg.pw.
# This role is intended for users who need to manage these resources
# but should not control RBAC or manage permissions for others.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/name: gitea-runner-operator
app.kubernetes.io/managed-by: kustomize
name: runnergroup-editor-role
rules:
- apiGroups:
- gitea.bpg.pw
resources:
- runnergroups
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- gitea.bpg.pw
resources:
- runnergroups/status
verbs:
- get