From 7a3e9f574cdcface14e0a3406d9d62a42445f5ae Mon Sep 17 00:00:00 2001 From: Kingdon Barrett Date: Mon, 8 Jul 2024 12:02:56 -0400 Subject: [PATCH] Fix nginx config error parsing configmap (#200) The error manifests as: W0705 16:07:35.694677 7 configmap.go:431] unexpected error merging defaults: 2 error(s) decoding: * cannot parse 'proxy-connect-timeout' as int: strconv.ParseInt: parsing "10s": invalid syntax * cannot parse 'proxy-read-timeout' as int: strconv.ParseInt: parsing "10s": invalid syntax I came across this trying to understand why my nginx ingress addon config isn't working, (this didn't help, but at least the warning is gone now.) I'll continue to try to debug, but I think this can merge any time Signed-off-by: Kingdon Barrett --- packages/system/ingress-nginx/values.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/system/ingress-nginx/values.yaml b/packages/system/ingress-nginx/values.yaml index 1390e7256..b722e5de5 100644 --- a/packages/system/ingress-nginx/values.yaml +++ b/packages/system/ingress-nginx/values.yaml @@ -32,8 +32,8 @@ ingress-nginx: #real-ip-header: "proxy_protocol" #enable-real-ip: "true" # keep-alive - proxy-connect-timeout: "10s" - proxy-read-timeout: "10s" + proxy-connect-timeout: "10" + proxy-read-timeout: "10" keep-alive-requests: "1000000" upstream-keepalive-requests: "100000" upstream-keepalive-time: '1m'