Files
ontime-k8s/apps/stage-maker/cluster-role.yaml
2025-10-28 13:01:36 -05:00

36 lines
617 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: stage-editor-role
rules:
- apiGroups:
- ontime.getontime.no
resources:
- stages
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ontime.getontime.no
resources:
- stages/status
verbs:
- get
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: edit-stages-clusterrolebinding
subjects:
- kind: ServiceAccount
name: stage-editor
namespace: stage-maker
roleRef:
kind: ClusterRole
name: stage-editor-role
apiGroup: rbac.authorization.k8s.io