Hide Forgot
Description of problem: A non-kubeadmin user will not have access to openshift-config namespace. As a result, the user will not be able to add a private helm chart repository in a ns as it would require adding secret & configmap in the above mentioned namespace. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: The user is not able to access secrets/configmaps in the openshift-config namespace Expected results: The user should be able to add secret & configmap to an accessible namespace and should be able to add private helm chart repository in the namespace using the above created resources. Additional info: https://github.com/openshift/console/blob/master/pkg/helm/chartproxy/repos.go#L41 https://github.com/openshift/api/blob/master/helm/v1beta1/0000_10-project-helm-chart-repository.crd.yaml#L57
Will take a look at this, thanks for the find.
Verified on 4.12.0-ec.2 with a user with limited access (only my own created projects) that I can create a ProjectHelmChartRepository and that I can see the results on the Add > Helm Charts page. @dperaza @dsantra Added a note to the ODC/helm chart sync meeting if we want backport this change.
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.12.0 bug fix and security 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-2022:7399