Conditional helm hook

4/23/2020

How to run a helm hook based on a condition.

What I want to solve:
I have created a postupgrade hook which will load some data to service A, which is created from a zipped subchart.
Right now it runs every time when an upgrade happened. I want it only run when the service A or the job itself has been upgraded.

Is it possible on helm or k8s level?

-- beatrice
kubernetes
kubernetes-helm

1 Answer

4/23/2020

Not really. It doesn't have enough info to know when that is the case.

-- coderanger
Source: StackOverflow