use the app label

This commit is contained in:
Nikolai Rodionov 2023-03-13 14:09:14 +01:00
parent b8856368e7
commit abfbe7472a

View File

@ -10,7 +10,7 @@ service-monitor:
spec: spec:
selector: selector:
matchLabels: matchLabels:
exporter: {{ .label.exporter }} app: {{ .label.app }}
endpoints: endpoints:
- port: {{ .endpoints.port }} - port: {{ .endpoints.port }}
{{ end }} {{ end }}