headscale-operator/config/rbac/server_viewer_role.yaml

21 lines
336 B
YAML
Raw Permalink Normal View History

2022-05-31 01:14:39 +00:00
# permissions for end users to view servers.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: server-viewer-role
rules:
- apiGroups:
- headscale.barpilot.io
resources:
- servers
verbs:
- get
- list
- watch
- apiGroups:
- headscale.barpilot.io
resources:
- servers/status
verbs:
- get