From 2b3f008776a53e4ae679fb4b755a3fd121e93823 Mon Sep 17 00:00:00 2001 From: Adam Hackl Date: Thu, 26 Sep 2024 11:25:03 -0400 Subject: [PATCH] fix cert-manager port name is http-metrics --- modules/kubernetes/cert-manager/metrics.alloy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/kubernetes/cert-manager/metrics.alloy b/modules/kubernetes/cert-manager/metrics.alloy index 56d921b..3a0ddef 100644 --- a/modules/kubernetes/cert-manager/metrics.alloy +++ b/modules/kubernetes/cert-manager/metrics.alloy @@ -59,7 +59,7 @@ declare "kubernetes" { "__meta_kubernetes_pod_container_init", ] separator = "@" - regex = coalesce(argument.port_name.value, "metrics") + "@Running@true@false" + regex = coalesce(argument.port_name.value, "http-metrics") + "@Running@true" action = "keep" }