Skip to content

Commit

Permalink
merge(#1314): update servicemonitor service labels
Browse files Browse the repository at this point in the history
Update servicemonitor with right service labels
#1314
  • Loading branch information
pregnor committed Jan 4, 2022
2 parents 4d51cb1 + 660a2f3 commit 5aa78c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spot-termination-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: spot-termination-exporter
home: https://banzaicloud.com
sources:
- https://github.com/banzaicloud/banzai-charts
version: 0.0.10
version: 0.0.11
description: Spot Termination exporter Helm chart for Kubernetes
keywords:
- spot
Expand Down
4 changes: 2 additions & 2 deletions spot-termination-exporter/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: {{ template "spotTerminationexporter.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "spotTerminationexporter.name" . }}
app: {{ template "spotTerminationexporter.fullname" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
{{- if .Values.spotTerminationexporter.serviceMonitor.additionalLabels }}
Expand All @@ -20,5 +20,5 @@ spec:
- "{{ $.Release.Namespace }}"
selector:
matchLabels:
app: {{ include "spotTerminationexporter.name" . }}
app: {{ include "spotTerminationexporter.fullname" . }}
{{ end }}

0 comments on commit 5aa78c8

Please sign in to comment.