<p>I am trying to parse a helm chart YAML file using python. The file contains some curly braces, that's why I am unable to parse the YAML file.</p>
<p>a sample YAML file</p>
<pre><code>apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ .Values.nginx.name }}-config-map
  labels:
    app: {{ .Values.nginx.name }}-config-map
data:
  SERVER_NAME: 12.121.112.12
  CLIENT_MAX_BODY: 500M
  READ_TIME_OUT: '500000'
</code></pre>
<p>Basically, I could not figure out how to ignore the values present at right side.</p>
<p>Thank you,</p>

<p>You would have to write an implementation of Go's <code>text/template</code> library in Python. A better option is probably to push your content through <code>helm template</code> first and then parse it.</p>
