k8s/roles/k8s_gbm_dev/templates/dev-clusterrole.yml.j2
2026-07-15 11:14:21 +03:00

12 lines
346 B
Django/Jinja

---
# Minimal cluster-level read for Dashboard namespace selector.
# Without namespaces/list the Dashboard shows nothing after login.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ dev_access_sa_name }}-namespace-reader
rules:
- apiGroups: [""]
resources: ["namespaces"]
verbs: ["get", "list", "watch"]