Skaffold: Helm 3: `Error: unknown flag: --purge` during `skaffold delete`

Created on 14 Dec 2019  路  5Comments  路  Source: GoogleContainerTools/skaffold

Workaround: helm delete <release-name>

aredeploy deplohelm3 kinbug prioritp2

Most helpful comment

All 5 comments

related change in helm: https://github.com/helm/helm/pull/5283
cc @briandealwis

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"]

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.

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

abatilo picture abatilo  路  4Comments

garvincasimir picture garvincasimir  路  4Comments

achedeuzot picture achedeuzot  路  3Comments

strikeout picture strikeout  路  4Comments

nathanph picture nathanph  路  3Comments