Skip to content
Closed
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
1 change: 1 addition & 0 deletions chart/newsfragments/28822.significant
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The Chart does not allow to use both dags.persistence and dags.gitSync enabled together. This was a problematic combinations anyway and did not work as intended. The Chart now prevents this combination from being used.
4 changes: 4 additions & 0 deletions chart/templates/check-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,7 @@ The sole purpose of this yaml file is it to check the values file is consistent
{{- end }}

{{- end }}

{{- if and .Values.dags.persistence.enabled .Values.dags.gitSync.enabled }}
{{ required "The combination of dags persistence and gitSync has serious performance and atomicity issues. Choose either gitSync or dags persistence but not the two of them together." nil }}
{{- end }}
1 change: 1 addition & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1813,6 +1813,7 @@ dags:
## optional subpath for dag volume mount
subPath: ~
gitSync:
# Enable git sync sidecar for dags. Cannot be set to True together with dags.persistence.enabled = True
enabled: false

# git repo clone url
Expand Down