From 123ef4334dbf199fc70940cd92edbfe01218cce6 Mon Sep 17 00:00:00 2001 From: Oleksandr Andriienko Date: Thu, 6 Aug 2020 11:43:50 +0300 Subject: [PATCH] Fix breaking yaml new lines in the strings. (#390) Signed-off-by: Oleksandr Andriienko --- olm/addDigests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/olm/addDigests.sh b/olm/addDigests.sh index d4f450b16..82ae73913 100755 --- a/olm/addDigests.sh +++ b/olm/addDigests.sh @@ -119,7 +119,7 @@ do done mv "${CSV_FILE_COPY}" "${CSV_FILE_COPY}.old" - yq -ryY " + yq -rY " ( .spec.relatedImages ) += [${RELATED_IMAGES}] | ( .spec.install.spec.deployments[0].spec.template.spec.containers[0].env ) += [${RELATED_IMAGES_ENV}] " "${CSV_FILE_COPY}.old" > "${CSV_FILE_COPY}"