jonstacks/Helm Cleanup
Cleans up Helm Releases based on criteria
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| release-name-filter | Only cleanup helm releases that match the following regex (Perl compatible). If you only want to cleanup a single release and know its name, you should probably just run a single `helm uninstall RELEASE_NAME` command instead. | no | — |
| last-modified-older-than | Only clean up helm releases that have not been updated in the last X timeframe (e.g. 1h, 1d, 1w, 1m, 1y). Due to helm only storing Only cleanup helm releases that match the following regex (Perl compatible). If you only want to cleanup a single release and know its name, you should probably just run a single `helm uninstall RELEASE_NAME` command instead. | no | — |
| debug | Show debug output for each chart that is being cleaned up | no | — |
| description | Adds a custom description in the history if keep-history is set to true | no | — |
| dry-run | Simulate an uninstall for each matching release | no | — |
| keep-history | If set to true, will retain release histories and mark them as deleted. This is useful if you want to keep track of what releases were deleted and when. | no | — |
| kube-context | Kube context to use with helm | no | — |
| namespace | Kube namespace to use with helm | no | — |
| no-hooks | If set to true, will prevent hooks from running during uninstall. | no | — |
| timeout | Timeout for the helm release to be fully deleted before moving on to the next release. | no | — |
| wait | Wait for the helm release to be fully deleted before moving on to the next release. It will wait as long as timeout is set to, which is 5 minutes by default, but could change with future helm releases. | no | — |
Outputs
no outputs