From 659b1043bb1dc114e5c2c9cc6817202f4c116aae Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Thu, 20 Jul 2023 17:02:19 +0200 Subject: [PATCH] Fix Airflow installation when defaultAirflowTag is numeric Change-Id: Ibfdfdfa6c582648e48fd4d797a8e0e7bf246209c Signed-off-by: garciadeblas --- installers/install_ngsa.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/install_ngsa.sh b/installers/install_ngsa.sh index ed653c7d..fb86817e 100755 --- a/installers/install_ngsa.sh +++ b/installers/install_ngsa.sh @@ -28,7 +28,7 @@ function install_airflow() { sudo cp ${OSM_DEVOPS}/installers/helm/values/airflow-values.yaml ${OSM_HELM_WORK_DIR} # update airflow-values.yaml to use the right tag echo "Updating Helm values file helm/values/airflow-values.yaml to use defaultAirflowTag: ${OSM_DOCKER_TAG}" - sudo sed -i "s#defaultAirflowTag:.*#defaultAirflowTag: ${OSM_DOCKER_TAG}#g" ${OSM_HELM_WORK_DIR}/airflow-values.yaml + sudo sed -i "s#defaultAirflowTag:.*#defaultAirflowTag: \"${OSM_DOCKER_TAG}\"#g" ${OSM_HELM_WORK_DIR}/airflow-values.yaml echo "Updating Helm values file helm/values/airflow-values.yaml to use defaultAirflowRepository: ${DOCKER_REGISTRY_URL}${DOCKER_USER}/airflow" sudo sed -i "s#defaultAirflowRepository:.*#defaultAirflowRepository: ${DOCKER_REGISTRY_URL}${DOCKER_USER}/airflow#g" ${OSM_HELM_WORK_DIR}/airflow-values.yaml -- 2.25.1