From 8664d5748e4b592702837663d331192a2695c940 Mon Sep 17 00:00:00 2001 From: Kingdon Barrett Date: Mon, 8 Jul 2024 12:46:40 -0400 Subject: [PATCH] Fix nginx error related to passthrough TLS (#208) I don't understand why "true" value isn't accepted here, but I have seen this before. The `--enable-ssl-passthrough` parameter is not supposed to accept any value, it's a stand-alone argument. With this change I get my traffic appropriately passed through to backend ingress on a kubevirt cluster that enabled TLS Without it (the change is made on the addon ingress, which is very strange, because that one isn't even configured to use a passthrough annotation... the root ingress controller doesn't seem to care) I get this error: > 400 Bad Request > The plain HTTP request was sent to HTTPS port > --- > nginx Signed-off-by: Kingdon Barrett --- packages/system/ingress-nginx/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/system/ingress-nginx/values.yaml b/packages/system/ingress-nginx/values.yaml index b722e5de..16018ed0 100644 --- a/packages/system/ingress-nginx/values.yaml +++ b/packages/system/ingress-nginx/values.yaml @@ -1,7 +1,7 @@ ingress-nginx: controller: extraArgs: - enable-ssl-passthrough: true + enable-ssl-passthrough: "" image: registry: ghcr.io image: kvaps/ingress-nginx-with-protobuf-exporter/controller