Skip to content

Commit

Permalink
fix(service monitor): fix config for service monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
Umaaz committed Mar 21, 2024
1 parent a569a25 commit e8f2aa2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/mimir-singleton/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions charts/mimir-singleton/templates/serviceMonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down

0 comments on commit e8f2aa2

Please sign in to comment.