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

Remove unsupported Kubernetes and Ruby versions from Krane and CI #905

Merged
merged 10 commits into from
Oct 11, 2022

Conversation

d1egoaz
Copy link
Contributor

@d1egoaz d1egoaz commented Sep 22, 2022

What are you trying to accomplish with this PR?

  • Clean up official unsupported Kubernetes and Ruby versions from Krane and CI.
  • Added to the CI matrix all the list of supported k8s and ruby versions.

How is this accomplished?
✂️

What could go wrong?

Users of unsupported k8s or ruby versions will be stuck in the Krane 2.4.9 version and only get fixes and new features until migrated to newer supported versions.

Improve readme regarding the versions that are maintained by upstream and versions that we run
integration tests.

Bump the required tools to match what currently is maintained by upstream Kubernetes and Ruby projects.
@@ -546,77 +546,6 @@ def test_batch_dry_run_apply_success_precludes_individual_resource_dry_run_valid
], in_order: true)
end

# Note: After we drop support for K8s 1.21 this test can be removed, since webhooks must be dry-run safe.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there matching code that was making this work with <=1.21 that should also be removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, all this PR needs to be reverted #798 as there are no more sideeffects during dry-run for mutatingwebhook

https://kubernetes.io/docs/reference/using-api/deprecation-guide/#webhook-resources-v122

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reverted in 9f1fe2a

@d1egoaz d1egoaz force-pushed the d1egoaz_remove-unsupported-k8s-versions branch 3 times, most recently from 22dcd73 to da36068 Compare September 28, 2022 20:36
@d1egoaz d1egoaz changed the title remove unsupported k8s and ruby versions Remove unsupported Kubernetes and Ruby versions from Krane and CI Sep 28, 2022
@d1egoaz d1egoaz marked this pull request as ready for review September 28, 2022 20:41
@d1egoaz d1egoaz requested a review from a team as a code owner September 28, 2022 20:41
@d1egoaz d1egoaz requested review from orcephrye and aajoslinify and removed request for a team September 28, 2022 20:41
@d1egoaz d1egoaz force-pushed the d1egoaz_remove-unsupported-k8s-versions branch 2 times, most recently from c23a810 to 5cdaa8f Compare September 28, 2022 21:41
@d1egoaz d1egoaz force-pushed the d1egoaz_remove-unsupported-k8s-versions branch from 5cdaa8f to a15fa06 Compare September 28, 2022 21:52
Copy link
Contributor

@JamesOwenHall JamesOwenHall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This deserves an entry in the changelog. Also, do you want to release a new version now or batch them with more changes?

@d1egoaz
Copy link
Contributor Author

d1egoaz commented Sep 29, 2022

This deserves an entry in the changelog. Also, do you want to release a new version now or batch them with more changes?

I was thinking to bump soon to a major version to signal the breaking change, and add new changes on top of the new version.

@d1egoaz d1egoaz merged commit eb0d95e into master Oct 11, 2022
@d1egoaz d1egoaz deleted the d1egoaz_remove-unsupported-k8s-versions branch October 11, 2022 20:46
@shopify-shipit shopify-shipit bot temporarily deployed to rubygems October 11, 2022 21:17 Inactive
@d1egoaz d1egoaz mentioned this pull request Oct 13, 2022
@shopify-shipit shopify-shipit bot temporarily deployed to rubygems September 26, 2023 12:55 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants