kubernetes/git-sync

[Question] Setting up git-sync to get submodules on helm-chart

ImmortalLotus opened this issue · 2 comments

I am using airflow's helm chart, and I have this

gitSync:
    enabled: true
    repo: url_to_repo
    branch: main
    subPath: dags

what do I need to add in order to sync submodules?

I don't know what value the helm chart accepts, but the default submodules behavior is to handle submodules recursively, so it should "just work". Is it possible that the chart is setting --submodules=off ?

as a matter of fact, I asked before I actually tried it out in order to avoid possible stress. thanks!