Skip to content

Commit

Permalink
Adjust s3 initial values to match expected (#1455)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibolton336 committed Jun 16, 2022
1 parent 832029f commit 9e00597
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ const valuesHaveUpdate = (values: any, currentStorage: IStorage, isAWS: boolean)
}

const existingS3URL = currentStorage.MigStorage.spec.backupStorageConfig.awsS3Url;
const existingRequireSSLValue = currentStorage.MigStorage.spec.backupStorageConfig.insecure;
const existingRequireSSLValue = !currentStorage.MigStorage.spec.backupStorageConfig.insecure;
const existingCABundleValue =
currentStorage.MigStorage.spec.backupStorageConfig.s3CustomCABundle;
currentStorage.MigStorage.spec.backupStorageConfig.s3CustomCABundle || null;

const valuesUpdatedObject =
values.name !== existingMigStorageName ||
Expand Down

0 comments on commit 9e00597

Please sign in to comment.