<pre><code>initContainers:
  - name: git-clone-openg2p
    image: bitnami/odoo
    command: [&quot;/bin/sh&quot;,&quot;-c&quot;]
    args: ['apt-get git &amp;&amp; git clone https://github.com/repo.git &amp;&amp; git clone https://github.com/repo.git /bitnami/odoo']
    volumeMounts:
      - name: odoo-data
        mountPath: /bitnami/odoo
</code></pre>
<p>I need to add add-ons by cloning git repository into <code>/bitnami/odoo</code>.
This is my init container configuration in yaml file. When I <code>helm install</code> and create pod it says &quot;Invalid operation git&quot; in the logs of pod.</p>

<p>As far as I know, there is no command <code>apt-get get</code>, you probably want:</p>
<pre><code>apt-get install -y git
</code></pre>
