Bug 2061260 - The value of the policyset placement should be filtered space when input cluster label expression
Summary: The value of the policyset placement should be filtered space when input clus...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Advanced Cluster Management for Kubernetes
Classification: Red Hat
Component: Console
Version: rhacm-2.5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: rhacm-2.5
Assignee: James Talton
QA Contact: Xiang Yin
Christopher Dawson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-07 07:59 UTC by yahliu
Modified: 2022-06-09 02:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-09 02:09:07 UTC
Target Upstream Version:
Embargoed:
bot-tracker-sync: rhacm-2.5+


Attachments (Terms of Use)
cluster selector (65.49 KB, image/png)
2022-03-07 07:59 UTC, yahliu
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github stolostron backlog issues 20469 0 None None None 2022-03-07 10:01:23 UTC
Red Hat Product Errata RHSA-2022:4956 0 None None None 2022-06-09 02:09:17 UTC

Description yahliu 2022-03-07 07:59:42 UTC
Created attachment 1864305 [details]
cluster selector

Created attachment 1864305 [details]
cluster selector

Description of problem:

The value of the policyset placement should be filtered space(before/after) when input cluster label expression

Version-Release number of selected component (if applicable):
2.5.0-DOWNSTREAM-2022-03-03-12-02-15

How reproducible:
Always

Steps to Reproduce:
1. Login ACM UI and go to policyset creation page 
2. Click "Create policy set" button and step by step to create
3. Select New placement and input "Cluster label expression"
4. The Values can't trigger space(before/after) 

Actual results:
The values can't be filtered the space

Expected results:
The value of the policyset placement should be filtered space(before/after)

Additional info:

From the back-end: 

```
spec:
  clusterSelector:
    matchExpressions:
    - key: feature.open-cluster-management.io/addon-config-policy-controller
      operator: In
      values:
      - ' available'   <<=========== The space still be in the values so impact the clusterselector is invalid and the policyset no status.  
````

Comment 1 yahliu 2022-03-17 06:45:51 UTC
Retest 2.5.0-DOWNSTREAM-2022-03-14-18-18-07 build. The UX design was changed and the new design is working as expected.

Comment 4 errata-xmlrpc 2022-06-09 02:09:07 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 (Important: Red Hat Advanced Cluster Management 2.5 security updates, images, and bug fixes), 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:4956


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