Describe the bug
AWS BSL cannot have empty region. This is not how it should be according to BSL docs for aws plugin
Region can be queried from aws s3 api or not needed through means such as s3Url
To Reproduce
Steps to reproduce the behavior:
Create Velero CR with region empty
Expected behavior
Velero reconcile
Provide the following logs
Got error reconcile condition on velero object.
region for AWS backupstoragelocation config cannot be empty
Version of operator being used
Additional context
Fix by changing the following
|
if len(bslSpec.Config[Region]) == 0 { |
|
return fmt.Errorf("region for AWS backupstoragelocation config cannot be empty") |
|
} |
Describe the bug
AWS BSL cannot have empty region. This is not how it should be according to BSL docs for aws plugin
Region can be queried from aws s3 api or not needed through means such as
s3UrlTo Reproduce
Steps to reproduce the behavior:
Create Velero CR with region empty
Expected behavior
Velero reconcile
Provide the following logs
Got error reconcile condition on velero object.
region for AWS backupstoragelocation config cannot be emptyVersion of operator being used
Additional context
Fix by changing the following
oadp-operator/controllers/bsl.go
Lines 144 to 146 in 5a5d443