1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

add permission to list namespaces for the topologyspread constraint strategy

This commit is contained in:
Amaury Van Bemten
2020-12-08 13:35:26 +01:00
parent 70d1fadae7
commit 0f95817746

View File

@@ -12,6 +12,9 @@ rules:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "watch", "list"]
- apiGroups: [""]
resources: ["namespaces"]
verbs: ["get", "list"]
- apiGroups: [""]
resources: ["pods"]
verbs: ["get", "watch", "list", "delete"]