Files
gitlab-job-runner/config/rbac/gitlabjobrunner_editor_role.yaml
Vassiliy Yegorov 489db3b8a6
All checks were successful
docker-build / Build image (push) Successful in 9s
init
2025-12-07 20:18:17 +07:00

34 lines
810 B
YAML

# This rule is not used by the project cronjob-restore 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 batch.rml.ru.
# 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: gitlab-job-runner
app.kubernetes.io/managed-by: kustomize
name: gitlabjobrunner-editor-role
rules:
- apiGroups:
- batch.rml.ru
resources:
- gitlabjobrunners
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- batch.rml.ru
resources:
- gitlabjobrunners/status
verbs:
- get