Skip to content

Commit

Permalink
charts: add missing permission for policy at ClusterRole
Browse files Browse the repository at this point in the history
fixes 1595
  • Loading branch information
linuxmaniac authored and googs1025 committed Feb 1, 2025
1 parent c98d340 commit ea3e483
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 ea3e483

Please sign in to comment.