fix: add name label to service monitor configuration

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-03-17 23:26:34 +08:00
parent c2967c3854
commit 5c9f74c609

View File

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