title: k8s: error converting YAML to JSON: yaml: line 33: found character that cannot start any token
body: <p>hope you are doing fine,</p>
  <p>i got that error :error:</p>
  <p><code>error converting YAML to JSON: yaml: line 33: found character that cannot start any token</code></p>
  <p>while trying to deploy this cronjob on my k8s cluster, can  you please check and let me know if you have any clues about the reason of having this error ?</p>
  <p>the file is as follows:</p>
  <pre><code>---
  apiVersion: batch/v1beta1
  kind: CronJob
  metadata:
    name: resourcecleanup
  spec:
    # 10:00 UTC == 1200 CET
    schedule: '0 10 * * 1-5'
    jobTemplate:
      spec:
        template:
          metadata:
            annotations:
              iam.amazonaws.com/role: arn:aws:iam::%%AWS_ACCOUNT_NUMBER%%:role/k8s/pod/id_ResourceCleanup
          spec:
            containers:
            - name: resourcecleanup
              image: cloudcustodian/c7n
              args:
                  - run
                  - -v
                  - -s
                  - /tmp
                  - -f
                  - /tmp/.cache/cloud-custodian.cache
                  - /home/custodian/delete-unused-ebs-volumes-policies.yaml
              volumeMounts:
                  - name: cleanup-policies
                    mountPath: /home/custodian/delete-unused-ebs-volumes-policies.yaml
                    subPath: delete-unused-ebs-volumes-policies.yaml
              env:
                  - name: AWS_DEFAULT_REGION
                    value: %%AWS_REGION%%
            volumes:
                  - name: cleanup-policies
                    configMap:
                     name: cleanup-policies
            restartPolicy: Never
  
  ---
  </code></pre>