mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Fix missing helm's metadata labels. (#16305)
Signed-off-by: Weizhe Sun <weizhe.sun@rightcapital.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
447e6d6d66
commit
12754f06ce
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: traefik
|
||||
version: 1.76.0
|
||||
version: 1.76.1
|
||||
appVersion: 1.7.12
|
||||
description: A Traefik based Kubernetes ingress controller with Let's Encrypt support
|
||||
keywords:
|
||||
|
||||
@@ -3,8 +3,12 @@
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
{{- if .Values.metrics.serviceMonitor.labels }}
|
||||
labels:
|
||||
app: {{ template "traefik.name" . }}
|
||||
chart: {{ template "traefik.chart" . }}
|
||||
release: {{ .Release.Name | quote }}
|
||||
heritage: {{ .Release.Service | quote }}
|
||||
{{- if .Values.metrics.serviceMonitor.labels }}
|
||||
{{ toYaml .Values.metrics.serviceMonitor.labels | indent 4}}
|
||||
{{- end }}
|
||||
name: {{ template "traefik.fullname" . }}-prometheus-exporter
|
||||
|
||||
Reference in New Issue
Block a user