From 3eaa0f718b7361e86050e77bc00ab81c65308eef Mon Sep 17 00:00:00 2001 From: cospeedster <52749645+cospeedster@users.noreply.github.com> Date: Mon, 1 Jul 2024 16:24:42 +0200 Subject: [PATCH 1/2] fix: Fixed label for service monitor --- apigateway/helm/templates/_helper.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apigateway/helm/templates/_helper.tpl b/apigateway/helm/templates/_helper.tpl index bf26715..06d3eaa 100644 --- a/apigateway/helm/templates/_helper.tpl +++ b/apigateway/helm/templates/_helper.tpl @@ -125,5 +125,5 @@ Renders the license config name or secret. If not specified, it will be the defa Renders the service name for service monitoring. If not specified, it will be the default name. */}} {{- define "apigateway.monitorServiceName" -}} - {{- default ( printf "%s-%s" (include "common.names.fullname" . ) "-rt") .Values.serviceMonitor.serviceName }} -{{- end }} \ No newline at end of file + {{- default ( printf "%s-%s" (include "common.names.fullname" . ) "rt") .Values.serviceMonitor.serviceName }} +{{- end }} From 9583671adf06757bf641c1666c80cfff514a3f79 Mon Sep 17 00:00:00 2001 From: cospeedster <52749645+cospeedster@users.noreply.github.com> Date: Thu, 4 Jul 2024 10:10:16 +0200 Subject: [PATCH 2/2] fix: Fixed label for service monitor Therefore, please change the "printf" ... `( printf "%s-rt" (include "common.names.fullname" . ) )` _Originally posted by @thomas-2020 in https://github.com/SoftwareAG/webmethods-helm-charts/issues/101#issuecomment-2208211237_ #101 --- apigateway/helm/templates/_helper.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apigateway/helm/templates/_helper.tpl b/apigateway/helm/templates/_helper.tpl index 06d3eaa..4e0e061 100644 --- a/apigateway/helm/templates/_helper.tpl +++ b/apigateway/helm/templates/_helper.tpl @@ -125,5 +125,5 @@ Renders the license config name or secret. If not specified, it will be the defa Renders the service name for service monitoring. If not specified, it will be the default name. */}} {{- define "apigateway.monitorServiceName" -}} - {{- default ( printf "%s-%s" (include "common.names.fullname" . ) "rt") .Values.serviceMonitor.serviceName }} + {{- default ( printf "%s-rt" (include "common.names.fullname" . ) ) .Values.serviceMonitor.serviceName }} {{- end }}