Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing entry in ClusterRole in release-1.32 #1609

Open
mohazza00 opened this issue Jan 17, 2025 · 2 comments
Open

Missing entry in ClusterRole in release-1.32 #1609

mohazza00 opened this issue Jan 17, 2025 · 2 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@mohazza00
Copy link

What version of descheduler are you using?

descheduler version: 0.32.1

Does this issue reproduce with the latest release?
Yes

Which descheduler CLI options are you using?
N/A

Please provide a copy of your descheduler policy config file
N/A

What k8s version are you using (kubectl version)?
N/A

What did you do?

The template for the ClusterRole in the release-1.32 is missing this entry:

- apiGroups: ["policy"]
  resources: ["poddisruptionbudgets"]
  verbs: ["get", "watch", "list"]

What did you expect to see?
I expect the job to run through.

What did you see instead?
An error:

W0117 11:17:51.870286       1 reflector.go:569] k8s.io/client-go/informers/factory.go:160: failed to list *v1.PodDisruptionBudget: poddisruptionbudgets.policy is forbidden: User "system:serviceaccount:kube-system:descheduler" cannot list resource "poddisruptionbudgets" in API group "policy" at the cluster scope
E0117 11:17:51.870340       1 reflector.go:166] "Unhandled Error" err="k8s.io/client-go/informers/factory.go:160: Failed to watch *v1.PodDisruptionBudget: failed to list *v1.PodDisruptionBudget: poddisruptionbudgets.policy is forbidden: User \"system:serviceaccount:kube-system:descheduler\" cannot list resource \"poddisruptionbudgets\" in API group \"policy\" at the cluster scope" logger="UnhandledError"
@mohazza00 mohazza00 added the kind/bug Categorizes issue or PR as related to a bug. label Jan 17, 2025
@jwetzell
Copy link

duplicate of #1595?

@michaelyamit
Copy link

Hi, is there an ETA for releasing a new version with that fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants