Skip to content

Commit

Permalink
Merge pull request #112 from BedrockStreaming/fix/monitor-template-in…
Browse files Browse the repository at this point in the history
…dentation

fix(helm): indentation return into monitoring
  • Loading branch information
M4XGO authored Jan 15, 2024
2 parents 1969009 + 3d216ba commit d68962c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions helm/prescaling-exporter/templates/monitor.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.prometheus.monitor.enabled -}}
{{- if .Values.prometheus.monitor.enabled }}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
Expand All @@ -22,9 +22,11 @@ spec:
relabelings:
{{ toYaml .Values.prometheus.monitor.relabelings | nindent 8 }}
{{- end }}
{{- end -}}
{{- end }}

{{- if .Values.victoriametrics.monitor.enabled -}}
---

{{- if .Values.victoriametrics.monitor.enabled }}
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMServiceScrape
metadata:
Expand All @@ -47,4 +49,4 @@ spec:
selector:
matchLabels:
{{- include "prescaling-exporter.selectorLabels" . | nindent 8 }}
{{- end -}}
{{- end }}

0 comments on commit d68962c

Please sign in to comment.