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

Cleanup component dependencies when removed #584

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

zerospiel
Copy link
Contributor

@zerospiel zerospiel commented Oct 31, 2024

  • if component is removed from management object the related helmreleases, providertemplates and helmcharts are deleted now
  • small code amends
  • test coverage for the mgmt-ctrl raised from 4.4% to 45.8%

Closes #553

@zerospiel zerospiel force-pushed the comp_cleanup branch 4 times, most recently from f46f509 to 85c019d Compare October 31, 2024 20:33
internal/controller/management_controller.go Outdated Show resolved Hide resolved
internal/controller/management_controller.go Outdated Show resolved Hide resolved
internal/controller/management_controller.go Outdated Show resolved Hide resolved
@zerospiel zerospiel requested a review from Kshatrix November 1, 2024 13:50
@zerospiel zerospiel force-pushed the comp_cleanup branch 4 times, most recently from ed67f91 to 3ded089 Compare November 6, 2024 10:37
* if component is removed from management object
  the related helmreleases, providertemplates and
  helmcharts are deleted now
* small code amends
* test coverage for the mgmt-ctrl raised
  from 4.4% to 45.6%

Closes k0rdent#553
@Kshatrix Kshatrix merged commit 2af64cc into k0rdent:main Nov 7, 2024
5 checks passed
@zerospiel zerospiel deleted the comp_cleanup branch November 7, 2024 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Deinstall provider components if it was removed from the Management spec
2 participants