matrix-media-repo: Fix incorrect if case for the podmonitor interval setting

This commit is contained in:
Marcel 2023-03-21 17:30:42 +00:00
parent f721c1c8e4
commit 0456b8594d

View file

@ -11,7 +11,7 @@ spec:
matchNames:
- {{ .Release.Namespace }}
podMetricsEndpoints:
- {{- if .Values.serviceAccount.create }}interval: {{ .Values.podmonitor.interval | default "30s"}}{{- end }}
- {{- if .Values.podmonitor.interval }}interval: {{ .Values.podmonitor.interval | default "30s"}}{{- end }}
path: /metrics
port: metrics
selector: