Bug 1918748

Summary: helmchartrepo is not http(s)_proxy-aware
Product: OpenShift Container Platform Reporter: Bram Verschueren <bverschu>
Component: Dev ConsoleAssignee: Bram Verschueren <bverschu>
Status: CLOSED ERRATA QA Contact: Pavel Macik <pmacik>
Severity: medium Docs Contact: Harsh Mishra <hmishra>
Priority: unspecified    
Version: 4.6CC: aos-bugs, bmakam, nmukherj
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, in a disconnected environment, the Helm charts were not displayed in the *Developer Catalog* due to an invalid configuration while fetching code. This issue has been fixed by ensuring that proxy environment variables are considered and the Helm charts are now displayed on the Developer Catalog.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:55:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1919138    

Description Bram Verschueren 2021-01-21 13:55:26 UTC
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:

Comment 3 Pavel Macik 2021-02-17 15:46:19 UTC
Verified with OCP v4.7.0-0.nightly-2021-02-04-031352

Comment 5 errata-xmlrpc 2021-02-24 15:55:12 UTC
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.