Skip to content

Commit

Permalink
Fix nginx config error parsing configmap (aenix-io#200)
Browse files Browse the repository at this point in the history
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 <kingdon+github@tuesdaystudios.com>
  • Loading branch information
kingdonb authored Jul 8, 2024
1 parent dfbc210 commit 7a3e9f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/system/ingress-nginx/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 7a3e9f5

Please sign in to comment.