title: Using params with oc patch comand
body: <p>Trying to write an sh script with several oc patch commands and need to parametrize several values.
  Now script looks like:</p>
  <pre><code>oc patch svc svc-ingressgateway --type='json' -p='[{&quot;op&quot;: &quot;add&quot;, &quot;path&quot;: &quot;/spec/ports/-&quot;, &quot;value&quot;: {&quot;name&quot;: &quot;http-8080&quot;,&quot;port&quot;: 8080} }]'
  oc patch vs vs-ingressgateway --type='json' -p='[{&quot;op&quot;: &quot;add&quot;, &quot;path&quot;: &quot;/spec/hosts/-&quot;, &quot;value&quot;: &quot;ingress-http-host.smth.com&quot; }]'
  oc patch gw gw-ingressgateway --type='json' -p='[{&quot;op&quot;: &quot;add&quot;, &quot;path&quot;: &quot;/spec/servers/-&quot;, &quot;value&quot;: { &quot;hosts&quot;: [&quot;ingress-http-host.smth.com&quot;], &quot;port&quot;: {&quot;name&quot;:&quot;http-8080&quot;, &quot;number&quot;:8080,&quot;protocol&quot;:&quot;HTTP&quot;} } }]'
  </code></pre>
  <p>Trying to do smth like this:</p>
  <pre><code>HTTP_HOST='ingress-http-host.smth.com'
  HTTP_PORT='8080'
  oc patch svc svc-ingressgateway --type='json' -p='[{&quot;op&quot;: &quot;add&quot;, &quot;path&quot;: &quot;/spec/ports/-&quot;, &quot;value&quot;: {&quot;name&quot;: &quot;http-${HTTP_PORT}&quot;,&quot;port&quot;: ${HTTP_PORT}} }]'
  oc patch vs vs-ingressgateway --type='json' -p='[{&quot;op&quot;: &quot;add&quot;, &quot;path&quot;: &quot;/spec/hosts/-&quot;, &quot;value&quot;: ${HTTP_HOST} }]'
  oc patch gw gw-ingressgateway --type='json' -p='[{&quot;op&quot;: &quot;add&quot;, &quot;path&quot;: &quot;/spec/servers/-&quot;, &quot;value&quot;: { &quot;hosts&quot;: [${HTTP_HOST}], &quot;port&quot;: {&quot;name&quot;:&quot;http-${HTTP_PORT}&quot;, &quot;number&quot;:${HTTP_PORT},&quot;protocol&quot;:&quot;HTTP&quot;} } }]'
  </code></pre>
  <p>but this is wrong, obviously, because the error appears:</p>
  <p><code>Error from server: admission webhook &quot;pilot.validation.istio.io&quot; denied the request: configuration is invalid: domain name &quot;$HTTP_HOST&quot; invalid (label &quot;$HTTP_HOST&quot; invalid) Error from server: admission webhook &quot;pilot.validation.istio.io&quot; denied the request: configuration is invalid: 2 errors occurred: * short names (non FQDN) are not allowed * domain name &quot;$HTTP_HOST&quot; invalid (label &quot;$HTTP_HOST&quot; invalid)</code></p>
  <p>Please, help, if you know how to do such things</p>