title: error: error parsing helm/templates/config-map.yaml: error converting YAML to JSON: yaml: line 8: could not find expected ':'
body: <p>I am using the config map and giving the data input as JSON and did the deployment, everything looks good. (able to see the configmaps inside my POD )</p>
  <p>I tried to update the config map without restarting the POD ( it gets updated only if i am passing the data value as properties, not as JSON file).</p>
  <pre><code>apiVersion: v1
  kind: ConfigMap
  metadata:
    name: my-schooltest-app
  data:
    config_dev.json: |-
  {{ .Files.Get &quot;conf/config_dev.json&quot; | indent 4}}
    config_qa.json: |-
  {{ .Files.Get &quot;conf/config_qa.json&quot; | indent 4}} 
  </code></pre>
  <p>kubectl apply -f helm/templates/config-map.yaml</p>
  <p>error: error parsing helm/templates/config-map.yaml: error converting YAML to JSON: yaml: line 8: could not find expected ':'</p>
  <pre><code>{
    &quot;students&quot;: [
      {
        &quot;name&quot;: &quot;test1&quot;,
        &quot;proffesion&quot;: &quot;Engineer&quot;,
        &quot;subjectCodes&quot;: [
          &quot;SOCIAL&quot;,
          &quot;SCIENCE&quot;,
          &quot;MATHS&quot;
        ]
      },
      {
        &quot;name&quot;: &quot;test2&quot;,
        &quot;proffesion&quot;: &quot;Engineer&quot;,
        &quot;subjectCodes&quot;: [
          &quot;ENGLISH&quot;,
          &quot;TAMIL&quot;
        ]
      }
    ],
    &quot;allowedSubjects&quot;: [
      &quot;SOCIAL&quot;,
      &quot;SCIENCE&quot;,
      &quot;MATHS&quot;,
      &quot;ENGLISH&quot;,
      &quot;TAMIL&quot;
    ],
    &quot;school&quot;: &quot;trm&quot;,
    &quot;headmaster&quot;: [
      &quot;Test5&quot;
    ]
  }
  </code></pre>