-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Revert "Update k8s dependencies to v0.24.2" #11135
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.
👍
started the job as gitpod-build-revert-11003-aledbf-k8.1 because the annotations in the pull request description changed |
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.
/hold
We want to validate preview environments does indeed work with this revert 🧡
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.
Why need revert whole PR? you can revert 1 commit
I tried to revert 1 commit, but it caused a lot of conflicts because the |
We can choose to remove all status items at the end of the yaml generation |
Yes, we discussed in the incident channel, and we would like the installer to remove the status items rather than we ask the user to manually remove the status field. |
Preview environment works, removing the hold |
/unhold |
Description
Reverts #11003
Bumping the k8s dependencies to v0.24.2, when the installer installs gitpod, it failed at
error validating data: ValidationError(NetworkPolicy): unknown field "status" in io.k8s.api.networking.v1.NetworkPolicy
The root cause is that the NetworkPolicy status introduces from v1.24 (
kubectl explain networkpolicy
). However, our environment is still running v1.23.Instead of asking the user manually remove the
status
field as we did before for StatefulSet status, it'd be good for the installer to auto remove thestatus
field.Release Notes
Werft options: