diff --git a/charts/matrix-media-repo/templates/podmonitor.yaml b/charts/matrix-media-repo/templates/podmonitor.yaml index 31a55e4..ccbc7ac 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.serviceAccount.create }}interval: {{ .Values.podmonitor.interval | default "30s"}}{{- end }} path: /metrics port: metrics selector: