Add cluster role to get namespaces
This commit is contained in:
parent
4515bafe6c
commit
035524863a
9
k8s/role-namespaces-read.yaml
Normal file
9
k8s/role-namespaces-read.yaml
Normal 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"]
|
Loading…
Reference in a new issue