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

CLI changes for enabling modular upgrades for tinkerbell provider #6735

Merged
merged 2 commits into from Oct 11, 2023

Conversation

rahulbabu95
Copy link
Member

@rahulbabu95 rahulbabu95 commented Sep 27, 2023

Issue #, if available:
Modular Upgrades are not enabled in Tinkerbell Provider currently because, we just have one OSImageUrl field that can be specified in data center config to be used by all machine configs in the cluster.

Description of changes:
Enable specifying OSImageUrl field per machine config to help facilitate modular upgrades. For backward compatibility continue supporting OSImageUrl field at data center config too and eventually deprecate.

Testing (if applicable):
Manually tested upgrading CP and worker separately

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.

@eks-distro-bot
Copy link
Collaborator

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@eks-distro-bot eks-distro-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Sep 27, 2023
@codecov
Copy link

codecov bot commented Sep 27, 2023

Codecov Report

Attention: 27 lines in your changes are missing coverage. Please review.

Comparison is base (8c247c8) 71.78% compared to head (075be1d) 71.85%.
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6735      +/-   ##
==========================================
+ Coverage   71.78%   71.85%   +0.06%     
==========================================
  Files         531      531              
  Lines       41295    41337      +42     
==========================================
+ Hits        29642    29701      +59     
+ Misses       9993     9971      -22     
- Partials     1660     1665       +5     
Files Coverage Δ
pkg/api/v1alpha1/cluster_webhook.go 92.81% <ø> (-0.10%) ⬇️
pkg/api/v1alpha1/tinkerbellmachineconfig.go 51.28% <100.00%> (+2.63%) ⬆️
pkg/api/v1alpha1/tinkerbellmachineconfig_types.go 16.90% <ø> (ø)
pkg/providers/tinkerbell/cluster.go 94.00% <100.00%> (+0.12%) ⬆️
pkg/providers/tinkerbell/upgrade.go 65.67% <100.00%> (+3.01%) ⬆️
pkg/providers/vsphere/vsphere.go 68.47% <ø> (-1.41%) ⬇️
pkg/providers/tinkerbell/validate.go 83.72% <90.90%> (+1.36%) ⬆️
pkg/providers/tinkerbell/template.go 67.80% <72.22%> (+0.03%) ⬆️
pkg/providers/tinkerbell/reconciler/reconciler.go 82.79% <68.96%> (-1.44%) ⬇️
pkg/providers/tinkerbell/assert.go 79.75% <78.18%> (+9.82%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@eks-distro-bot eks-distro-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Oct 2, 2023
@rahulbabu95 rahulbabu95 marked this pull request as ready for review October 5, 2023 00:08
@chrisdoherty4
Copy link
Member

/lgtm
/approve

@eks-distro-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chrisdoherty4

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Signed-off-by: Rahul Ganesh <rahulgab@amazon.com>
@eks-distro-bot eks-distro-bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Oct 10, 2023
…late

Signed-off-by: Rahul Ganesh <rahulgab@amazon.com>
@rahulbabu95
Copy link
Member Author

/retest-required

@chrisdoherty4 chrisdoherty4 self-requested a review October 11, 2023 13:33
@chrisdoherty4
Copy link
Member

/lgtm

@rahulbabu95
Copy link
Member Author

/retest-required

@eks-distro-bot eks-distro-bot merged commit bb2cd92 into aws:main Oct 11, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants