Skip to content

Commit

Permalink
fix: append instead of overwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
shreddedbacon committed Nov 25, 2021
1 parent 6636eb6 commit c93076f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c93076f

Please sign in to comment.