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

Only uninstall if reset flag is true #2154

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

rmweir
Copy link
Contributor

@rmweir rmweir commented Sep 18, 2024

What issue type does this pull request address? (keep at least one, remove the others)
/kind bugfix

What does this pull request do? Which issues does it resolve? (use resolves #<issue_number> if possible)
Fixes ENG-4635.
Part of ENG-4400

Prior, the reset flag indicated that resources should be uninstalled. However, if an existing deployment was not detected, all other resources were removed regardless of the reset flag's value. Now, reset must be set to true to uninstall any existing vCluster Platform resources. This is more in line with how a reinstall performed with helm behaves and is more predictable for the user. The usage description has been updated to reflect the change.

Please provide a short message that should be published in the vcluster release notes
Fixed an issue where vCluster uninstall would remove vCluster Platform resources from a previous install even if the "--reset" flag was set to false.

What else do we need to know?

Copy link

netlify bot commented Sep 18, 2024

Deploy Preview for vcluster-docs canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 870f1c7
🔍 Latest deploy log https://app.netlify.com/sites/vcluster-docs/deploys/66eb60c3b5b12b000823269a

@rmweir rmweir marked this pull request as ready for review September 18, 2024 23:03
Prior, the reset flag indicated that resources should be uninstalled.
However, if an existing deployment was not detected, all other
resources were removed regardless of the reset flag's value. Now,
reset must be set to true to uninstall any existing vCluster Platform
resources. This is more in line with how a reinstall performed with
helm behaves and is more predictable for the user. The usage
description has been updated to reflect the change.
@FabianKramm FabianKramm added the backport-to-v0.20 backport this PR to v0.20 branch label Sep 19, 2024
@FabianKramm FabianKramm merged commit 3176ae4 into loft-sh:main Sep 19, 2024
62 checks passed
@loft-bot
Copy link

💚 All backports created successfully

Status Branch Result
v0.20

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

FabianKramm added a commit that referenced this pull request Sep 19, 2024
[v0.20] Merge pull request #2154 from rmweir/only-uninstall-reset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-v0.20 backport this PR to v0.20 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants