mirror of
https://github.com/guilhem/headscale-operator.git
synced 2024-11-24 20:42:54 +00:00
21 lines
352 B
YAML
21 lines
352 B
YAML
|
# permissions for end users to view preauthkeys.
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: ClusterRole
|
||
|
metadata:
|
||
|
name: preauthkey-viewer-role
|
||
|
rules:
|
||
|
- apiGroups:
|
||
|
- headscale.barpilot.io
|
||
|
resources:
|
||
|
- preauthkeys
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- watch
|
||
|
- apiGroups:
|
||
|
- headscale.barpilot.io
|
||
|
resources:
|
||
|
- preauthkeys/status
|
||
|
verbs:
|
||
|
- get
|