From e8f2aa20c714312f54156bd64bdd55e630cb10c6 Mon Sep 17 00:00:00 2001 From: Ben Donnelly Date: Thu, 21 Mar 2024 17:34:07 +0000 Subject: [PATCH] fix(service monitor): fix config for service monitor --- charts/mimir-singleton/Chart.yaml | 2 +- charts/mimir-singleton/templates/serviceMonitor.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/mimir-singleton/Chart.yaml b/charts/mimir-singleton/Chart.yaml index 292742d..801c89e 100644 --- a/charts/mimir-singleton/Chart.yaml +++ b/charts/mimir-singleton/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.4 +version: 0.1.5 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/mimir-singleton/templates/serviceMonitor.yaml b/charts/mimir-singleton/templates/serviceMonitor.yaml index b95a970..1fb1baa 100644 --- a/charts/mimir-singleton/templates/serviceMonitor.yaml +++ b/charts/mimir-singleton/templates/serviceMonitor.yaml @@ -6,7 +6,7 @@ metadata: name: {{ include "mimir-singleton.fullname" $ }} namespace: {{ .namespace | default $.Release.Namespace | quote }} labels: - {{- include "mimir-singleton.labels" (dict "ctx" $) | nindent 4 }} + {{- include "mimir-singleton.labels" $ | nindent 4 }} {{- with .labels }} {{- toYaml . | nindent 4 }} {{- end }} @@ -24,7 +24,7 @@ spec: {{- end }} selector: matchLabels: - {{- include "mimir-singleton.selectorLabels" (dict "ctx" $) | nindent 6 }} + {{- include "mimir-singleton.selectorLabels" $ | nindent 6 }} matchExpressions: - key: prometheus.io/service-monitor operator: NotIn