Skip to content

Commit

Permalink
fix(falco-exporter): correct additional labels for servicemonitor
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
  • Loading branch information
leogr authored and poiana committed Aug 3, 2020
1 parent 1769c50 commit 7b9197f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions falco-exporter/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ metadata:
name: {{ include "falco-exporter.fullname" . }}
labels:
{{- include "falco-exporter.labels" . | nindent 4 }}
{{- if .Values.serviceMonitor.additionalLabels }}
{{ toYaml .Values.serviceMonitor.additionalLabels | indent 4 }}
{{- end }}
{{- range $key, $value := .Values.serviceMonitor.additionalLabels }}
{{ $key }}: {{ $value | quote }}
{{- end }}
namespace: {{ .Release.Namespace }}
spec:
endpoints:
Expand Down

0 comments on commit 7b9197f

Please sign in to comment.