-
Notifications
You must be signed in to change notification settings - Fork 151
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
Update PodDisruptionBudgets API version #835
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you, @legoGoat!
@dmitryax hi, sorry, any advice on the test that failed? It was the functional tests bit that failed and I wouldn't think this change would affect any changes... Could this be fixed just rerunning the workflow or is there something obvious I'm missing that's at fault? |
That test is flaky, sorry |
Not a problem, just got me worried there for a second 🙈 |
Sure, thank you! |
oh no, functional tests strike again 😢 though it's cri-o this time, not docker |
rerunning. |
Fixes #833 PodDisruptionBudget policies fail to create at k8s v1.25+
Description:
Capabilities.KubeVersion.Version
checks the kube version. If above 1.21,apiVersion: policy/v1
is set for PodDisruptionBudget, elseapiVersion: policy/v1beta1
.