Created attachment 1817125 [details]
Many duplicates are created in the dropdown `options`
Description of problem:
While creating the domain mapping, user can create the same domain mapping multiple times.
Prerequisites (if any, like setup, operators/versions):
Install OpenShift Serverless Operator and create Knative Eventing CR
Steps to Reproduce
Select any import flow
Select Serverless Deployment resource type
Click on Advanced Option
Create a domain mapping "domain.org"
Type the same domain mapping again and it will get created
Same domain mapping get created multiple times
It shouldn't create the same domain mappings multiple times, instead, it should ask the user to select an already created one when he tries to create the same again.
Reproducibility (Always/Intermittent/Only Once):
verified on 4.9.0-0.nightly-2021-08-29-010334
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.9.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.