<p>I need to install a helm chart with a key/value that is not present in one of the templates and I prefer not to edit the already existing templates.</p>

<p>In particular, I need to change <code>resources.limits.cpu</code> and <code>resources.limits.memory</code> in <code>k8s-job-template.yaml</code> but <code>resources</code> is not even mentioned in that file.</p>

<p>Is there a solution for this?</p>

<p>The only customizations it's possible to make for a Helm chart are those the chart author has written in; you can't make arbitrary additional changes to the YAML files.</p>

<p>(<a href="https://kustomize.io/" rel="nofollow noreferrer">Kustomize</a> allows merges of arbitrary YAML content and is built into recent <code>kubectl</code>, but it doesn't have some of the lifecycle or advanced templating features of Helm.)</p>
