<p>I am trying to change istio global config parameter <code>initialDelaySeconds</code> value in  inject-config.yaml</p>

<pre><code>initialDelaySeconds: [[ annotation .ObjectMeta `readiness.status.sidecar.istio.io/initialDelaySeconds`  1  ]]
</code></pre>

<p>when i try below code sample for my <code>initialDelaySeconds</code> i am getting error..</p>

<pre><code>$ kubectl get cm istio-sidecar-injector -n istio-system -o yaml | sed -e "s initialDelaySeconds: 1/ initialDelaySeconds: 10/" | kubectl apply -f -
</code></pre>

<p>Getting below error</p>

<pre><code> sed: -e expression #1, char 28: unknown option to `s'
 error: no objects passed to apply
 error: write /dev/stdout: The pipe has been ended.
</code></pre>

<p>what is correct syntax to change my global parameter in sidecar inject-config.xml</p>

<p>Also below code snippet works for me for <code>rewriteAppHTTPProbe</code></p>

<pre><code>$ kubectl get cm istio-sidecar-injector -n istio-system -o yaml | sed -e "s/ rewriteAppHTTPProbe: false/ rewriteAppHTTPProbe: true/" | kubectl apply -f -
</code></pre>

pappu_kutty
<p>you could just use <code>kubectl edit</code> to edit the configmap:</p>

<pre><code>kubectl edit cm istio-sidecar-injector -n istio-system
</code></pre>
