title: Modify specific helm toYaml output template
body: <p>I have the following in my dep.yml <code>{{ toYaml .Values.volumes | indent 8 }}</code> which takes an array from <code>values.yml</code> of volumes and then loads it on the dep.yml file.</p>
  
  <p>I want the following result on my dep.yml from the initial array</p>
  
  <pre><code> volumes:
      - name: volume
        persistentVolumeClaim:
          claimName: {{ Release.Name }}-volume-claim
      - name: volume-a
        persistentVolumeClaim:
          claimName: {{ Release.Name }}-volume-a-claim
      - name: volume-b
        persistentVolumeClaim:
          claimName: {{ Release.Name }}-volume-b-claim
  </code></pre>
  
  <p>Adding the <code>{{ Release.Name }}</code> dynamically to the volume claim name for each element of the array.</p>
  
  <p>Is there any way to achieve this modifying the <code>{{ toYaml .Values.volumes | indent 8 }}</code> directive? </p>