You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
all the options are available through environment variables, so anyone can configure more options without clogging up the helm chart with all the different git options.
The text was updated successfully, but these errors were encountered:
edevosc2c
changed the title
Sync to kubernetes/git-sync for datadir initialization
Switch to kubernetes/git-sync for datadir initialization
Nov 28, 2023
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 Allow ability to verify host key for git clone of datadir using SSH protocol #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 repositoriesThe text was updated successfully, but these errors were encountered: