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

Updates for 1.16 #138

Merged
merged 1 commit into from Sep 3, 2019
Merged

Updates for 1.16 #138

merged 1 commit into from Sep 3, 2019

Conversation

hyperbolic2346
Copy link
Contributor

Added a patch function to update the api version. It also adds in the selector since apps/v1 requires it. I kept the list as small as possible to try and prevent inadvertent issues.

@hyperbolic2346
Copy link
Contributor Author

@Cynerva
Copy link
Contributor

Cynerva commented Aug 30, 2019

LGTM. I built a v1.16.0-beta.1 snap with this and verified that the modified templates look correct - the apiVersion and selector fields are the only things that changed, and the selectors match the labels of the pod templates. I also grepped the templates for extensions/v1beta1, apps/v1beta1, and apps/v1beta2 and didn't see any others that were missed.

It's not clear to me if you've tested this, but if you have, feel free to merge it.

@hyperbolic2346
Copy link
Contributor Author

I have tested this. I verified that 1.16 failed before and works now.

@Cynerva
Copy link
Contributor

Cynerva commented Sep 3, 2019

Good enough for me 👍 Thanks @hyperbolic2346

@Cynerva Cynerva merged commit c875b44 into master Sep 3, 2019
@Cynerva Cynerva deleted the mwilson/1.16-changes branch September 3, 2019 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants