-
Sub-task
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
None
-
4
-
False
-
-
False
-
Passed
-
-
-
0
-
0.000
-
Very Likely
-
0
-
None
-
Unset
-
Unknown
Description of problem:
We currently have validation which prevents a user from creating a DPA that has multiple BSLs who use the same provider. The history behind this was to prevent conflicts with the internal image backup/restore workflow when we deployed a registry deployment along with velero. With this functionality changed in 1.1, we can likely remove this validation as long as both BSLs aren't set as default.
Version-Release number of selected component (if applicable):
1.1.0
How reproducible:
100%
Steps to Reproduce:
1. Create DPA with 2 `storageLocations` that both have provider `aws`. One should have `default: true` and the other `default: false`
Actual results:
```
status:
conditions:
- lastTransitionTime: '2022-11-23T11:33:05Z'
message: 'more than one backupstoragelocations configured for provider aws '
reason: Error
status: 'False'
type: Reconciled
```
Expected results:
Should pass validation
Additional info: