helmfile
helmfile copied to clipboard
postinstall hook
Just wanted to have a dedicated issue for this.
Would anyone use it if Helmfile added a new postinstall
hook?
It has been originally proposed by @cdunford in #1291. Althought I thought it was great, I had overwhelmed by all the works I had in Helmfile and forgot to discuss/implementing it.
It will be nice to have postinstall in helmfile. I have a use case where I have to add a label to the namespace after the helm chart is installed, postinstall will come in handy in this case.
It would be good for Helmfile to support both preinstall and postinstall hook. Our use case is when we need to copy a K8S secret from one namespace/release to another namespace/release (in k8s you cannot share secrets across the namespaces), so it should be executed before installation of the second one.
any update here?
Another use-case for pre-install is that some managed k8s providers (e.g. EKS) provision clusters with some things pre-configured, like the default storage class. When we want to deploy a chart that provides other options and want to configure the default, we have to somehow unset the original default first (or in some cases, to just delete the existing one so we can move it into helm).
I'd like to also express interested in preinstall
hook in particular and also all helm hooks in general.
Use-Case: Similar to deleting default storage-class, I want/need to delete the default AWS-CNI before I can sync the custom configured one
+1, it would be super useful!