Skip to content

Commit 8fe8c57

Browse files
authored
Fix azure-loganalytics-exporter servicemonitor (#32)
1 parent 60c70a4 commit 8fe8c57

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

charts/azure-loganalytics-exporter/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: azure-loganalytics-exporter
33
type: application
44
description: A Helm chart for azure-loganalytics-exporter
55
home: https://github.com/webdevops/azure-loganalytics-exporter
6-
version: 1.0.3
6+
version: 1.0.4
77
# renovate: image=webdevops/azure-loganalytics-exporter
88
appVersion: 23.6.0
99
keywords:

charts/azure-loganalytics-exporter/templates/prometheus/servicemonitor.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ spec:
6262
params:
6363
{{ tpl (toYaml $moduleOptions.params) $ | nindent 8 }}
6464
{{- end }}
65-
{{- else }}
65+
{{- else if $moduleOptions.params }}
6666
{{ toYaml $moduleOptions.params | nindent 8 }}
6767
{{- end }}
6868
{{- with $.Values.prometheus.monitor.basicAuth }}
@@ -97,9 +97,9 @@ spec:
9797
{{- . | nindent 8 }}
9898
{{- end }}
9999
{{- end }}
100+
{{- end }}
100101
{{- with .Values.prometheus.monitor.targetLabels }}
101102
targetLabels:
102103
{{- toYaml . | nindent 4 }}
103104
{{- end }}
104105
{{- end }}
105-
{{- end }}

0 commit comments

Comments
 (0)