-
Notifications
You must be signed in to change notification settings - Fork 288
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
Kindless upgrade changes for vSphere & CloudStack provider #6728
Kindless upgrade changes for vSphere & CloudStack provider #6728
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #6728 +/- ##
=======================================
Coverage 75.66% 75.66%
=======================================
Files 475 475
Lines 38359 38404 +45
=======================================
+ Hits 29023 29059 +36
- Misses 7727 7733 +6
- Partials 1609 1612 +3
☔ View full report in Codecov by Sentry. |
ea93006
to
cbc23ef
Compare
@@ -135,6 +136,9 @@ func (v *Validator) ValidateClusterMachineConfigs(ctx context.Context, clusterSp | |||
if err := v.validateMachineConfig(ctx, clusterSpec.CloudStackDatacenter, machineConfig); err != nil { | |||
return fmt.Errorf("machine config %s validation failed: %v", machineConfig.Name, err) | |||
} | |||
if err := v.validateTemplateMatchesKubernetesVersion(ctx, machineConfig, clusterSpec); err != nil { |
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 had to split validateTemplateMatchesKubernetesVersion method separately to avoid cyclomatic complexity error.
cbc23ef
to
cc825dd
Compare
… controller side and waits for both to match for further reconciliation. 2. Since we have seperated ETCD and CP reconciliation, it waits for ETCD to be ready before marking ControlPlaneReady to true. 3. From the CLI side during management cluster upgrade, waits for Cluster FailureMessage to be nil before waiting for other condition to met.
cc825dd
to
439e7a3
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: 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 |
Issue #, if available:
Description of changes:
This PR includes fixes for below 3 issues,
Testing (if applicable):
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.