Skip to content

Commit

Permalink
[azure-loganalytics-exporter] fix servicemonitor template
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Blaschke <mblaschke82@gmail.com>
  • Loading branch information
mblaschke committed Dec 22, 2023
1 parent 580ac9e commit 85c42f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion charts/azure-loganalytics-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: azure-loganalytics-exporter
type: application
description: A Helm chart for azure-loganalytics-exporter
home: https://github.com/webdevops/azure-loganalytics-exporter
version: 1.0.6
version: 1.0.7
# renovate: image=webdevops/azure-loganalytics-exporter
appVersion: 23.6.0
keywords:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ spec:
bearerTokenFile: {{ . }}
{{- end }}
{{- with .Values.prometheus.monitor.tlsConfig }}
tlsConfig:
{{- toYaml . | nindent 8 }}
tlsConfig: {{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.prometheus.monitor.proxyUrl }}
proxyUrl: {{ . }}
Expand All @@ -42,12 +41,10 @@ spec:
scrapeTimeout: {{ . }}
{{- end }}
{{- with .Values.prometheus.monitor.relabelings }}
relabelings:
{{- toYaml . | nindent 8 }}
relabelings: {{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.prometheus.monitor.metricRelabelings }}
metricRelabelings:
{{- toYaml . | nindent 8 }}
metricRelabelings: {{- toYaml . | nindent 8 }}
{{- end }}
{{- range $moduleName, $moduleOptions := .Values.prometheus.additionalMonitors }}
{{- if $moduleOptions.enabled }}
Expand All @@ -70,8 +67,7 @@ spec:
bearerTokenFile: {{ . }}
{{- end }}
{{- with $.Values.prometheus.monitor.tlsConfig }}
tlsConfig:
{{- toYaml . | nindent 8 }}
tlsConfig: {{- toYaml . | nindent 8 }}
{{- end }}
{{- with $.Values.prometheus.monitor.proxyUrl }}
proxyUrl: {{ . }}
Expand All @@ -87,12 +83,10 @@ spec:
scrapeTimeout: {{ $.Values.prometheus.monitor.scrapeTimeout }}
{{- end }}
{{- with $moduleOptions.relabelings }}
relabelings:
{{- . | nindent 8 }}
relabelings: {{- toYaml . | nindent 8 }}
{{- end }}
{{- with $moduleOptions.metricRelabelings }}
metricRelabelings:
{{- . | nindent 8 }}
metricRelabelings: {{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
{{- end }}
Expand Down

0 comments on commit 85c42f8

Please sign in to comment.