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

[v1.6.x] Add managedosversion finalizer (#775 & #784) #782

Merged

Conversation

anmazzotti
Copy link
Contributor

@anmazzotti anmazzotti commented Jun 26, 2024

Backport of #775 and #784

* Implement ManagedOSVersion controller and finalizer

Signed-off-by: Andrea Mazzotti <[email protected]>

* Remove unused ManagedOSVersion Status

Signed-off-by: Andrea Mazzotti <[email protected]>
---------

Signed-off-by: Andrea Mazzotti <[email protected]>
Co-authored-by: Francesco Giudici <[email protected]>
@anmazzotti anmazzotti self-assigned this Jun 26, 2024
@anmazzotti anmazzotti requested a review from a team as a code owner June 26, 2024 10:31
@github-actions github-actions bot added the area/tests test related changes label Jun 26, 2024
Copy link

codecov bot commented Jun 26, 2024

Codecov Report

Attention: Patch coverage is 67.08861% with 26 lines in your changes missing coverage. Please review.

Please upload report for BASE (v1.6.x@d745f7d). Learn more about missing BASE report.

Files Patch % Lines
controllers/managedosversion_controller.go 65.33% 19 Missing and 7 partials ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             v1.6.x     #782   +/-   ##
=========================================
  Coverage          ?   57.75%           
=========================================
  Files             ?       42           
  Lines             ?     5175           
  Branches          ?        0           
=========================================
  Hits              ?     2989           
  Misses            ?     1866           
  Partials          ?      320           

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

Copy link
Contributor

@davidcassany davidcassany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This backport must include #784 (or some equivalent solution)

* Block reinstall if crds are still pending to be deleted

Signed-off-by: David Cassany <[email protected]>
@anmazzotti anmazzotti changed the title [v1.6.x] Add managedosversion finalizer (#775) [v1.6.x] Add managedosversion finalizer (#775 & #784) Jun 26, 2024
@anmazzotti
Copy link
Contributor Author

This backport must include #784 (or some equivalent solution)

Cherry picked into this PR. Thank you!

Copy link
Contributor

@davidcassany davidcassany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@anmazzotti anmazzotti merged commit a916d43 into rancher:v1.6.x Jun 27, 2024
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/tests test related changes Blocked
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants