-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Calico: make calico_min_version check relevant #7939
Calico: make calico_min_version check relevant #7939
Conversation
Hi @cristicalin. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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.
/ok-to-test
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cristicalin, floryut 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 |
The min version should be the minimum version we can update from no ? |
@champtar actually, the way we check this is not tied to the previous version at all but only on what we have in the inventory: https://github.com/kubernetes-sigs/kubespray/blob/master/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml#L192-L199 This actually checks that the deployer updated their inventory with the minimum supported calico version which, given our policy of not maintaining more than one minor version for each major calico version may mean that it is higher than what was deployed by the previous version of calico (i.e. kubespray 2.15 supported calico 3.17.3 while kubespray 2.16 supports calico 3.17.5). In the end this check is useless and defeated by the check here: https://github.com/kubernetes-sigs/kubespray/blob/master/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml#L50-L57 which validates that the inventory contains an actually supported calico_version and not just a minimum. Looking at this implementation again, I would actually drop the logic that checks for |
…ported version by the previous release
1c8df2b
to
5116b59
Compare
/lgtm |
* Calico: make calico_min_version check relevant * Calico: only check currently installed version against the oldest supported version by the previous release
* Calico: make calico_min_version check relevant * Calico: only check currently installed version against the oldest supported version by the previous release
* Calico: make calico_min_version check relevant * Calico: only check currently installed version against the oldest supported version by the previous release
What type of PR is this?
/kind feature
What this PR does / why we need it:
In the kubernetes role we have a validation task which checks for the minimum calico version. This brings our check in line with the lowest supported version.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: