Add cluster role to get namespaces

This commit is contained in:
Magnus Andersson 2024-11-06 12:52:53 +01:00
parent 4515bafe6c
commit 035524863a
Signed by: mandersson
GPG key ID: 1F7C896B34B28164

View file

@ -0,0 +1,9 @@
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: clusterrole-read-namespaces
rules:
- apiGroups: [""]
resources: ["namespaces"]
verbs: ["get", "list"]