Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[stable/minio] Add hook-delete-policy (#2655)
* [stable/minio] Add hook-delete-policy As known, hook resources are not managed by helm directly. In case "helm upgrade" is run against a minio release - it would fail with an error: "Error: pods "<release-name>-minio-create-bucket" already exists". Also, "helm delete" command would not delete the hook pod. So, to make this more convenient, this commit adds a "hook-delete-policy" annotation to the hook to automatically delete hook resources on success. References: - https://github.com/kubernetes/helm/blob/master/docs/charts_hooks.md#hook-resources-are-not-managed-with-corresponding-releases - helm/helm#2692 * Bump chart version
- Loading branch information