Skip to content

Commit

Permalink
fix(ingress-nginx): metrics port name change (#1486)
Browse files Browse the repository at this point in the history
  • Loading branch information
redref authored Oct 13, 2022
1 parent 1e63d4f commit 26dc19b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ingress-nginx.tf
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ resource "kubernetes_network_policy" "ingress-nginx_allow_monitoring" {

ingress {
ports {
port = "http-metrics"
port = "metrics"
protocol = "TCP"
}

Expand Down
2 changes: 1 addition & 1 deletion modules/aws/ingress-nginx.tf
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ resource "kubernetes_network_policy" "ingress-nginx_allow_monitoring" {

ingress {
ports {
port = "http-metrics"
port = "metrics"
protocol = "TCP"
}

Expand Down
2 changes: 1 addition & 1 deletion modules/scaleway/ingress-nginx.tf
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ resource "kubernetes_network_policy" "ingress-nginx_allow_monitoring" {

ingress {
ports {
port = "http-metrics"
port = "metrics"
protocol = "TCP"
}

Expand Down

0 comments on commit 26dc19b

Please sign in to comment.