From 0503a3cf75d33d108936fb210ea5e24f315d698e Mon Sep 17 00:00:00 2001 From: LeandroSilva Date: Thu, 7 Nov 2024 15:50:18 +0100 Subject: [PATCH] fix: CARITAS-297-add-site24x7 fix parse error --- templates/userservice/userservice-env-configmap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/userservice/userservice-env-configmap.yaml b/templates/userservice/userservice-env-configmap.yaml index fcd4dbb..933b357 100644 --- a/templates/userservice/userservice-env-configmap.yaml +++ b/templates/userservice/userservice-env-configmap.yaml @@ -105,7 +105,7 @@ data: {{- end }} SPRING_SLEUTH_WEB_ENABLED: {{ .Values.zipkin.enabled | default false | quote }} SPRING_SLEUTH_SAMPLER_PERCENTAGE: {{ .Values.zipkin.samplerPercentage | default "1.0" | quote }} - {{ - if .Values.global.site24x7Enabled }} + {{- if .Values.global.site24x7Enabled }} JAVA_TOOL_OPTIONS: "-javaagent:/opt/apm/apminsight-javaagent.jar -Dapminsight.application.name=userservice-{{ .Release.Name }} -Dapminsight.log.dir=/home/apm" {{ - end }} kind: ConfigMap