Open edevosc2c opened 1 year ago
Currently, we use a raw git command for cloning the datadir: https://github.com/georchestra/helm-georchestra/blob/main/templates/_bootstrap-georchestra-datadir.tpl
I recently came across an official way of git cloning inside Kubernetes: https://github.com/kubernetes/git-sync
This script has the benefit of offering many useful features for us:
--ssh-known-hosts-file
--max-failures
--add-user
--credential
Currently, we use a raw git command for cloning the datadir: https://github.com/georchestra/helm-georchestra/blob/main/templates/_bootstrap-georchestra-datadir.tpl
I recently came across an official way of git cloning inside Kubernetes: https://github.com/kubernetes/git-sync
This script has the benefit of offering many useful features for us:
--ssh-known-hosts-file
. related to https://github.com/georchestra/helm-georchestra/issues/36--max-failures
--add-user
. may be useful for setting the same UID as the main container--credential
. may be useful for supporting HTTPS (not SSH) based repositories