<p>I have a custom chart, that should first create a namespace before install dependencies.<br>
How to force Helm first to create namespace before install <a href="https://helm.sh/docs/topics/charts/#managing-dependencies-with-the-dependencies-field" rel="nofollow noreferrer">dependencies?</a> </p>

<p>If you are using a custom chart, if you put a namespace template in there, it will apply that one first.</p>

<p>If you are using a third party chart, you can pull it in as a dependency to a one file chart that creates the namespace.</p>

<p>If you don't need anything special, I believe <code>helm install -n MYNAMESPACE mychart</code> will create a default namespace for you (but not sure, and the behavior may have changed anyway)</p>
