Skip to content

Commit

Permalink
Merge pull request #1621 from googs1025/automated-cherry-pick-of-#159…
Browse files Browse the repository at this point in the history
…6-upstream-release-1.32

Automated cherry pick of #1596: charts: add missing permission for policy at ClusterRole
  • Loading branch information
k8s-ci-robot authored Feb 2, 2025
2 parents c98d340 + ea3e483 commit 4c4c31f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/descheduler/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 4c4c31f

Please sign in to comment.