* feat: `helmfile destroy` deletes and purges releases This adds `helmfile destroy` that is basically `helmfile delete --purge`. I've also tweaked the behavior of `delete` and `destroy` for releases with `installed: false`, so that it becomes consistent with other helmfile commands. It now delete releases only when `installed: true` AND the release is already installed. **Why an another command?** Because it's easy to remember, and it also makes it easier to iterate on your helmfile. We've been using `helmfile delete` from the beginning of helmfile, and several months have been passed since we've added `--purge` to it. We noticed that we always prefer to use `--purge` so that we can quickly iterate on helmfile by e.g. `helmfile delete --purge && helmfile sync`. But making `--purge` default makes the `delete` command inconsistent with the helm's `delete`. `destroy`, on the other hand, doesn't have such problem, and is still easy to remember for terraform users. Resolves #511 * Update docs about `helmfile delete` and `helmfile destroy` |
||
|---|---|---|
| .. | ||
| create.go | ||
| create_test.go | ||
| environment.go | ||
| release.go | ||
| release_filters.go | ||
| state.go | ||
| state_exec_tmpl.go | ||
| state_exec_tmpl_test.go | ||
| state_run.go | ||
| state_test.go | ||
| types.go | ||