headscale-operator/config/rbac/preauthkey_editor_role.yaml

25 lines
395 B
YAML
Raw Normal View History

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