From 89b836987587c3d78020f1afb10d13ef3523e7bb Mon Sep 17 00:00:00 2001 From: Brett Maton Date: Thu, 4 Jan 2024 13:26:37 +0000 Subject: [PATCH] fix: Fix YAML scalar block type `|-` renders newlines from YAML definition which is breaking the java options, rpleace with `>-` which strips the addtional newlines --- nexus-repository-manager/tests/deployment_test.yaml | 2 +- nexus-repository-manager/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nexus-repository-manager/tests/deployment_test.yaml b/nexus-repository-manager/tests/deployment_test.yaml index a6addc8..6e86094 100644 --- a/nexus-repository-manager/tests/deployment_test.yaml +++ b/nexus-repository-manager/tests/deployment_test.yaml @@ -51,7 +51,7 @@ tests: path: spec.template.spec.containers[0].env value: - name: INSTALL4J_ADD_VM_PARAMS - value: |- + value: >- -Xms2703M -Xmx2703M -XX:MaxDirectMemorySize=2703M -XX:+UnlockExperimentalVMOptions diff --git a/nexus-repository-manager/values.yaml b/nexus-repository-manager/values.yaml index 3c366c9..f2aae44 100644 --- a/nexus-repository-manager/values.yaml +++ b/nexus-repository-manager/values.yaml @@ -24,7 +24,7 @@ nexus: # minimum recommended memory settings for a small, person instance from # https://help.sonatype.com/repomanager3/product-information/system-requirements - name: INSTALL4J_ADD_VM_PARAMS - value: |- + value: >- -Xms2703M -Xmx2703M -XX:MaxDirectMemorySize=2703M -XX:+UnlockExperimentalVMOptions