Bug 1872369 - Configuring Helm Chart Repo requiring TLS client certificates not working
Summary: Configuring Helm Chart Repo requiring TLS client certificates not working
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.6.0
Assignee: Predrag Knezevic
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-25 15:16 UTC by Predrag Knezevic
Modified: 2020-11-16 14:37 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-16 14:37:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Configuring Helm Chart Repo requiring TLS client certificates is working (90.19 KB, image/png)
2020-09-28 11:19 UTC, spathak@redhat.com
no flags Details
Configured Helm Chart Repo requiring TLS client certificates (133.27 KB, image/png)
2020-11-11 12:42 UTC, spathak@redhat.com
no flags Details
Configuring Helm Chart Repo requiring TLS client certificates is working (163.50 KB, image/png)
2020-11-11 12:44 UTC, spathak@redhat.com
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 6347 0 None closed Bug 1872369: Fix reading TLSConfig for HelmChartRepository 2020-12-22 19:03:23 UTC
Red Hat Product Errata RHBA-2020:4987 0 None None None 2020-11-16 14:37:58 UTC

Description Predrag Knezevic 2020-08-25 15:16:26 UTC
Description of problem:

An OpenShift admin can add a 3rd-party HelmChartRepository that requires specifying TLS client certificate and key. such HelmChartReposity CR looks like the following:

apiVersion: helm.openshift.io/v1beta1
kind: HelmChartRepository
metadata:
  name: sample-repo
spec:
  connectionConfig:
     url: https://repo.foo.com
     tlsClientConfig:
      name: helm-tls-configs


How reproducible:

Deploy the above HelmChartRepo in the cluster and try to browse charts from UI

Actual results:

Content of default chart repository at https://github.com/redhat-developer/redhat-helm-charts is display, instead of the content of the custom chart repo.


Expected results:

Charts from the configured repo should be listed.

Comment 3 spathak@redhat.com 2020-09-28 11:19:25 UTC
Created attachment 1717249 [details]
Configuring Helm Chart Repo requiring TLS client certificates is working

Comment 6 Gajanan More 2020-10-22 07:48:52 UTC
Update from @spathak

"I am able to create testing environment but still getting certificate issue which I'm working with app-services team to resolve it, I am successful in hosting helm with nginx but certificate mismatch is happening which I am trying to resolve"

Comment 12 spathak@redhat.com 2020-11-11 12:42:26 UTC
Created attachment 1728307 [details]
Configured Helm Chart Repo requiring TLS client certificates

Comment 13 spathak@redhat.com 2020-11-11 12:44:04 UTC
Created attachment 1728308 [details]
Configuring Helm Chart Repo requiring TLS client certificates is working

Comment 14 spathak@redhat.com 2020-11-11 12:45:43 UTC
Verified on build version: 4.6.0-0.nightly-2020-11-07-035509
Browser version: chrome 84

Comment 16 errata-xmlrpc 2020-11-16 14:37:42 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 (OpenShift Container Platform 4.6.4 bug fix 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/RHBA-2020:4987


Note You need to log in before you can comment on or make changes to this bug.