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