From 26dc19be2e281c5c2e0e8b8af86aac0bdd201498 Mon Sep 17 00:00:00 2001 From: "A.Bescond" Date: Thu, 13 Oct 2022 08:37:55 +0200 Subject: [PATCH] fix(ingress-nginx): metrics port name change (#1486) --- ingress-nginx.tf | 2 +- modules/aws/ingress-nginx.tf | 2 +- modules/scaleway/ingress-nginx.tf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ingress-nginx.tf b/ingress-nginx.tf index 51a66eef5..81d18ffb1 100644 --- a/ingress-nginx.tf +++ b/ingress-nginx.tf @@ -177,7 +177,7 @@ resource "kubernetes_network_policy" "ingress-nginx_allow_monitoring" { ingress { ports { - port = "http-metrics" + port = "metrics" protocol = "TCP" } diff --git a/modules/aws/ingress-nginx.tf b/modules/aws/ingress-nginx.tf index 76b8f5edb..c56058267 100644 --- a/modules/aws/ingress-nginx.tf +++ b/modules/aws/ingress-nginx.tf @@ -265,7 +265,7 @@ resource "kubernetes_network_policy" "ingress-nginx_allow_monitoring" { ingress { ports { - port = "http-metrics" + port = "metrics" protocol = "TCP" } diff --git a/modules/scaleway/ingress-nginx.tf b/modules/scaleway/ingress-nginx.tf index be559ff15..13b956d2d 100644 --- a/modules/scaleway/ingress-nginx.tf +++ b/modules/scaleway/ingress-nginx.tf @@ -185,7 +185,7 @@ resource "kubernetes_network_policy" "ingress-nginx_allow_monitoring" { ingress { ports { - port = "http-metrics" + port = "metrics" protocol = "TCP" }