title: Convert yaml to property file in helm template
body: <p>I would like to convert a part of the structure in values.yaml to properties file in a config map.</p>
  
  <p>Is it possible to convert a yaml structure like:</p>
  
  <pre><code>field1: value1
  field2:
     field21: value21
     field22: value22
  </code></pre>
  
  <p>into</p>
  
  <pre><code>field1=value1
  field2.field21=value21
  field2.field22=value22
  </code></pre>
  
  <p>with Helm templating functions? </p>