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

Helm 3: Error: unknown flag: --purge during skaffold delete #3387

Closed
iirekm opened this issue Dec 14, 2019 · 5 comments
Closed

Helm 3: Error: unknown flag: --purge during skaffold delete #3387

iirekm opened this issue Dec 14, 2019 · 5 comments
Labels
area/deploy kind/bug Something isn't working priority/p2 May take a couple of releases

Comments

@iirekm
Copy link

iirekm commented Dec 14, 2019

Workaround: helm delete <release-name>

@dgageot dgageot added deploy/helm kind/bug Something isn't working labels Dec 17, 2019
@balopat balopat added priority/p2 May take a couple of releases area/deploy deploy/helm3 and removed deploy/helm labels Dec 17, 2019
@balopat
Copy link
Contributor

balopat commented Dec 18, 2019

related change in helm: helm/helm#5283
cc @briandealwis

@tejal29
Copy link
Member

tejal29 commented Jan 8, 2020

Please use the following command
skaffold dev --cleanup=false or
skaffold debug --cleanup=false

You would also need to add the following deploy configuration to skaffold.yaml

deploy:
      helm:
        flags:
          upgrade: ["-i"]

@demisx
Copy link
Contributor

demisx commented Feb 8, 2020

I want skaffold to clean up the deployed helm v3 releases similar to kubectl resources when I hit [Ctrl]+C. What can I do? Currently it fails with "unknown flag: --purge" error and we have to manually delete each helm release before we can run skaffold again. Very inconvenient.

@eshepelyuk
Copy link

WIth 1.4.0 that error had disapperaed, but helm release is not deleted.
Any clues ??

@nkubala
Copy link
Contributor

nkubala commented Feb 27, 2020

hey y'all, this should be fixed by #3738

@dgageot dgageot closed this as completed Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/deploy kind/bug Something isn't working priority/p2 May take a couple of releases
Projects
None yet
Development

No branches or pull requests

7 participants