mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[bitnami/airflow] Fix incorrect clone-repositories container generation (#6070)
* [bitnami/airflow] Fix incorrect clone-repositories container generation * Revert version change
This commit is contained in:
@@ -32,4 +32,4 @@ name: airflow
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-airflow
|
||||
- https://airflow.apache.org/
|
||||
version: 9.0.2
|
||||
version: 9.0.3
|
||||
|
||||
@@ -98,12 +98,12 @@ Returns the init container that will clone repositories files from a given list
|
||||
[[ -f "/opt/bitnami/scripts/git/entrypoint.sh" ]] && . /opt/bitnami/scripts/git/entrypoint.sh
|
||||
{{- if .Values.git.dags.enabled }}
|
||||
{{- range .Values.git.dags.repositories }}
|
||||
[[ is_mounted_dir_empty "/dags_{{ include "airflow.git.repository.name" . }}" ]] && git clone {{ .repository }} --branch {{ .branch }} /dags_{{ include "airflow.git.repository.name" . }}
|
||||
is_mounted_dir_empty "/dags_{{ include "airflow.git.repository.name" . }}" && git clone {{ .repository }} --branch {{ .branch }} /dags_{{ include "airflow.git.repository.name" . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.git.plugins.enabled }}
|
||||
{{- range .Values.git.plugins.repositories }}
|
||||
[[ is_mounted_dir_empty "/plugins_{{ include "airflow.git.repository.name" . }}" ]] && git clone {{ .repository }} --branch {{ .branch }} /plugins_{{ include "airflow.git.repository.name" . }}
|
||||
is_mounted_dir_empty "/plugins_{{ include "airflow.git.repository.name" . }}" && git clone {{ .repository }} --branch {{ .branch }} /plugins_{{ include "airflow.git.repository.name" . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user