mirror of
https://github.com/guilhem/headscale-operator.git
synced 2024-11-22 19:43:01 +00:00
25 lines
395 B
YAML
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
|