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

Clusterctl move operation clean up plus adding necessary labels for obj and vpc #228

Merged
merged 14 commits into from
Apr 3, 2024

Conversation

komer3
Copy link
Contributor

@komer3 komer3 commented Apr 2, 2024

What type of PR is this?

What this PR does / why we need it:
It just cleans up some code in the LinodeCluster and LinodeMachine controllers.

Also add move-hierarchy label to LinodeObjectStorageBucket and LinodeVPC CRs so that during the move operation, CRs and all the resources owned by them get moved to the new mgmt cluster.

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 #210

Special notes for your reviewer:

TODOs:

  • squashed commits
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

@komer3 komer3 self-assigned this Apr 2, 2024
@komer3 komer3 marked this pull request as ready for review April 2, 2024 15:26
Copy link

codecov bot commented Apr 2, 2024

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 42.10%. Comparing base (eada064) to head (93bb599).
Report is 1 commits behind head on main.

Files Patch % Lines
controller/linodemachine_controller.go 0.00% 4 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #228   +/-   ##
=======================================
  Coverage   42.10%   42.10%           
=======================================
  Files          25       25           
  Lines        1375     1375           
=======================================
  Hits          579      579           
  Misses        783      783           
  Partials       13       13           

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

@komer3 komer3 merged commit b78416f into main Apr 3, 2024
7 of 8 checks passed
@komer3 komer3 deleted the pause-reconcile branch April 3, 2024 16:37
AshleyDumaine pushed a commit that referenced this pull request Apr 19, 2024
…bj and vpc (#228)

* Adding labels for to CRDs so clusterctl discovery mechnism works

---------

Co-authored-by: Khaja Omer <[email protected]>
amold1 pushed a commit that referenced this pull request May 17, 2024
…bj and vpc (#228)

* Adding labels for to CRDs so clusterctl discovery mechnism works

---------

Co-authored-by: Khaja Omer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cluster pivot does not move all resources
2 participants