diff --git a/nxrm-aws-resiliency/templates/deployment.yaml b/nxrm-aws-resiliency/templates/deployment.yaml index e17baa0..120b1fa 100644 --- a/nxrm-aws-resiliency/templates/deployment.yaml +++ b/nxrm-aws-resiliency/templates/deployment.yaml @@ -70,7 +70,7 @@ spec: - name: NEXUS_SECURITY_RANDOMPASSWORD value: "false" - name: INSTALL4J_ADD_VM_PARAMS - value: "-Xms2703m -Xmx2703m -XX:MaxDirectMemorySize=2703m -Dnexus.licenseFile=/nxrm-secrets/{{ .Values.secret.license.alias }} \ + value: "{{ .Values.deployment.container.env.install4jAddVmParams }} -Dnexus.licenseFile=/nxrm-secrets/{{ .Values.secret.license.alias }} \ -Dnexus.datastore.enabled=true -Djava.util.prefs.userRoot=${NEXUS_DATA}/javaprefs \ -Dnexus.datastore.nexus.jdbcUrl=jdbc:postgresql://${DB_HOST}:{{ .Values.deployment.container.env.nexusDBPort }}/${DB_NAME} \ -Dnexus.datastore.nexus.username=${DB_USER} \ diff --git a/nxrm-aws-resiliency/values.yaml b/nxrm-aws-resiliency/values.yaml index 6eba08e..3849961 100644 --- a/nxrm-aws-resiliency/values.yaml +++ b/nxrm-aws-resiliency/values.yaml @@ -25,6 +25,7 @@ deployment: env: nexusDBName: nexus nexusDBPort: 3306 + install4jAddVmParams: "-Xms2703m -Xmx2703m" requestLogContainer: image: repository: busybox