We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 732a0f0 commit 43099abCopy full SHA for 43099ab
charts/airflow/templates/_helpers/pods.tpl
@@ -85,7 +85,7 @@ EXAMPLE USAGE: {{ include "airflow.init_container.check_db" (dict "Release" .Rel
85
{{- if .Values.airflow.legacyCommands }}
86
- "exec timeout 60s airflow checkdb"
87
{{- else }}
88
- - "exec timeout 60s airflow db check"
+ - "exec bash -c 'timeout 60s airflow db check; exit_code=$?; if [ $exit_code -eq 124 ]; then echo \"Database connection check timed out after 60s\"; elif [ $exit_code -ne 0 ]; then echo \"Database check failed with code $exit_code\"; fi; exit $exit_code'"
89
{{- end }}
90
{{- if .volumeMounts }}
91
volumeMounts:
0 commit comments