Skip to content

Commit

Permalink
Fix airflow_dags_mount formatting (apache#29296)
Browse files Browse the repository at this point in the history
Co-authored-by: Triomphe Jules, INI-DNA-INF <[email protected]>
  • Loading branch information
JulesTriomphe and Triomphe Jules, INI-DNA-INF authored Feb 2, 2023
1 parent aed5c37 commit cd5a92c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chart/templates/_helpers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,8 @@ server_tls_key_file = /etc/pgbouncer/server.key

{{ define "airflow_dags_mount" -}}
- name: dags
mountPath: {{ (printf "%s/dags" .Values.airflowHome) }}
{{ if .Values.dags.persistence.subPath -}}
mountPath: {{ (printf "%s/dags" .Values.airflowHome) -}}
{{- if .Values.dags.persistence.subPath }}
subPath: {{ .Values.dags.persistence.subPath }}
{{- end }}
readOnly: {{ .Values.dags.gitSync.enabled | ternary "True" "False" }}
Expand Down

0 comments on commit cd5a92c

Please sign in to comment.