fix: add name label to service monitor configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
c2967c3854
commit
5c9f74c609
@ -27,6 +27,6 @@ spec:
|
|||||||
- {{ .Release.Namespace | quote }}
|
- {{ .Release.Namespace | quote }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
Loading…
Reference in New Issue
Block a user