mirror of
https://github.com/bapung/gitea-runner-operator.git
synced 2026-06-21 23:48:43 +00:00
Initial operator-sdk bootstrap
This commit is contained in:
27
config/rbac/runnergroup_admin_role.yaml
Normal file
27
config/rbac/runnergroup_admin_role.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
# 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 full permissions ('*') over gitea.bpg.pw.
|
||||
# This role is intended for users authorized to modify roles and bindings within the cluster,
|
||||
# enabling them to delegate specific permissions to other users or groups as needed.
|
||||
|
||||
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-admin-role
|
||||
rules:
|
||||
- apiGroups:
|
||||
- gitea.bpg.pw
|
||||
resources:
|
||||
- runnergroups
|
||||
verbs:
|
||||
- '*'
|
||||
- apiGroups:
|
||||
- gitea.bpg.pw
|
||||
resources:
|
||||
- runnergroups/status
|
||||
verbs:
|
||||
- get
|
||||
Reference in New Issue
Block a user