headscale-operator/config/rbac/namespace_editor_role.yaml

25 lines
391 B
YAML
Raw Normal View History

2022-05-31 01:14:39 +00:00
# permissions for end users to edit namespaces.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: namespace-editor-role
rules:
- apiGroups:
- headscale.barpilot.io
resources:
- namespaces
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- headscale.barpilot.io
resources:
- namespaces/status
verbs:
- get