Bug 2089221 - Could not de-select a Git Secret in add and edit forms
Summary: Could not de-select a Git Secret in add and edit forms
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.7
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 4.12.0
Assignee: Avik Kundu
QA Contact: spathak@redhat.com
Shreya Siddhartha
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-23 09:16 UTC by Christoph Jerolimov
Modified: 2023-01-17 19:49 UTC (History)
3 users (show)

Fixed In Version: 4.12
Doc Type: Bug Fix
Doc Text:
* Previously, the users could not deselect a Git secret in add and edit forms. As a result, the resources had to be recreated. This fix resolves the issue by adding the option to choose `No Secret` in the select secret option list. As a result, the users can easily select, deselect, or detach any attached secrets. (link:https://bugzilla.redhat.com/show_bug.cgi?id=2089221[*BZ#2089221*])
Clone Of:
Environment:
Last Closed: 2023-01-17 19:48:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11606 0 None open Bug 2089221: Could not de-select a Git Secret in add and edit forms 2022-05-30 17:33:04 UTC
Red Hat Product Errata RHSA-2022:7399 0 None None None 2023-01-17 19:49:15 UTC

Description Christoph Jerolimov 2022-05-23 09:16:05 UTC
Description of problem:
As a user I want has an option to de-select the Git Secret in the add and edit forms. But the dropdown that shows all possibles Secrets has no option to do this.

Version-Release number of selected component (if applicable):
4.7+

How reproducible:
Always

Steps to Reproduce:
1. Navigate to "Development" perspective, Add, "Import from Git"
2. Enter a git URL (public or private doesn't matter)
3. Open the advanced Git options
4. Select "Source secret" and create a Secret if needed
5. Try to de-select it

After creating the Deployment
6. Right click the Deployment, choice "Edit <deployment-name>"
7. Open the advanced Git options
8. Try to de-select it (same issue)

Actual results:
It's not possible to de-select the secret.

Expected results:
The select should show a clear button when a Secret is selected.

Additional info:
https://www.patternfly.org/v4/components/select onClear?

Comment 2 Christoph Jerolimov 2022-08-03 23:30:26 UTC
Verified on 4.12.0-0.nightly-2022-08-03-175737

Comment 5 errata-xmlrpc 2023-01-17 19:48:59 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.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


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