caas: remove hyphenatedSubdomains support

this is not used since ages now
This commit is contained in:
Girish Ramakrishnan
2020-08-15 18:35:51 -07:00
parent 9996e9a6d7
commit 6310a431dd
6 changed files with 8 additions and 35 deletions

View File

@@ -21,7 +21,6 @@ app.controller('SetupDNSController', ['$scope', '$http', '$timeout', 'Client', f
$scope.instanceId = '';
$scope.isDomain = false;
$scope.isSubdomain = false;
$scope.hyphenatedSubdomains = false;
$scope.advancedVisible = false;
$scope.webServerOrigin = '';
$scope.clipboardDone = false;
@@ -112,8 +111,7 @@ app.controller('SetupDNSController', ['$scope', '$http', '$timeout', 'Client', f
zoneName: '',
tlsConfig: {
provider: 'letsencrypt-prod-wildcard'
},
hyphenatedSubdomains: false
}
};
$scope.setDefaultTlsProvider = function () {
@@ -151,9 +149,7 @@ app.controller('SetupDNSController', ['$scope', '$http', '$timeout', 'Client', f
var provider = $scope.dnsCredentials.provider;
var config = {
hyphenatedSubdomains: $scope.dnsCredentials.hyphenatedSubdomains
};
var config = {};
if (provider === 'route53') {
config.accessKeyId = $scope.dnsCredentials.accessKeyId;