Description of problem: As a user, I want to import multiple resources with a `generateName` so that I can reimport them multiple times. If I try to import more than one resource with a `generateName` attribute the UI doesn't allow that. Version-Release number of selected component (if applicable): 4.10, doesn't tested older versions How reproducible: Always Steps to Reproduce: 1. Navigate to the Import YAM page by clicking the + icon in the top right corner 2. Try to import this YAML for example: apiVersion: primer.gitops.io/v1alpha1 kind: Export metadata: generateName: new-export- spec: method: 'download' --- apiVersion: primer.gitops.io/v1alpha1 kind: Export metadata: generateName: new-export- spec: method: 'download' 3. Press create Actual results: An error message is shown: An error occurred Resources in the same namespace and API group must have unique names Expected results: The import should work similarly to the case where I use two different names. Additional info:
Verified on 4.10.0-0.nightly-2022-01-20-082726
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.10.3 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:0056