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

Merge pull request #1621 from googs1025/automated-cherry-pick-of-#1596-upstream-release-1.32

Automated cherry pick of #1596: charts: add missing permission for policy at ClusterRole
This commit is contained in:
Kubernetes Prow Robot
2025-02-02 06:44:56 -08:00
committed by GitHub

View File

@@ -24,6 +24,9 @@ rules:
- apiGroups: ["scheduling.k8s.io"]
resources: ["priorityclasses"]
verbs: ["get", "watch", "list"]
- apiGroups: ["policy"]
resources: ["poddisruptionbudgets"]
verbs: ["get", "watch", "list"]
{{- if .Values.leaderElection.enabled }}
- apiGroups: ["coordination.k8s.io"]
resources: ["leases"]