fix: comment out managed-by, version, and name labels in service monitor configuration

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-03-17 22:54:15 +08:00
parent 413d2ef995
commit 6d363c5975

View File

@ -27,8 +27,8 @@ spec:
- {{ .Release.Namespace | quote }}
selector:
matchLabels:
app.kubernetes.io/managed-by: {{ .Release.Service }}
# app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
app.kubernetes.io/name: {{ .Release.Name }}
# app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
# app.kubernetes.io/name: {{ .Release.Name }}
{{- end }}