Change serviceMonitorSelector

This commit is contained in:
SeanOMik 2023-04-24 00:51:09 -04:00
parent 813ad42d7a
commit fbb7996029
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
2 changed files with 9 additions and 0 deletions

View File

@ -66,3 +66,8 @@ spec:
- hosts:
- *prometheus-host
secretName: wildcard-main-tls
prometheusSpec:
serviceMonitorSelector:
matchLabels:
monitorWith: prometheus

View File

@ -35,6 +35,10 @@ spec:
serviceMonitor:
main:
enabled: true
labels:
monitorWith: prometheus
endpoints:
- port: http
scheme: http