diff --git a/charts/airflow/templates/_helpers/pods.tpl b/charts/airflow/templates/_helpers/pods.tpl index 0e5bdd8b..3cacda28 100644 --- a/charts/airflow/templates/_helpers/pods.tpl +++ b/charts/airflow/templates/_helpers/pods.tpl @@ -228,6 +228,8 @@ EXAMPLE USAGE: {{ include "airflow.container.git_sync" (dict "Release" .Release value: "true" - name: GIT_SYNC_MAX_SYNC_FAILURES value: {{ .Values.dags.gitSync.maxFailures | quote }} + - name: GIT_SYNC_SUBMODULES + value: {{ .Values.dags.gitSync.submodules | quote }} {{- if .Values.dags.gitSync.sshSecret }} - name: GIT_SYNC_SSH value: "true" diff --git a/charts/airflow/values.yaml b/charts/airflow/values.yaml index 9b7b987d..65ce9370 100644 --- a/charts/airflow/values.yaml +++ b/charts/airflow/values.yaml @@ -1360,6 +1360,11 @@ dags: ## syncTimeout: 120 + ## the git submodule behavior + ## - allowed values: "recursive", "shallow", "off" + ## + submodules: recursive + ## the name of a pre-created Secret with git http credentials ## httpSecret: ""