-
Notifications
You must be signed in to change notification settings - Fork 440
translate machine-pool-ci-version KubeadmConfig merge patch to JSON patch #5225
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
translate machine-pool-ci-version KubeadmConfig merge patch to JSON patch #5225
Conversation
/assign @nawazkh |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5225 +/- ##
=======================================
Coverage 52.78% 52.79%
=======================================
Files 270 270
Lines 29043 29043
=======================================
+ Hits 15330 15332 +2
+ Misses 12922 12920 -2
Partials 791 791 ☔ View full report in Codecov by Sentry. |
385abd5
to
04bc24a
Compare
/lgtm |
LGTM label has been added. Git tree hash: 6c95e9d0aafbe1459534d03dd292ce25dfc388cf
|
/retest |
1 similar comment
/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
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mboersma, 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 |
/retest |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
This PR moves the changes to the
preKubeadmCommands
andfiles
arrays in the KubeadmConfig used for MachinePool ci-version tests out of a strategic merge patch and into a JSON merge patch. Using a JSON merge patch allows us to express "add this element to this array" vs. a strategic merge patch that can only express "replace the entire array with these elements listed here." This should help us integrate the ILB changes from #5209 with the ci-version templates which both require changes to these arrays. The rendered templates remain exactly the same with these changes.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 #
Special notes for your reviewer:
TODOs:
Release note: