Files
ayatori/config/rbac/execution_job_editor_role.yaml
T
panxiao81 4846ff2aba
Verify / lint (pull_request) Failing after 5m37s
Verify / test (pull_request) Successful in 5m38s
feat: scaffold job execution API
2026-09-17 18:58:11 +00:00

34 lines
814 B
YAML

# This rule is not used by the project ayatori 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 execution.ayatori.ddupan.top.
# 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: ayatori
app.kubernetes.io/managed-by: kustomize
name: execution-job-editor-role
rules:
- apiGroups:
- execution.ayatori.ddupan.top
resources:
- jobs
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- execution.ayatori.ddupan.top
resources:
- jobs/status
verbs:
- get