From fcb73554c91add248aa969158def20f94dd7a371 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Krupa?= Date: Thu, 1 Jul 2021 17:24:35 +0200 Subject: [PATCH] Update podmonitor.yaml `targetPort` is deprecated since prometheus-operator 0.38.0 as per https://github.com/prometheus-operator/prometheus-operator/blob/master/CHANGELOG.md#0380--2020-03-20 Signed-off-by: paulfantom --- manifests/monitoring/monitoring-config/podmonitor.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/monitoring/monitoring-config/podmonitor.yaml b/manifests/monitoring/monitoring-config/podmonitor.yaml index 2f72d47e..7838272a 100644 --- a/manifests/monitoring/monitoring-config/podmonitor.yaml +++ b/manifests/monitoring/monitoring-config/podmonitor.yaml @@ -21,4 +21,4 @@ spec: - image-automation-controller - image-reflector-controller podMetricsEndpoints: - - targetPort: http-prom + - port: http-prom