Description of problem: In a disconnected environment a chartrepo cannot fetch a remote index.yaml file directly from a remote source, hence a (cluster-wide) proxy is used to retrieve the file remotely. However currently the chartrepo's httpClient() does not consider any proxy environment variable. Version-Release number of selected component (if applicable): 4.6 How reproducible: Steps to Reproduce: 1. in a disconnected environment, update the Proxy to use http/https proxy 2. create a HelmChartRepository pointing to a cluster-external chart repo 3. install a Helm release from the Developer Console Actual results: The action fails with "Error retrieving index file for" Expected results: A Helm release is instantiated Additional info:
Verified with OCP v4.7.0-0.nightly-2021-02-04-031352
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633