From 0456b8594d179d8317e3dae377705a22f7c6e424 Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 21 Mar 2023 17:30:42 +0000 Subject: [PATCH] matrix-media-repo: Fix incorrect if case for the podmonitor interval setting --- charts/matrix-media-repo/templates/podmonitor.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/matrix-media-repo/templates/podmonitor.yaml b/charts/matrix-media-repo/templates/podmonitor.yaml index ccbc7ac..04a48d0 100644 --- a/charts/matrix-media-repo/templates/podmonitor.yaml +++ b/charts/matrix-media-repo/templates/podmonitor.yaml @@ -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: