diff --git a/k8s/role-namespaces-read.yaml b/k8s/role-namespaces-read.yaml new file mode 100644 index 0000000..013390f --- /dev/null +++ b/k8s/role-namespaces-read.yaml @@ -0,0 +1,9 @@ +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + name: clusterrole-read-namespaces +rules: + - apiGroups: [""] + resources: ["namespaces"] + verbs: ["get", "list"]