title: yaml parse error helm
body: <p>im getting </p>
  
  <blockquote>
    <p>Error: YAML parse error on myApp-infra/templates/my.yaml: error
    converting YAML to JSON: yaml: line 20: found unexpected ':'</p>
  </blockquote>
  
  <p>below is  helm install --dry-run --debug ./myApp output</p>
  
  <pre><code>kind: Service
  apiVersion: v1
  metadata:
    name: spark-slave-service
    labels:
      app: spark-slave
  spec:
    selector:
      app: spark-slave
    clusterIP: None
  ---
  apiVersion: apps/v1beta2
  kind: StatefulSet
  metadata:
    name: spark-slave-deployment
  spec:
    selector:
      matchLabels:
        app: spark-slave
    serviceName: "spark-slave-service"
    replicas: 3 # tells deployment to run 2 pods matching the template
    template: # create pods using pod definition in this template
      metadata:
        labels:
          app: spark-slave
      spec:
        containers:
        - name: spark-slave-container
          image: &lt;image url&gt;
          command: [&lt;mycommand&gt;
          volumeMounts:
          - mountPath: "/tmp/data"
            name: slave-pvc
    volumeClaimTemplates:
    - metadata:
        labels:
          app: spark-slave
        name: slave-pvc
      spec:
        accessModes:
          - ReadWriteOnce
        resources:
          requests:
            storage: 1Gi
        storageClassName: "rook-block"
  </code></pre>