From d32d4de21c4d3a821ce8037904cf923d62f55429 Mon Sep 17 00:00:00 2001 From: Oleksandr Andriienko Date: Thu, 6 Aug 2020 00:20:39 +0300 Subject: [PATCH] Fix breaking yaml new lines in the strings. 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 d4f450b162..82ae73913c 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}"