headscale-operator/config/rbac/preauthkey_editor_role.yaml
Guilhem Lettron 8f064a2890 Initial Commit 🎉
2022-06-23 16:15:33 +02:00

25 lines
395 B
YAML

# 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