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

21 lines
348 B
YAML

# permissions for end users to view namespaces.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: namespace-viewer-role
rules:
- apiGroups:
- headscale.barpilot.io
resources:
- namespaces
verbs:
- get
- list
- watch
- apiGroups:
- headscale.barpilot.io
resources:
- namespaces/status
verbs:
- get