Bug 2071792
| Summary: | Non-kubeadmin user will not have access to openshift-config ns to pull secret/CM for adding private HCR in a namespace | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Debsmita Santra <dsantra> |
| Component: | Dev Console | Assignee: | kmamgain |
| Status: | CLOSED ERRATA | QA Contact: | Sushanta Das <susdas> |
| Severity: | medium | Docs Contact: | Shreya Siddhartha <ssiddhar> |
| Priority: | medium | ||
| Version: | 4.11 | CC: | bkundu, cbremble, cjerolim, dperaza, kmamgain, nmukherj, srr, stevsmit |
| Target Milestone: | --- | ||
| Target Release: | 4.12.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 4.12 | Doc Type: | Bug Fix |
| Doc Text: |
* Previously, the `openshift-config` namespace was hardcoded for the `HelmChartRepository` custom resource, which was the same namespace for the `ProjectHelmChartRepository` custom resource. This prevent users from adding private `ProjectHelmChartRepository` custom resources in their desired namespace. Consquently, users were unable to access secrets and configmaps in the `openshift-config` namespace. This update fixes the project Helm chart repository custom resource definition with a namespace field that can read the secret and configmaps from a namespace of choice by a user with the correct permissions. Additionally, the user can add secrets and configmaps to the accessible namespace, and they can add private Helm cart repositories in the namespace used the creation resources. (link:https://bugzilla.redhat.com/show_bug.cgi?id=2071792[*BZ#2071792*])
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-01-17 19:48:11 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: | |
| Embargoed: | |||
|
Description
Debsmita Santra
2022-04-04 19:41:36 UTC
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 |