matrix-media-repo: Remove unused default and reposition interval key

This commit is contained in:
Marcel 2023-03-21 18:50:38 +00:00
parent 0456b8594d
commit 6b0d9c0fd4

View file

@ -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 }}