We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c478cd2 commit d01d9beCopy full SHA for d01d9be
controllers/registry.go
@@ -444,13 +444,14 @@ func (r *DPAReconciler) getAWSRegistryEnvVars(bsl *velerov1.BackupStorageLocatio
444
awsEnvVars[i].Value = AWSSecretKey
445
}
446
447
- if awsEnvVars[i].Name == RegistryStorageS3RegionendpointEnvVarKey && bsl.Spec.Config[S3URL] != "" {
+ if awsEnvVars[i].Name == RegistryStorageS3RegionendpointEnvVarKey {
448
awsEnvVars[i].Value = bsl.Spec.Config[S3URL]
449
450
451
- if awsEnvVars[i].Name == RegistryStorageS3SkipverifyEnvVarKey && bsl.Spec.Config[InsecureSkipTLSVerify] != "" {
+ if awsEnvVars[i].Name == RegistryStorageS3SkipverifyEnvVarKey {
452
awsEnvVars[i].Value = bsl.Spec.Config[InsecureSkipTLSVerify]
453
454
+
455
456
return awsEnvVars, nil
457
0 commit comments