[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:
Javier J. Salmerón-García
2021-04-12 09:54:20 +02:00
committed by GitHub
parent 947f7ef744
commit e3d3efa3b9
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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 }}