<p>I am very new to Helm and Kubernetes. I have a use case where, whenever there is a helm upgrade</p>
<pre><code>helm upgrade xxx --values yy.yaml
</code></pre>
<p>I need to trigger invocation of a method in my docker image which is deployed onto the kubernetes pods ,so that i can work on the changes encountered in yy.yaml in the image code . Do we have some way of doing it ? Please help me here.</p>

ysn
<p>Though your problem is not clear to me but i think, You can use helm hook to do the same thing. Please check <a href="https://helm.sh/docs/topics/charts_hooks/" rel="nofollow noreferrer">documentation</a>.
You can certainly use <code>pre-upgrade</code> hook to invoke your function.</p>
