Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add dags.gitSync.submodules value #620

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions charts/airflow/templates/_helpers/pods.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 5 additions & 0 deletions charts/airflow/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""
Expand Down