Skip to content

Conversation

@mschoenlaub
Copy link
Contributor

@mschoenlaub mschoenlaub commented Sep 12, 2023

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?

resolves #2525

Please provide a short message that should be published in the DevSpace release notes
Fixed an issue where DevSpace would leave behind orphaned helm releases when setting a helm release name

What else do we need to know?
It doesn't fully fix the use case in #2525, as the originally expected behavior doesn't play well with devspace currently.
However, this fix makes devspace avoid "orphaned" deployments lingering around.
IMO this is the behavior most people would expect, as the default is to purge all deployments associated with a project.

@netlify
Copy link

netlify bot commented Sep 12, 2023

Deploy Preview for devspace-docs canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 2fe8e56
🔍 Latest deploy log https://app.netlify.com/sites/devspace-docs/deploys/6500dda3dfd63d0008fb4c85

Signed-off-by: Manuel Schönlaub <manuel.schoenlaub@gmail.com>
@mschoenlaub mschoenlaub force-pushed the fix-cache-usage-for-helm branch from 16d4229 to 2fe8e56 Compare September 12, 2023 21:52
Copy link
Collaborator

@lizardruss lizardruss left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Looks good to me.

@FabianKramm FabianKramm merged commit 1d9cb63 into devspace-sh:main Sep 18, 2023
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.

Unable to purge helm releases with dynamic releaseName in some cases

3 participants