k3s/pkg/agent/loadbalancer
Brad Davidson c87e6e5f7e Move proxy dialer out of init() and fix crash
* Fixes issue where proxy support only honored server address via K3S_URL, not CLI or config.
* Fixes crash when agent proxy is enabled, but proxy env vars do not return a proxy URL for the server address (server URL is in NO_PROXY list).
* Adds tests

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2024-01-11 16:12:15 -08:00
..
config.go Replace deprecated ioutil package (#6230) 2022-10-07 17:36:57 -07:00
loadbalancer_test.go Fix tests to not hide failure location in dummp assert functions 2023-04-04 12:02:22 -07:00
loadbalancer.go Fix issue with stale connections to removed LB server 2023-04-04 12:02:22 -07:00
servers_test.go Move proxy dialer out of init() and fix crash 2024-01-11 16:12:15 -08:00
servers.go Move proxy dialer out of init() and fix crash 2024-01-11 16:12:15 -08:00
utility_windows.go Bump golang to 1.18.1 2022-05-11 14:39:07 -07:00
utility.go Use go tcpproxy 2019-07-30 09:53:15 -07:00
utlity_linux.go Update golangci-lint to 1.45.2 2022-04-13 14:48:42 -07:00