<p>I have keycloak running in my cluster so i wanted to change the default context-web path which is auth to somehting like keycloak/auth so i can access it through myhost/keycloak/auth/ 
i added an init container to run this command but it shows me :</p>

<p>Error from server (BadRequest): container "keycloak" in pod "keycloak-6df9d8968d-l7t9b" is waiting to start: PodInitializing</p>

<p>i believe that the command syntax in the init container is wrong because i tried it manually and it worked </p>

<p>Here is the init container :</p>

<pre><code>...
initContainers:
       - name: keycloak-init
         image: busybox
         command: [sed, -i, -e, 's/&lt;web-context&gt;auth&lt;\/web-context&gt;/&lt;web-context&gt;keycloak\/auth&lt;\/web-context&gt;/', /opt/jboss/keycloak/standalone/configuration/standalone.xml]
...
</code></pre>

touati ahmed
<p>The main container is not starting because there is an error in the <code>initContainer</code> container, as you could see from the <code>logs</code>. </p>

<pre><code>sed: /opt/jboss/keycloak/standalone/configuration/standalone.xml: No such file or directory 
</code></pre>

<p>Probably you are forgetting to mount the volume with this file also in the initContainer</p>
