From c93076fd423309217746263da600fbec24009540 Mon Sep 17 00:00:00 2001 From: Ben Jackson Date: Fri, 26 Nov 2021 09:08:50 +1100 Subject: [PATCH] fix: append instead of overwrite --- .../kubectl-build-deploy-dind/scripts/exec-routes-generation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/kubectl-build-deploy-dind/scripts/exec-routes-generation.sh b/images/kubectl-build-deploy-dind/scripts/exec-routes-generation.sh index 17dee0abaa..200eae993d 100644 --- a/images/kubectl-build-deploy-dind/scripts/exec-routes-generation.sh +++ b/images/kubectl-build-deploy-dind/scripts/exec-routes-generation.sh @@ -174,7 +174,7 @@ function generateRoutes() { fi touch /kubectl-build-deploy/${ROUTE_DOMAIN}-values.yaml - ${YQ} eval '{"annotations": .}' <(echo "$ROUTE_ANNOTATIONS") >> ${KUBECTL_BUILDDEPLOY_VALUES_PATH}/${ROUTE_DOMAIN}-values.yaml + ${YQ} eval '{"annotations": .}' <(echo "$ROUTE_ANNOTATIONS") >> /kubectl-build-deploy/${ROUTE_DOMAIN}-values.yaml # ${ROUTE_DOMAIN} is used as a helm release name which be max 53 characters long. # So we need some logic to make sure it's always max 53 characters