title: Kustomize patch with string literal: Double quotes replaced with single quotes
body: <p>When adding a kustomize patch to a <code>kustomization.yaml</code> the double quotes are replaced with single quotes that lead to error</p>
  <p>I am using the following:</p>
  <pre class="lang-sh prettyprint-override"><code>kustomize edit add patch --patch &quot;- op: add\n  path: /metadata/annotations/argocd.argoproj.io~1sync-wave\n. value: 1&quot; --kind Deployment
  </code></pre>
  <p>is converted to</p>
  <pre class="lang-yaml prettyprint-override"><code>- patch: '- op: add\n  path: /metadata/annotations/argocd.argoproj.io~1sync-wave\n value: 1'
    target:
      kind: Deployment
  </code></pre>
  <p>in the <code>kustomization.yaml</code></p>
  <p>This leads to the following error when you do <code>kustomize build</code></p>
  <pre><code>Error: trouble configuring builtin PatchTransformer with config: `
  patch: ‘- op: add\n path: /metadata/annotations/argocd.argoproj.io~1sync-wave\n  value:
    1’
  target:
    kind: Deployment
  `: unable to parse SM or JSON patch from [- op: add\n path: /metadata/annotations/argocd.argoproj.io~1sync-wave\n  value: 1]
  </code></pre>
  <p>How do I make sure that the patch in <code>kustomization.yaml</code> has double quotes instead?</p>