<p>Let's say there is a <code>config.xml</code> file outside the chart directory. Can this file be copied to a directory inside the container?</p>

<p>If its inside the chart directory, its pretty easy to use <code>configMap</code> as in</p>

<pre><code>{{ (tpl (.Files.Glob "myconf/*").AsConfig . ) | indent 2 }}
</code></pre>

<p>Since the file is outside chart directory its not supported in helm2(although there is some talk of supporting in helm3).</p>

<p>Thought of putting as in </p>

<pre><code>key: |
  &lt;tag&gt;abc&lt;/tag&gt;
</code></pre>

<p>Then read in the configMap and put as file.</p>

<p>Is there any elgant way to do it?</p>

Zeta
<p>Yes. All examples I see until now use this way.</p>
