headscale-operator/config/rbac/preauthkey_viewer_role.yaml

21 lines
352 B
YAML
Raw Permalink Normal View History

2022-05-31 01:14:39 +00:00
# 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