<ul>
<li>I'm using Helm Chart, Kubernetes and containers. </li>
<li>I need to pass a file to the container during postStart.</li>
<li>The file will be used in the postStart script. </li>
<li>The file should change from one deployment to another and should be part of the Helm Chart values.</li>
</ul>

<p>Is the above scenario supported? Any suggestions or examples of how to implement it?</p>

user1015767
<p>Follow the below steps</p>

<ol>
<li>Create a ConfigMap object using the file/script that you want to use in postStart event</li>
<li>Mount the ConfigMap as volume inside the pod</li>
<li>You should be able to access the file/script inside pod/container. </li>
</ol>
