title: Why is my "gcloud beta run services replace" command failing?
body: <p>I have this YAML (with the parts in square brackets replaced with the correct content):</p>
  
  <pre><code>apiVersion: serving.knative.dev/v1
  kind: Service
  metadata:
    name: ty-platform
  spec:
    template:
      spec:
        containers:
        - image: gcr.io/[project name]/endpoints-runtime-serverless:[site URL]-2020-03-20r8
          env:
            - name: ESPv2_ARGS
              value: ^++^--cors_preset=basic++--cors_allow_origin=[site]++--cors_allow_headers="Authorization"
  </code></pre>
  
  <p>which I try to upload with this command</p>
  
  <p><code>gcloud beta run services replace service_replace.yaml --platform managed --region us-central1</code></p>
  
  <p>(after having already deployed successfully with <code>gcloud run deploy</code>).</p>
  
  <p>The command runs successfully but upon testing it's clear that the replacement has failed. Namely, the ESPv2_ARGS variable is not created or updated. What could I be doing wrong?</p>
  
  <p>The service in question is an ESPv2 image for a Cloud Endpoint.</p>