Add the new exoscale-sos regions

This commit is contained in:
Girish Ramakrishnan
2018-10-27 14:44:13 -07:00
parent c1976d5b13
commit 937e8ce1ed
2 changed files with 11 additions and 1 deletions

View File

@@ -35,6 +35,12 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat
{ name: 'SGP1', value: 'https://sgp1.digitaloceanspaces.com' }
];
$scope.exoscaleSosRegions = [
{ name: 'CH-DK-2', value: 'https://sos-ch-dk-2.exo.io' }, // default
{ name: 'DE-FRA-1', value: 'https://sos-de-fra-1.exo.io' },
{ name: 'AT-VIE-1', value: 'https://sos-at-vie-1.exo.io' }
];
$scope.storageProvider = [
{ name: 'Amazon S3', value: 's3' },
{ name: 'DigitalOcean Spaces', value: 'digitalocean-spaces' },
@@ -238,7 +244,6 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat
backupConfig.region = 'us-east-1';
backupConfig.acceptSelfSignedCerts = $scope.configureBackup.acceptSelfSignedCerts;
} else if (backupConfig.provider === 'exoscale-sos') {
backupConfig.endpoint = 'https://sos-ch-dk-2.exo.io';
backupConfig.region = 'us-east-1';
backupConfig.signatureVersion = 'v4';
} else if (backupConfig.provider === 'digitalocean-spaces') {