From 6b0d9c0fd449ec2ea1250b8755b961aecf0cf8dd Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 21 Mar 2023 18:50:38 +0000 Subject: [PATCH] matrix-media-repo: Remove unused default and reposition interval key --- charts/matrix-media-repo/templates/podmonitor.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/matrix-media-repo/templates/podmonitor.yaml b/charts/matrix-media-repo/templates/podmonitor.yaml index 04a48d0..eb50c30 100644 --- a/charts/matrix-media-repo/templates/podmonitor.yaml +++ b/charts/matrix-media-repo/templates/podmonitor.yaml @@ -11,9 +11,9 @@ spec: matchNames: - {{ .Release.Namespace }} podMetricsEndpoints: - - {{- if .Values.podmonitor.interval }}interval: {{ .Values.podmonitor.interval | default "30s"}}{{- end }} - path: /metrics + - path: /metrics port: metrics + {{- if .Values.podmonitor.interval }}interval: {{ .Values.podmonitor.interval }}{{- end }} selector: matchLabels: {{- include "matrix-media-repo.selectorLabels" . | nindent 6 }}