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
Use newer v1beta1 version in API version upgrade test #4433
Use newer v1beta1 version in API version upgrade test #4433
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4433 +/- ##
=======================================
Coverage 61.96% 61.96%
=======================================
Files 188 188
Lines 18768 18768
=======================================
Hits 11630 11630
Misses 6500 6500
Partials 638 638 ☔ View full report in Codecov by Sentry. |
173b9d3
to
80cee1b
Compare
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.
Overall LGTM.
Should we also document in the release guide to make these same changes whenever we cut a new minor release?
I think even a link to this PR would be good enough. |
/hold |
c1f95aa
to
e4c2747
Compare
e4c2747
to
ce3aff6
Compare
ce3aff6
to
070f425
Compare
070f425
to
25b53a8
Compare
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
LGTM label has been added. Git tree hash: 900689e6eb81f7cad939369e688cd9b68ed8f355
|
/assign @willie-yao |
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.
Looks good pending one question!
/retest |
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
/approve @CecileRobertMichon please remove the hold whenever you're ready. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nojnhuh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
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++
Thanks @CecileRobertMichon!
@CecileRobertMichon Do we need to cherry pick this to fix the test on the release branch? |
Yes. How do we want to handle the upgrade from version on previous release branches? Should it always be n-2? In which case we might need a manual cherry-pick. |
/hold cancel |
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
InitWithKubernetesVersion: "v1.26.12", | ||
InitWithBinary: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.5.4/clusterctl-{OS}-{ARCH}", | ||
InitWithCoreProvider: "cluster-api:v1.5.4", | ||
InitWithBootstrapProviders: []string{"kubeadm:v1.5.4"}, | ||
InitWithControlPlaneProviders: []string{"kubeadm:v1.5.4"}, | ||
InitWithInfrastructureProviders: []string{"azure:v1.11.7"}, |
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.
Is there a way we could fetch these values from azure-dev.yaml
so that we do not maintain it going ahead? Not a blocking comment per se.
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.
since we're adding a second test with a different set of versions we need to configure this per test #4446
We could have two separate sets of env variables 🤔 Maybe something to follow up on in #4446 @willie-yao? Let's merge this one as-is for now to fix the broken test
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.
I agree that having two sets of env variables would be the better way to go about this. Will work on implementing it for my PR!
What type of PR is this?
/kind failing-test
What this PR does / why we need it: The k8s 1.22 images have been deprecated and removed from the Azure marketplace. Since CAPI v1.0.x only supports old k8s versions, we are no longer able to run the test as-is. This PR changes the upgrade test to run upgrade from the earliest supported minor release of CAPI and CAPZ (n-2).
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #4422
Special notes for your reviewer:
TODOs:
Release note: