13
0
Fork 0
mirror of https://github.com/yannh/kubeconform.git synced 2026-07-02 09:29:30 +00:00

FIX: enable http_proxy environment variable

This commit is contained in:
Christian Brauchli 2021-09-17 09:32:36 +02:00
parent 4544f45fa1
commit dee75355d0

View file

@ -28,6 +28,7 @@ func newHTTPRegistry(schemaPathTemplate string, cacheFolder string, strict bool,
MaxIdleConns: 100,
IdleConnTimeout: 3 * time.Second,
DisableCompression: true,
Proxy: http.ProxyFromEnvironment,
}
if skipTLS {