From 1ff7ef416643515225f5336534f0684ebe9f03d0 Mon Sep 17 00:00:00 2001 From: Jeffrey Victor Date: Thu, 7 Nov 2024 13:34:38 -0500 Subject: [PATCH] adding in ability to specify a scheme and tlsConfig Signed-off-by: Jeffrey Victor --- charts/tempo/templates/servicemonitor.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/charts/tempo/templates/servicemonitor.yaml b/charts/tempo/templates/servicemonitor.yaml index 395eedf2d7..0a08eab4ba 100644 --- a/charts/tempo/templates/servicemonitor.yaml +++ b/charts/tempo/templates/servicemonitor.yaml @@ -30,6 +30,13 @@ spec: {{- if .Values.serviceMonitor.scrapeTimeout }} scrapeTimeout: {{ .Values.serviceMonitor.scrapeTimeout }} {{- end }} + {{- if .Values.serviceMonitor.scheme }} + scheme: {{ .Values.serviceMonitor.scheme }} + {{- end }} + {{- if .Values.serviceMonitor.tlsConfig }} + tlsConfig: + {{- toYaml .Values.serviceMonitor.tlsConfig | nindent 8 }} + {{- end }} - port: jaeger-metrics {{- if .Values.serviceMonitor.interval }} interval: {{ .Values.serviceMonitor.interval }} @@ -37,4 +44,11 @@ spec: {{- if .Values.serviceMonitor.scrapeTimeout }} scrapeTimeout: {{ .Values.serviceMonitor.scrapeTimeout }} {{- end }} + {{- if .Values.serviceMonitor.scheme }} + scheme: {{ .Values.serviceMonitor.scheme }} + {{- end }} + {{- if .Values.serviceMonitor.tlsConfig }} + tlsConfig: + {{- toYaml .Values.serviceMonitor.tlsConfig | nindent 8 }} + {{- end }} {{- end }}