diff --git a/.gitignore b/.gitignore index f2f75b6e4..cfb6fbc1b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ acs-engine.exe acs-engine _output/ +_input/ .vscode .DS_Store test/user.env diff --git a/acs-engine.go b/acs-engine.go index cc303d5a7..7733f706f 100644 --- a/acs-engine.go +++ b/acs-engine.go @@ -47,7 +47,14 @@ func writeArtifacts(containerService *api.ContainerService, apiVersion, template properties := &containerService.Properties if properties.OrchestratorProfile.OrchestratorType == vlabs.Kubernetes { directory := path.Join(artifactsDir, "kubeconfig") - for _, location := range acsengine.AzureLocations { + var locations []string + if containerService.Location != "" { + locations = []string{containerService.Location} + } else { + locations = acsengine.AzureLocations + } + + for _, location := range locations { b, gkcerr := acsengine.GenerateKubeConfig(properties, location) if gkcerr != nil { return gkcerr @@ -56,6 +63,7 @@ func writeArtifacts(containerService *api.ContainerService, apiVersion, template return e } } + } if e := saveFileString(artifactsDir, "ca.key", properties.CertificateProfile.GetCAPrivateKey()); e != nil { diff --git a/parts/dcosagentresourcesvmas.t b/parts/dcosagentresourcesvmas.t index c43d6717f..c442ecdef 100644 --- a/parts/dcosagentresourcesvmas.t +++ b/parts/dcosagentresourcesvmas.t @@ -1,6 +1,6 @@ { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('{{.Name}}NSGName')]", "properties": { "securityRules": [ @@ -25,7 +25,7 @@ ,"[variables('{{.Name}}LbID')]" {{end}} ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('{{.Name}}VMNamePrefix'), 'nic-', copyIndex(variables('{{.Name}}Offset')))]", "properties": { {{if .IsCustomVNET}} @@ -57,7 +57,7 @@ {{if .IsManagedDisks}} { "apiVersion": "[variables('apiVersionStorageManagedDisks')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('{{.Name}}AvailabilitySet')]", "properties": { "platformFaultDomainCount": "3", @@ -76,7 +76,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('{{.Name}}StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('{{.Name}}StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('{{.Name}}AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('{{.Name}}VMSize')].storageAccountType]" @@ -93,7 +93,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(variables('dataStorageAccountPrefixSeed')),variables('{{.Name}}StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(variables('dataStorageAccountPrefixSeed')),variables('{{.Name}}StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('{{.Name}}DataAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('{{.Name}}VMSize')].storageAccountType]" @@ -103,7 +103,7 @@ {{end}} { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('{{.Name}}AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -112,7 +112,7 @@ {{if IsPublic .Ports}} { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('{{.Name}}IPAddressName')]", "properties": { "dnsSettings": { @@ -127,7 +127,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('{{.Name}}IPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('{{.Name}}LbName')]", "properties": { "backendAddressPools": [ @@ -180,7 +180,7 @@ { "creationSource" : "[concat('acsengine-', variables('{{.Name}}VMNamePrefix'), copyIndex(variables('{{.Name}}Offset')))]" }, - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('{{.Name}}VMNamePrefix'), copyIndex(variables('{{.Name}}Offset')))]", "properties": { "availabilitySet": { diff --git a/parts/dcosagentresourcesvmss.t b/parts/dcosagentresourcesvmss.t index 6e38f98f5..7ff19d88a 100644 --- a/parts/dcosagentresourcesvmss.t +++ b/parts/dcosagentresourcesvmss.t @@ -1,6 +1,6 @@ { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('{{.Name}}NSGName')]", "properties": { "securityRules": [ @@ -19,7 +19,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('{{.Name}}StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('{{.Name}}StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('{{.Name}}AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('{{.Name}}VMSize')].storageAccountType]" @@ -30,7 +30,7 @@ {{if IsPublic .Ports}} { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('{{.Name}}IPAddressName')]", "properties": { "dnsSettings": { @@ -45,7 +45,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('{{.Name}}IPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('{{.Name}}LbName')]", "properties": { "backendAddressPools": [ @@ -101,7 +101,7 @@ { "creationSource" : "[concat('acsengine-', variables('{{.Name}}VMNamePrefix'), '-vmss')]" }, - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('{{.Name}}VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { diff --git a/parts/dcosmasterresources.t b/parts/dcosmasterresources.t index 519feb152..a6f943cf6 100644 --- a/parts/dcosmasterresources.t +++ b/parts/dcosmasterresources.t @@ -3,7 +3,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -15,7 +15,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountExhibitorName')]", "properties": { "accountType": "Standard_LRS" @@ -28,7 +28,7 @@ "dependsOn": [ {{GetVNETSubnetDependencies}} ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -45,14 +45,14 @@ {{end}} { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -67,7 +67,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -97,7 +97,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -112,7 +112,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterNSGName')]", "properties": { "securityRules": [ @@ -148,7 +148,7 @@ "[variables('masterLbID')]", "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -195,7 +195,7 @@ { "creationSource" : "[concat('acsengine-', variables('masterVMNamePrefix'), copyIndex())]" }, - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -255,7 +255,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), sub(variables('masterCount'), 1))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), sub(variables('masterCount'), 1), '/waitforleader')]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/parts/dcosmastervars.t b/parts/dcosmastervars.t index 80e41b7bd..82001d656 100644 --- a/parts/dcosmastervars.t +++ b/parts/dcosmastervars.t @@ -74,8 +74,13 @@ "osImageSKU": "16.04.0-LTS", "osImageVersion": "16.04.201606270", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", - "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location, variables('orchestratorName')))]", + "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location'),variables('orchestratorName')))]", "storageAccountPrefixes": [ "0", "6", "c", "i", "o", "u", "1", "7", "d", "j", "p", "v", "2", "8", "e", "k", "q", "w", "3", "9", "f", "l", "r", "x", "4", "a", "g", "m", "s", "y", "5", "b", "h", "n", "t", "z" ], "storageAccountPrefixesCount": "[length(variables('storageAccountPrefixes'))]", "storageAccountType": "Standard_LRS", diff --git a/parts/kubernetesagentresourcesvmas.t b/parts/kubernetesagentresourcesvmas.t index d05d4e77b..f7badb819 100644 --- a/parts/kubernetesagentresourcesvmas.t +++ b/parts/kubernetesagentresourcesvmas.t @@ -184,7 +184,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('{{.Name}}VMNamePrefix'), copyIndex(variables('{{.Name}}Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "type": "Microsoft.Compute/virtualMachines/extensions", "name": "[concat(variables('{{.Name}}VMNamePrefix'), copyIndex(variables('{{.Name}}Offset')),'/cse', copyIndex(variables('{{.Name}}Offset')))]", "properties": { diff --git a/parts/kubernetesmasterresources.t b/parts/kubernetesmasterresources.t index dd013f4f6..4e96c2619 100644 --- a/parts/kubernetesmasterresources.t +++ b/parts/kubernetesmasterresources.t @@ -395,7 +395,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "type": "Microsoft.Compute/virtualMachines/extensions", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(),'/cse', copyIndex())]", "properties": { diff --git a/parts/kubernetesmastervars.t b/parts/kubernetesmastervars.t index 4ca5789ec..903932a33 100644 --- a/parts/kubernetesmastervars.t +++ b/parts/kubernetesmastervars.t @@ -36,8 +36,13 @@ "apiVersionStorageManagedDisks": "2016-04-30-preview", {{end}} "location": "[resourceGroup().location]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", "masterAvailabilitySet": "[concat('master-availabilityset-', variables('nameSuffix'))]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),resourceGroup().location, variables('orchestratorName')))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),variables('location'),variables('orchestratorName')))]", "masterStorageAccountName": "[concat(variables('storageAccountBaseName'), 'mstr0')]", "nameSuffix": "[parameters('nameSuffix')]", "orchestratorName": "k8s", @@ -50,7 +55,7 @@ "routeTableID": "[resourceId('Microsoft.Network/routeTables', variables('routeTableName'))]", "sshNatPorts": [22,2201,2202,2203,2204], "sshKeyPath": "[concat('/home/',variables('username'),'/.ssh/authorized_keys')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", "c", "i", "o", "u", "1", "7", "d", "j", "p", "v", "2", "8", "e", "k", "q", "w", "3", "9", "f", "l", "r", "x", "4", "a", "g", "m", "s", "y", "5", "b", "h", "n", "t", "z" ], "storageAccountPrefixesCount": "[length(variables('storageAccountPrefixes'))]", "vmsPerStorageAccount": 20, diff --git a/parts/kuberneteswinagentresourcesvmas.t b/parts/kuberneteswinagentresourcesvmas.t index c3ad23517..c38a17c28 100644 --- a/parts/kuberneteswinagentresourcesvmas.t +++ b/parts/kuberneteswinagentresourcesvmas.t @@ -147,8 +147,8 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('{{.Name}}VMNamePrefix'), copyIndex(variables('{{.Name}}Offset')))]" ], - "location": "[resourceGroup().location]", - "name": "[concat(variables('{{.Name}}VMNamePrefix'), copyIndex(variables('{{.Name}}Offset')), '/cse')]", + "location": "[variables('location')]", + "name": "[concat(variables('{{.Name}}VMNamePrefix'), copyIndex(variables('{{.Name}}Offset')), '/cse')]", "properties": { "publisher": "Microsoft.Compute", "type": "CustomScriptExtension", diff --git a/parts/masterparams.t b/parts/masterparams.t index 99117917f..1f53d182d 100644 --- a/parts/masterparams.t +++ b/parts/masterparams.t @@ -59,6 +59,13 @@ "description": "The azure deploy environment. Currently support: AzureCloud, AzureChinaCloud" }, "type": "string" + }, + "location": { + "defaultValue": "{{GetLocation}}", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" } {{if GetClassicMode}} ,{{template "classicparams.t" .}} diff --git a/parts/swarmagentresourcesclassic.t b/parts/swarmagentresourcesclassic.t index 3b6d8decd..c1c945f15 100644 --- a/parts/swarmagentresourcesclassic.t +++ b/parts/swarmagentresourcesclassic.t @@ -8,7 +8,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(copyIndex(),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(copyIndex(),variables('storageAccountPrefixesCount'))],variables('storageAccountBaseClassicName'),copyIndex(1))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('{{.Name}}VMSize')].storageAccountType]" @@ -19,7 +19,7 @@ {{if IsPublic .Ports}} { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('{{.Name}}IPAddressName')]", "properties": { "dnsSettings": { @@ -34,7 +34,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('{{.Name}}IPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('{{.Name}}LbName')]", "properties": { "backendAddressPools": [ @@ -90,7 +90,7 @@ { "creationSource" : "[concat('acsengine-', variables('{{.Name}}VMNamePrefix'), '-vmss')]" }, - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('{{.Name}}VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { diff --git a/parts/swarmagentresourcesvmas.t b/parts/swarmagentresourcesvmas.t index f8962456a..d212c670e 100644 --- a/parts/swarmagentresourcesvmas.t +++ b/parts/swarmagentresourcesvmas.t @@ -12,7 +12,7 @@ ,"[variables('{{.Name}}LbID')]" {{end}} ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('{{.Name}}VMNamePrefix'), 'nic-', copyIndex(variables('{{.Name}}Offset')))]", "properties": { "ipConfigurations": [ @@ -39,7 +39,7 @@ {{if .IsManagedDisks}} { "apiVersion": "[variables('apiVersionStorageManagedDisks')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('{{.Name}}AvailabilitySet')]", "properties": { "platformFaultDomainCount": "3", @@ -58,7 +58,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('{{.Name}}StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('{{.Name}}StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('{{.Name}}AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('{{.Name}}VMSize')].storageAccountType]" @@ -75,7 +75,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(variables('dataStorageAccountPrefixSeed')),variables('{{.Name}}StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(variables('dataStorageAccountPrefixSeed')),variables('{{.Name}}StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('{{.Name}}DataAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('{{.Name}}VMSize')].storageAccountType]" @@ -85,7 +85,7 @@ {{end}} { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('{{.Name}}AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -94,7 +94,7 @@ {{if IsPublic .Ports}} { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('{{.Name}}IPAddressName')]", "properties": { "dnsSettings": { @@ -109,7 +109,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('{{.Name}}IPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('{{.Name}}LbName')]", "properties": { "backendAddressPools": [ @@ -162,7 +162,7 @@ { "creationSource" : "[concat('acsengine-', variables('{{.Name}}VMNamePrefix'), copyIndex(variables('{{.Name}}Offset')))]" }, - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('{{.Name}}VMNamePrefix'), copyIndex(variables('{{.Name}}Offset')))]", "properties": { "availabilitySet": { diff --git a/parts/swarmagentresourcesvmss.t b/parts/swarmagentresourcesvmss.t index 060b387f3..8d80946b1 100644 --- a/parts/swarmagentresourcesvmss.t +++ b/parts/swarmagentresourcesvmss.t @@ -8,7 +8,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('{{.Name}}StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('{{.Name}}StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('{{.Name}}AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('{{.Name}}VMSize')].storageAccountType]" @@ -19,7 +19,7 @@ {{if IsPublic .Ports}} { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('{{.Name}}IPAddressName')]", "properties": { "dnsSettings": { @@ -34,7 +34,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('{{.Name}}IPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('{{.Name}}LbName')]", "properties": { "backendAddressPools": [ @@ -89,7 +89,7 @@ { "creationSource" : "[concat('acsengine-', variables('{{.Name}}VMNamePrefix'), '-vmss')]" }, - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('{{.Name}}VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { diff --git a/parts/swarmmasterresources.t b/parts/swarmmasterresources.t index e51d4e816..2ee60181a 100644 --- a/parts/swarmmasterresources.t +++ b/parts/swarmmasterresources.t @@ -3,7 +3,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -13,7 +13,7 @@ {{if not .MasterProfile.IsCustomVNET}} { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -30,14 +30,14 @@ {{end}} { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -52,7 +52,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -82,7 +82,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -100,7 +100,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -127,7 +127,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -166,7 +166,7 @@ { "creationSource" : "[concat('acsengine-', variables('masterVMNamePrefix'), copyIndex())]" }, - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -234,7 +234,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/parts/swarmmastervars.t b/parts/swarmmastervars.t index 53291a6ce..1ca0cde31 100644 --- a/parts/swarmmastervars.t +++ b/parts/swarmmastervars.t @@ -54,7 +54,7 @@ "masterLbName": "[concat(variables('orchestratorName'), '-master-lb-', variables('nameSuffix'))]", "masterPublicIPAddressName": "[concat(variables('orchestratorName'), '-master-ip-', variables('masterEndpointDNSNamePrefix'), '-', variables('nameSuffix'))]", {{if .MasterProfile.IsClassicStorageAccount}} - "storageAccountBaseClassicName": "[concat(uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location)), variables('orchestratorName'))]", + "storageAccountBaseClassicName": "[concat(uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location'))), variables('orchestratorName'))]", "masterStorageAccountName": "[concat(variables('storageAccountBaseClassicName'), '0')]", {{else}} "masterStorageAccountName": "[concat(variables('storageAccountBaseName'), '0')]", @@ -117,10 +117,15 @@ "osImageSKU": "14.04.4-LTS", {{end}} "osImageVersion": "latest", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", "postInstallScriptURI": "disabled", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", "c", "i", "o", "u", "1", "7", "d", "j", "p", "v", "2", "8", "e", "k", "q", "w", "3", "9", "f", "l", "r", "x", "4", "a", "g", "m", "s", "y", "5", "b", "h", "n", "t", "z" ], "storageAccountPrefixesCount": "[length(variables('storageAccountPrefixes'))]", "vmsPerStorageAccount": 20 diff --git a/parts/swarmwinagentresourcesvmas.t b/parts/swarmwinagentresourcesvmas.t index ba6e3316e..155b88a72 100644 --- a/parts/swarmwinagentresourcesvmas.t +++ b/parts/swarmwinagentresourcesvmas.t @@ -12,8 +12,8 @@ ,"[variables('{{.Name}}LbID')]" {{end}} ], - "location": "[resourceGroup().location]", - "name": "[concat(variables('{{.Name}}VMNamePrefix'), 'nic-', copyIndex(variables('{{.Name}}Offset')))]", + "location": "[variables('location')]", + "name": "[concat(variables('{{.Name}}VMNamePrefix'), 'nic-', copyIndex(variables('{{.Name}}Offset')))]", "properties": { "ipConfigurations": [ { @@ -44,7 +44,7 @@ {{if .IsManagedDisks}} { "apiVersion": "[variables('apiVersionStorageManagedDisks')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('{{.Name}}AvailabilitySet')]", "properties": { "platformFaultDomainCount": "3", @@ -63,7 +63,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('{{.Name}}StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('{{.Name}}StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('{{.Name}}AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('{{.Name}}VMSize')].storageAccountType]" @@ -80,7 +80,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(variables('dataStorageAccountPrefixSeed')),variables('{{.Name}}StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(variables('dataStorageAccountPrefixSeed')),variables('{{.Name}}StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('{{.Name}}DataAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('{{.Name}}VMSize')].storageAccountType]" @@ -90,7 +90,7 @@ {{end}} { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('{{.Name}}AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -99,7 +99,7 @@ {{if IsPublic .Ports}} { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('{{.Name}}IPAddressName')]", "properties": { "dnsSettings": { @@ -114,7 +114,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('{{.Name}}IPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('{{.Name}}LbName')]", "properties": { "backendAddressPools": [ @@ -180,8 +180,8 @@ { "creationSource" : "[concat('acsengine-', variables('{{.Name}}VMNamePrefix'), copyIndex(variables('{{.Name}}Offset')))]" }, - "location": "[resourceGroup().location]", - "name": "[concat(variables('{{.Name}}VMNamePrefix'), copyIndex(variables('{{.Name}}Offset')))]", + "location": "[variables('location')]", + "name": "[concat(variables('{{.Name}}VMNamePrefix'), copyIndex(variables('{{.Name}}Offset')))]", "properties": { "availabilitySet": { "id": "[resourceId('Microsoft.Compute/availabilitySets',variables('{{.Name}}AvailabilitySet'))]" @@ -241,8 +241,8 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('{{.Name}}VMNamePrefix'), copyIndex(variables('{{.Name}}Offset')))]" ], - "location": "[resourceGroup().location]", - "name": "[concat(variables('{{.Name}}VMNamePrefix'), copyIndex(variables('{{.Name}}Offset')), '/cse')]", + "location": "[variables('location')]", + "name": "[concat(variables('{{.Name}}VMNamePrefix'), copyIndex(variables('{{.Name}}Offset')), '/cse')]", "properties": { "publisher": "Microsoft.Compute", "type": "CustomScriptExtension", diff --git a/parts/swarmwinagentresourcesvmss.t b/parts/swarmwinagentresourcesvmss.t index ecb9ca98e..86281768b 100644 --- a/parts/swarmwinagentresourcesvmss.t +++ b/parts/swarmwinagentresourcesvmss.t @@ -8,7 +8,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('{{.Name}}StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('{{.Name}}StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('{{.Name}}AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('{{.Name}}VMSize')].storageAccountType]" @@ -19,7 +19,7 @@ {{if IsPublic .Ports}} { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('{{.Name}}IPAddressName')]", "properties": { "dnsSettings": { @@ -34,7 +34,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('{{.Name}}IPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('{{.Name}}LbName')]", "properties": { "backendAddressPools": [ @@ -103,7 +103,7 @@ { "creationSource" : "[concat('acsengine-', variables('{{.Name}}VMNamePrefix'), '-vmss')]" }, - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('{{.Name}}VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { diff --git a/pkg/acsengine/engine.go b/pkg/acsengine/engine.go index d5f4b4fbf..882d56a05 100644 --- a/pkg/acsengine/engine.go +++ b/pkg/acsengine/engine.go @@ -204,7 +204,7 @@ func (t *TemplateGenerator) GenerateTemplate(containerService *api.ContainerServ return templateRaw, parametersRaw, certsGenerated, err } - templ = template.New("acs template").Funcs(t.getTemplateFuncMap(properties)) + templ = template.New("acs template").Funcs(t.getTemplateFuncMap(containerService)) files, baseFile, e := prepareTemplateFiles(properties) if e != nil { @@ -337,6 +337,7 @@ func getParameters(cs *api.ContainerService, isClassicMode bool) (map[string]int parametersMap := map[string]interface{}{} // Master Parameters + addValue(parametersMap, "location", location) addValue(parametersMap, "targetEnvironment", GetCloudTargetEnv(location)) addValue(parametersMap, "linuxAdminUsername", properties.LinuxProfile.AdminUsername) addValue(parametersMap, "masterEndpointDNSNamePrefix", properties.MasterProfile.DNSPrefix) @@ -464,34 +465,34 @@ func addSecret(m map[string]interface{}, k string, v interface{}, encode bool) { } // getTemplateFuncMap returns all functions used in template generation -func (t *TemplateGenerator) getTemplateFuncMap(properties *api.Properties) map[string]interface{} { +func (t *TemplateGenerator) getTemplateFuncMap(cs *api.ContainerService) map[string]interface{} { return template.FuncMap{ "IsDCOS173": func() bool { - return properties.OrchestratorProfile.OrchestratorType == api.DCOS173 + return cs.Properties.OrchestratorProfile.OrchestratorType == api.DCOS173 }, "IsDCOS184": func() bool { - return properties.OrchestratorProfile.OrchestratorType == api.DCOS184 + return cs.Properties.OrchestratorProfile.OrchestratorType == api.DCOS184 }, "IsDCOS187": func() bool { - return properties.OrchestratorProfile.OrchestratorType == api.DCOS187 + return cs.Properties.OrchestratorProfile.OrchestratorType == api.DCOS187 }, "IsDCOS188": func() bool { - return properties.OrchestratorProfile.OrchestratorType == api.DCOS188 + return cs.Properties.OrchestratorProfile.OrchestratorType == api.DCOS188 }, "RequiresFakeAgentOutput": func() bool { - return properties.OrchestratorProfile.OrchestratorType == api.Kubernetes + return cs.Properties.OrchestratorProfile.OrchestratorType == api.Kubernetes }, "IsSwarmMode": func() bool { - return properties.OrchestratorProfile.IsSwarmMode() + return cs.Properties.OrchestratorProfile.IsSwarmMode() }, "IsKubernetes": func() bool { - return properties.OrchestratorProfile.IsKubernetes() + return cs.Properties.OrchestratorProfile.IsKubernetes() }, "IsPublic": func(ports []int) bool { return len(ports) > 0 }, "GetVNETSubnetDependencies": func() string { - return getVNETSubnetDependencies(properties) + return getVNETSubnetDependencies(&cs.Properties) }, "GetLBRules": func(name string, ports []int) string { return getLBRules(name, ports) @@ -503,13 +504,13 @@ func (t *TemplateGenerator) getTemplateFuncMap(properties *api.Properties) map[s return getSecurityRules(ports) }, "GetUniqueNameSuffix": func() string { - return GenerateClusterID(properties) + return GenerateClusterID(&cs.Properties) }, "GetVNETAddressPrefixes": func() string { - return getVNETAddressPrefixes(properties) + return getVNETAddressPrefixes(&cs.Properties) }, "GetVNETSubnets": func(addNSG bool) string { - return getVNETSubnets(properties, addNSG) + return getVNETSubnets(&cs.Properties, addNSG) }, "GetDataDisks": func(profile *api.AgentPoolProfile) string { return getDataDisks(profile) @@ -517,24 +518,24 @@ func (t *TemplateGenerator) getTemplateFuncMap(properties *api.Properties) map[s "GetDCOSMasterCustomData": func() string { masterProvisionScript := getDCOSMasterProvisionScript() masterAttributeContents := getDCOSMasterCustomNodeLabels() - str := getSingleLineDCOSCustomData(properties.OrchestratorProfile.OrchestratorType, properties.MasterProfile.Count, masterProvisionScript, masterAttributeContents) + str := getSingleLineDCOSCustomData(cs.Properties.OrchestratorProfile.OrchestratorType, cs.Properties.MasterProfile.Count, masterProvisionScript, masterAttributeContents) return fmt.Sprintf("\"customData\": \"[base64(concat('#cloud-config\\n\\n', '%s'))]\",", str) }, "GetDCOSAgentCustomData": func(profile *api.AgentPoolProfile) string { agentProvisionScript := getDCOSAgentProvisionScript(profile) attributeContents := getDCOSAgentCustomNodeLabels(profile) - str := getSingleLineDCOSCustomData(properties.OrchestratorProfile.OrchestratorType, properties.MasterProfile.Count, agentProvisionScript, attributeContents) + str := getSingleLineDCOSCustomData(cs.Properties.OrchestratorProfile.OrchestratorType, cs.Properties.MasterProfile.Count, agentProvisionScript, attributeContents) return fmt.Sprintf("\"customData\": \"[base64(concat('#cloud-config\\n\\n', '%s'))]\",", str) }, "GetMasterAllowedSizes": func() string { if t.ClassicMode { return GetClassicAllowedSizes() - } else if properties.OrchestratorProfile.OrchestratorType == api.DCOS188 || - properties.OrchestratorProfile.OrchestratorType == api.DCOS187 || - properties.OrchestratorProfile.OrchestratorType == api.DCOS184 || - properties.OrchestratorProfile.OrchestratorType == api.DCOS173 { + } else if cs.Properties.OrchestratorProfile.OrchestratorType == api.DCOS188 || + cs.Properties.OrchestratorProfile.OrchestratorType == api.DCOS187 || + cs.Properties.OrchestratorProfile.OrchestratorType == api.DCOS184 || + cs.Properties.OrchestratorProfile.OrchestratorType == api.DCOS173 { return GetDCOSMasterAllowedSizes() } return GetMasterAgentAllowedSizes() @@ -617,6 +618,9 @@ func (t *TemplateGenerator) getTemplateFuncMap(properties *api.Properties) map[s str = escapeSingleLine(str) return fmt.Sprintf("\"customData\": \"[base64(concat('%s',variables('agentRunCmdFile'),variables('agentRunCmd')))]\",", str) }, + "GetLocation": func() string { + return cs.Location + }, "GetWinAgentSwarmCustomData": func() string { str := getBase64CustomScript(swarmWindowsProvision) return fmt.Sprintf("\"customData\": \"%s\"", str) @@ -652,13 +656,13 @@ func (t *TemplateGenerator) getTemplateFuncMap(properties *api.Properties) map[s return fmt.Sprintf("\"customData\": \"[base64(concat('%s',variables('agentRunCmdFile'),variables('agentRunCmd')))]\",", str) }, "GetKubernetesSubnets": func() string { - return getKubernetesSubnets(properties) + return getKubernetesSubnets(&cs.Properties) }, "GetKubernetesPodStartIndex": func() string { - return fmt.Sprintf("%d", getKubernetesPodStartIndex(properties)) + return fmt.Sprintf("%d", getKubernetesPodStartIndex(&cs.Properties)) }, "AnyAgentHasDisks": func() bool { - for _, agentProfile := range properties.AgentPoolProfiles { + for _, agentProfile := range cs.Properties.AgentPoolProfiles { if agentProfile.HasDisks() { return true } @@ -666,7 +670,7 @@ func (t *TemplateGenerator) getTemplateFuncMap(properties *api.Properties) map[s return false }, "AnyAgentUsesAvailablilitySets": func() bool { - for _, agentProfile := range properties.AgentPoolProfiles { + for _, agentProfile := range cs.Properties.AgentPoolProfiles { if agentProfile.IsAvailabilitySets() { return true } @@ -674,7 +678,7 @@ func (t *TemplateGenerator) getTemplateFuncMap(properties *api.Properties) map[s return false }, "HasLinuxAgents": func() bool { - for _, agentProfile := range properties.AgentPoolProfiles { + for _, agentProfile := range cs.Properties.AgentPoolProfiles { if agentProfile.IsLinux() { return true } @@ -682,10 +686,10 @@ func (t *TemplateGenerator) getTemplateFuncMap(properties *api.Properties) map[s return false }, "HasLinuxSecrets": func() bool { - return properties.LinuxProfile.HasSecrets() + return cs.Properties.LinuxProfile.HasSecrets() }, "HasWindowsSecrets": func() bool { - return properties.WindowsProfile.HasSecrets() + return cs.Properties.WindowsProfile.HasSecrets() }, // inspired by http://stackoverflow.com/questions/18276173/calling-a-template-with-several-pipeline-parameters/18276968#18276968 "dict": func(values ...interface{}) (map[string]interface{}, error) { diff --git a/pkg/acsengine/templates.go b/pkg/acsengine/templates.go index 8cc3a6fbf..918c0ca4a 100644 --- a/pkg/acsengine/templates.go +++ b/pkg/acsengine/templates.go @@ -263,7 +263,7 @@ func configureSwarmmodeClusterSh() (*asset, error) { return a, nil } -var _dcosagentresourcesvmasT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\x4f\x73\xe2\xb8\x12\x3f\x67\x3e\x85\xcb\x17\x43\x15\x03\x87\x77\xdb\x5b\x26\xec\xce\x52\x13\x12\x2a\xec\xe4\x92\xe2\x20\xac\x06\x54\xb1\x25\x97\x24\x33\xe1\x51\x7c\xf7\x57\x92\xff\x4a\x96\x1d\x27\x21\xd9\xbc\xda\xe5\x32\x10\xa9\xa5\xd6\xaf\xff\x77\x8f\xe7\x79\xde\xf1\x8b\xa7\x3f\x3e\x4a\xc8\x3d\x70\x41\x18\xf5\x7f\xf3\xfc\x87\x3d\xe2\x04\xad\x23\x10\x83\xa0\x5a\x99\xc2\x06\xa5\x91\x0c\x86\x2b\x7f\x54\xd0\x45\x2c\x44\xb2\xa0\xe2\x20\x58\xca\x43\xf8\xce\x59\x9a\x0c\x86\xe3\x62\xb1\xb6\x9f\xa2\x18\xec\x1b\x8e\xc7\xf1\x0d\x8a\xe1\x74\xba\x59\x7e\x57\x5f\x8c\x0b\x12\xce\x12\xe0\x92\x80\xf0\x7f\x2b\xd9\xf5\x3c\x5f\x40\x98\x72\x22\x0f\x77\x69\xa4\x97\x1e\xca\x25\xfd\xae\xe3\x77\x90\xcb\xfa\x16\x6f\xbc\x60\x5c\x8a\xd3\xa9\xdc\xb7\xca\xbf\x9d\xca\xbb\xe4\x21\xd1\xcc\xcd\x49\xc8\x99\x60\x1b\x39\xbe\x01\xf9\x8b\xf1\xc7\x09\xcd\xfe\x2d\x4e\xd4\x0f\x14\xfe\x97\x1a\xf9\x9b\x91\x0c\x59\x72\x30\x9f\x18\xb2\x94\x4a\x7d\x88\x48\xd7\x03\x17\x60\x57\x6a\x47\x30\x1c\x79\xae\xc5\xdb\xcd\x46\x80\x0c\x86\xb5\x4b\x6a\x02\x88\x18\x4b\xfc\x06\x02\x18\x12\xa0\x58\xdc\x52\x8d\xe8\xf1\x48\x36\xde\x78\x26\xae\x52\x21\x59\x7c\x7f\xf3\xfb\x5f\x25\x7c\xfe\x43\xc8\x68\x88\xe4\x20\xe8\x09\xd6\x24\x70\x73\x59\xca\x7c\xb8\xf2\xbf\x1c\x8f\x10\x09\xa8\x5d\x52\xa3\xd8\x53\x90\xb3\x69\x90\x6f\xa3\xf8\x74\xca\xf8\x9b\x89\x45\xba\x8e\x48\x58\x09\xf8\xc2\xf3\x46\x6e\x05\xbb\x5e\x5b\x27\xe4\x9a\xf0\x76\x75\xce\xd1\x70\x5d\x7a\x3f\x57\xff\x2e\x38\x6c\xc8\x93\x92\x55\x40\x49\xf8\x35\x18\x79\x4a\xe0\x33\x8a\xe1\xc9\x49\x55\x4a\xaf\xc3\x18\x9c\xf2\xb9\xc8\x18\x73\xc8\x40\xd3\x5c\x5c\x78\x9e\x4f\xb0\xf1\xc0\x19\x3e\xaf\x18\x2f\x72\xa5\x32\x51\x56\xf7\x26\x57\x8c\x6e\xc8\x36\xe5\x1a\x48\xdb\x6e\x8f\x86\x0d\x97\xe0\x16\x54\x37\x0c\x43\x4d\x95\x5b\x11\x69\x6a\x84\x67\x7c\xfc\x88\x21\xfc\x0d\x45\x88\x86\xc0\xbf\xa1\xf0\x11\x28\xbe\xc4\x98\x83\x10\x0b\xc6\xa2\x8c\xab\x8b\x8b\x8a\xab\xe2\x7b\x0d\xba\x42\xfb\x27\x22\x5d\x8b\x90\x93\x44\xbf\x47\xa1\x53\xff\xc3\x60\x38\xae\xff\x9c\xe1\x51\x30\x31\xb4\x4a\x53\xd8\x7a\xa6\xde\x3d\xf2\x82\x49\xc2\xd9\x9e\x60\xe0\x62\xd2\x14\x4e\xfd\x09\xad\x42\xb9\x5e\x67\x32\x51\x87\xad\x9b\xef\x9c\x04\x23\x37\x55\x8e\x89\xda\x54\x13\x6a\x09\xc8\xa9\xfc\xbe\x6a\xca\xb8\x94\x0b\xd9\x23\x09\xb3\xc5\x65\x54\x98\xcd\x1c\xe4\x8e\x69\xf4\xa6\x07\x8a\x62\x12\x5a\xb2\x54\x4e\x3d\x5d\x53\x90\x86\x17\xac\x74\x07\xb7\xc6\x8d\x7b\x0a\x72\xa9\x49\x73\xf3\x36\x28\x4d\xde\xea\xbf\xde\x14\x0b\x66\x54\x02\xdf\xa0\x10\xaa\x38\x50\xd8\xe3\x1c\x51\xb4\x05\x3c\x25\xe2\xb1\xd0\xbe\x17\x85\x87\xa5\x64\x1c\x6d\xa1\x7e\xcc\xfb\x05\xdd\xcb\x3d\x22\x11\x5a\x93\x88\xc8\xc3\x12\x64\xaf\xe0\x9b\x44\x48\x6e\x18\x8f\xff\x50\x51\x6c\xca\x62\x44\xe8\x55\x11\xac\xfe\x53\x8f\x36\xc5\xc6\x9f\x09\x46\x12\xba\x76\xc6\xd9\x63\xd5\xdf\x25\x4f\xa1\x19\x9a\x9a\x02\xb9\x62\x71\x92\x4a\x98\x20\xf3\x05\x75\x79\xa8\x70\xe2\x65\x42\xc9\x41\xbd\x0c\x75\x58\x7d\x83\x58\x7a\x47\x6d\x17\xda\x26\x17\x22\x0f\xe0\xaf\x8e\xd0\x25\x51\x47\x38\x4e\xb4\x33\x9c\x2d\x72\xd3\x07\xdb\x5d\xc4\x48\x48\xe0\x0b\x73\x57\x65\xf7\xb9\x81\xbc\x47\x88\x14\x06\x18\x59\x84\x04\x11\x0c\x1f\x62\x86\x07\x08\xe3\x41\x15\x22\x87\x4e\x57\x65\xa2\x59\x86\xcc\xd1\xb3\x77\xe4\xb8\x0f\x57\xcf\x6f\x0d\x86\x0f\x98\xec\xff\x06\x76\x2a\x0b\xcd\x36\x97\x22\x79\xd6\x3c\x51\x46\xf0\x57\x6e\x31\x46\x16\x15\x2f\xc9\x7f\x41\xcc\x51\x12\x0c\xdd\xbe\x74\xae\x36\x04\xc3\xd5\xd8\x64\x55\x1d\xb6\xea\x63\x95\x39\x08\x13\x93\xdc\x4a\x96\xb5\xa3\xfc\x13\x89\xba\x8b\xf4\xac\x0c\xe0\xb5\x36\xe9\xb6\xcb\xb3\xd8\xa6\xa1\xd0\x18\x49\x84\x89\x78\xbc\xae\xd9\xa9\x01\x4e\x87\xbd\x7e\x88\xcd\x1a\x76\xfb\x1a\xdb\x3d\xa3\xfd\xd6\xa8\x14\x6e\x4b\x07\xe5\x12\x00\x5b\xd6\xf2\xf7\x1b\xfa\xa7\xe2\xbb\x3c\x76\x8a\x24\x6a\xf3\x0a\x5d\x9e\xe1\x63\xbc\x43\xd3\x08\x5e\xe8\x25\x0c\x4f\x51\xa5\x97\x9f\xab\x59\xd1\x3f\x6f\x7a\x6b\x0e\xd3\x55\xeb\x7e\x3e\x5c\x2c\x77\xd4\x23\x5c\x61\x2a\x96\x20\x25\xa1\x5b\x5b\x5b\x7d\xac\x33\x46\x75\xd2\x35\x5a\x43\xd4\x7a\xe9\xef\x14\x27\x8c\x50\x39\xbd\x59\xd6\x8b\xed\x55\x43\x9f\x32\x46\x0a\xbf\xd9\x51\x9b\xbc\xa0\x20\x68\x38\xeb\xf3\x36\x86\xce\x9f\xf1\xb5\xc9\xea\xac\xe9\x5e\x57\x41\xda\x43\x29\x1c\xf5\x6a\xbf\x6e\x41\xcb\xc5\x8d\x9a\xd6\x74\x57\x55\x25\x58\xd3\x93\x0d\x67\x54\x02\xc5\xb3\xc5\x6b\xda\x16\x6d\x1d\xa8\xfc\x30\x1b\x89\x6e\x3c\x6c\xcd\xcd\x60\xe9\xac\x94\xbb\xbb\x3b\x0d\x1d\x71\x37\x03\x3a\x93\x0b\xaf\x6f\x75\x5d\xc3\x94\xd0\x35\x4b\x29\xbe\x41\xb2\xec\xdc\xd6\x97\xab\xbe\x06\xa1\xdb\xb6\xde\xee\xe0\x3b\xc8\xeb\x6f\x79\x5b\x57\x31\x96\xfb\xc3\xe1\xc9\x7d\x67\xc2\xd9\xba\xf5\xa0\x85\x5e\x74\x9d\xf0\x02\x17\x60\xb4\x63\x1a\xbe\x3b\x53\x92\x8e\xee\xc0\x5b\xfb\x02\x76\xdf\xf4\xc5\xae\xc6\xec\xe2\x7c\x74\x2f\x7a\x1f\xab\x1c\x5a\xb7\xf7\x7a\x76\xa4\x9d\xc5\xbc\xd7\xe2\x16\x5b\x72\x0d\xb3\xfd\xf5\x6c\x2e\xab\x72\xc3\x9e\x2d\xdb\x91\x91\xa9\x3f\xdd\xcf\xc5\x02\xb8\xc9\xf2\x27\x49\x74\xff\x1f\x1f\xd5\x59\x17\xb7\x56\x96\xef\xa7\x18\x9f\x0a\xc7\x17\x14\x29\xe7\xd4\xa3\x7f\x00\x06\xcf\x16\x5f\x55\xa6\x6e\x4d\x3d\x9e\x1f\x95\x55\xbd\xe4\xb6\x4c\xed\x7c\x43\x24\x37\x43\x6d\x75\x48\x1b\x3f\x8d\xea\xc7\x95\x3b\x4a\xa4\x32\xfa\xfc\x57\x3d\x98\x70\xd0\x89\xd4\x52\xe7\x27\xbe\x57\x1f\xa8\xa0\x50\x00\xdd\x12\x0a\x5f\x7b\x22\xd1\x1f\x81\x46\x6c\xf9\x88\x69\xdf\xdb\xa7\x7c\x25\x6c\x96\x6c\xec\x5a\xa9\x33\xed\x6b\x93\xaf\x3b\xeb\xeb\x90\xae\x59\x49\xed\x10\xc7\xbf\x10\x87\x05\x67\x1b\x12\x81\xcd\x52\xd6\x4f\x68\x9f\xdb\x14\xdd\x04\xf7\xe1\xb9\x71\xb4\x9c\xdd\x1c\xc3\x34\xf2\x3b\x3b\x7b\x7e\xc9\xd8\xb3\x3a\x37\x18\xbd\xe3\x70\xd7\x4e\xa8\xeb\x09\xf4\xca\x89\x0a\x13\x2d\x80\x20\x1c\x13\xfa\x53\x00\x77\x15\x20\xc6\xa2\xa3\x5b\xaa\xb5\x83\x7f\x8c\x82\x7b\xc5\x7f\xd0\x98\x5e\xdd\x2e\x2f\xb7\x40\x65\x36\xc0\x56\x8e\xd5\x1b\x1b\xb3\x44\x3f\x22\x34\x7d\x32\xaa\x2f\x57\x59\x84\x89\x50\x17\x2f\x90\x10\xbf\x18\xc7\x97\xa9\xdc\x01\x95\xa4\xb2\x6e\x3d\x52\x6a\x8e\x1b\xc5\xce\x5d\x41\x65\xc5\xd1\x0f\x38\x34\x95\xca\xad\x5a\x39\xdd\x23\x1c\xd4\x23\x34\x84\x09\xe2\x28\x06\x09\x5c\x85\x19\xb1\xbb\x5b\x5e\x2e\x8a\x53\x9b\x65\x5f\x75\x33\x92\x3b\x5b\x76\x42\xec\x7e\xc0\x61\x81\xe4\xae\x39\xdc\xd4\x1f\x7b\xfa\x5a\x57\x1d\xd7\x8e\x93\x55\x06\x91\x8d\xf7\x27\x12\xd7\x0a\xea\x25\x84\x1c\x1c\x33\xf3\x26\x76\xd9\x46\x9b\x57\x2d\xaf\x5c\x41\xf3\xb3\x1a\x4c\xdb\x01\xb2\xae\xdd\x79\x40\x76\xab\x78\xa6\x34\x48\x22\x9d\xdc\xd9\xaa\x42\x62\xb4\x85\x3b\xd8\x00\x07\x1a\xda\xa4\xca\x70\x36\x1b\xe0\x36\xbf\x4c\xcc\x14\xd9\xad\x5a\x73\x55\xe3\x4a\x64\x62\xd7\x4a\xb7\x28\xd6\x1d\xb4\xe2\x31\x6d\xa1\x5a\xfe\xf8\xe9\xd8\xbf\x77\x57\x6c\x39\x4d\x5e\xb5\x35\xfa\x16\xcf\x56\x44\x9e\x37\xf2\x99\x4e\x87\x1d\xf3\x10\x14\xee\x08\xdd\xaa\x2b\xef\x00\xe1\x5b\x1a\x1d\x6c\xae\x74\xac\x86\xdb\xa4\xb0\xa4\x3f\x38\x8b\x35\x43\x6d\x63\x91\x77\xf0\x1d\xa3\xe0\x2b\x13\x98\x88\x47\x17\x6a\x3b\xec\xf2\x08\x29\x27\x75\x66\x78\xa1\x16\x83\x7f\xcb\xc3\x7f\x66\x79\x38\xea\x1e\x1f\x0e\xc7\x09\x27\x31\xe2\x87\xa2\x93\x2c\xc6\xeb\x88\xad\x47\x41\xa6\x78\x7d\xd3\xf2\xbe\x60\x79\x85\x46\x8f\xf7\x3b\xdc\x70\x90\x27\xcb\xc2\x2d\x77\xd9\xa3\x2f\x55\xa4\x7b\x7b\xc2\x65\x8a\xa2\xb9\xb6\xf3\xb2\x31\xfd\xe5\x7f\x01\x00\x00\xff\xff\x9a\x72\xaf\x8c\xfb\x29\x00\x00") +var _dcosagentresourcesvmasT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\x4f\x73\xe2\xb8\x12\x3f\x27\x9f\xc2\xe5\x8b\xa1\x8a\x81\xc3\xbb\xed\x2d\x13\x76\xb3\xd4\x84\xc4\x15\xef\xe4\x92\xe2\x20\xac\x36\xa8\x62\x4b\x2e\x49\x66\xc2\xa3\xf8\xee\xaf\xe4\xff\xb2\x65\xc7\x4c\x48\x26\xaf\x66\xb9\x04\x6c\xb5\xd4\xfa\xf5\xff\xee\x58\x96\x65\x1d\x2e\xad\xf4\x63\xa3\x98\x3c\x02\x17\x84\x51\xfb\x0f\xcb\x7e\xda\x21\x4e\xd0\x3a\x04\x31\x72\xaa\x37\x73\x08\x50\x12\x4a\x67\xbc\xb2\x27\x05\x5d\xc8\x7c\x24\x0d\x54\xc5\x73\x6d\x31\x45\x11\x34\x17\x1e\x0e\xd3\x3b\x14\xc1\xf1\x78\xe7\xdd\xa8\x2f\x1a\x41\xcc\x59\x0c\x5c\x12\x10\xf6\x1f\x25\xaf\x96\x65\x0b\xf0\x13\x4e\xe4\xfe\x21\x09\xd3\x57\x4f\xe5\xab\xf4\x52\x87\x1b\x90\x5e\x7d\x89\x35\x75\x19\x97\xe2\x78\x2c\xd7\xad\xf2\x6f\xc7\xf2\x2c\xb9\x8f\x53\xe6\x96\xc4\xe7\x4c\xb0\x40\x4e\xef\x40\xfe\x60\xfc\x79\x46\xb3\xbf\xc5\x8e\x37\x9c\x25\xb1\xb0\x2f\x6b\xe4\x6f\x86\xd1\x67\xf1\x5e\xbf\xa2\xcf\x12\x2a\xd3\x4d\x44\xb2\x1e\x99\x00\xbb\x56\x2b\x9c\xf1\xc4\x32\xbd\xbc\x0f\x02\x01\xd2\x19\xd7\x0e\xa9\x09\x20\x64\x2c\xb6\x5b\x08\x60\x88\x81\x62\x71\x4f\x53\x44\x0f\x07\x12\x58\xd3\x85\xb8\x4e\x84\x64\xd1\xe3\xdd\x9f\xff\x94\xf0\xd9\x4f\x3e\xa3\x3e\x92\x23\x67\x20\x58\x33\xc7\xcc\x65\x29\xf3\xf1\xca\xbe\x3c\x1c\x20\x14\x50\x3b\xa4\x46\xb1\xa3\x20\x17\x73\x27\x5f\x46\xf1\xf1\x98\xf1\xb7\x10\x6e\xb2\x0e\x89\x5f\x09\xf8\xc2\xb2\x26\x66\x05\xbb\x5d\x37\x76\xc8\x35\xe1\x8d\xba\x9c\x43\x61\x3a\xf1\x71\xa9\xfe\xba\x1c\x02\xf2\xa2\x04\xe5\x50\xe2\x7f\x71\x26\x96\x92\xf6\x82\x62\x78\x31\x52\x95\xa2\xeb\xb1\x04\xa3\x70\x2e\x32\xc6\x0c\x02\x48\x69\x2e\x2e\x2c\xcb\x26\x38\x65\x9a\x83\x60\x09\xf7\x61\x81\xcf\x2b\xc3\x8b\x5c\xa3\x74\x88\xd5\xb9\xf1\x35\xa3\x01\xd9\x24\x3c\x85\xb2\x69\xb4\x07\xcd\x80\x4b\x70\x0b\xaa\x3b\x86\xa1\xa6\xc7\x9d\x88\xb4\xd5\xc1\xd2\x3e\x76\xc8\x10\xfe\x8a\x42\x44\x7d\xe0\x5f\x91\xff\x0c\x14\x5f\x61\xcc\x41\x08\x97\xb1\x30\xe3\xea\xe2\xa2\xe2\xaa\xf8\x5e\x83\xae\x50\xfd\x99\x48\xd6\xc2\xe7\x24\x4e\xef\xa3\xd0\xa9\x3f\x18\x8d\xa7\xf5\x9f\x0b\x3c\x71\x66\x05\xe8\x15\x9e\xda\x93\xd1\x78\xaa\xee\x3d\xb1\x9c\x59\xcc\xd9\x8e\x60\xe0\x62\xd6\x16\x4e\xfd\x0a\x9d\x42\xb9\x5d\x67\x32\x51\x9b\xad\xdb\xf7\x9c\x39\x13\x33\x55\x8e\x89\x5a\x54\x13\x6a\x09\xc8\xb1\xfc\xbe\x6a\xcb\xb8\x94\x0b\xd9\x21\x09\x0b\xf7\x2a\x2c\x0c\x67\x09\x72\xcb\x52\xf4\xe6\x7b\x8a\x22\xe2\x37\x64\xa9\x3c\x7a\xb2\xa6\x20\x35\x17\x58\xe9\x0e\xee\x0c\x1a\x8f\x14\xa4\x97\x92\xe6\xb6\xad\x51\xea\xbc\xd5\x7f\xbd\x29\x10\x2c\xa8\x04\x1e\x20\x1f\xaa\x20\x50\xd8\xe3\x12\x51\xb4\x01\x3c\x27\xe2\xb9\xd0\xbe\x93\x62\x83\x27\x19\x47\x1b\xa8\x6f\xf3\x4e\xe1\xf6\x6a\x87\x48\x88\xd6\x24\x24\x72\xef\x81\x1c\x14\x76\xe3\x10\xc9\x80\xf1\xe8\x2f\x15\xbf\xe6\x2c\x42\x84\x5e\x17\x61\xea\x3f\xf5\x38\x53\x2c\xfc\x1e\x63\x24\xa1\x6f\x65\x94\xdd\x54\x3d\x97\x3c\x81\x76\x50\x6a\x4b\xe3\x9a\x45\x71\x22\x61\x86\xf4\x1b\xd4\x85\xa1\x02\x89\x95\x49\x24\x47\xf4\xca\x4f\x03\xea\x1b\x64\x32\x38\x5e\x9b\xd0\xd6\xb9\x10\x79\xe8\xfe\xe9\xd8\x5c\x12\xf5\x04\xe2\x38\xf5\x84\x0b\x37\xb7\x7b\x68\xfa\x8a\x08\x09\x09\xdc\xd5\x57\x55\x46\x9f\x5b\xc7\xd9\x83\xa3\xd0\x90\xc8\x62\x23\x08\x67\xfc\x14\x31\x3c\x42\x18\x8f\xaa\xe0\x38\x36\x3a\x29\x1d\xca\x32\x58\x4e\x5e\x3d\x23\x07\x7d\xbc\x7a\x7d\xa9\x33\x7e\xc2\x64\xf7\x0b\xd8\xa9\xcc\x33\x5b\x5c\xca\xe3\x55\xdb\x44\x19\xc1\x3f\xb9\xb9\x68\xc9\x53\xe4\x91\xff\x82\x58\xa2\xd8\x19\x9b\xbd\xe8\x52\x2d\x70\xc6\xab\xa9\xce\xaa\xda\x6c\x35\xc4\x24\x73\x10\x66\x3a\x79\x23\x47\x4e\x5d\xe4\xdf\x48\xd4\x9d\xa3\xd5\x88\xfd\x3f\x6b\x90\x66\xa3\x3c\x8b\x61\x6a\x0a\x8d\x91\x44\x98\x88\xe7\xdb\x9a\x91\x6a\xe0\xf4\x18\xeb\x87\x18\xac\x66\xb4\x27\x1b\xee\x19\x8d\xb7\x46\xa5\x40\xf3\x0c\x94\x1e\x00\x6e\x98\xca\xaf\xb7\xf2\x4f\xc5\x77\xb9\xed\x1c\x49\xd4\xe5\x12\xfa\xdc\xc2\xc7\xb8\x86\xb6\x05\x9c\xe8\x22\x34\x37\x51\x65\x95\x9f\xa8\x3b\x31\x3c\x5d\x7a\x6b\xea\xd2\x57\xdc\x7e\x32\x50\x1a\x5e\x68\x40\x94\xc2\x54\x78\x20\x25\xa1\x9b\xa6\x9e\xda\x38\xcd\x12\xd5\x4e\xb7\x68\x0d\x61\xe7\xa1\x7f\x52\x1c\x33\x42\xe5\xfc\xce\xab\x57\xd7\xab\x96\x26\x65\x8c\x14\xee\xb2\xa7\x18\x39\xa1\x02\x68\xf9\xe8\xf3\xb6\x81\xce\x9f\xe5\x75\xc9\xea\x7c\x29\x5e\x5f\xf9\x39\x40\x23\x0c\xd5\xe9\xb0\xde\x40\xc7\xc1\xad\x0a\x56\xf7\x52\x55\xdd\x57\x53\x92\x80\x33\x2a\x81\xe2\x85\xfb\x33\x4d\x8a\xae\x66\x53\xbe\x59\x13\x89\x7e\x3c\x9a\x6a\x9b\xc1\xd2\x5b\x17\xf7\xf7\x72\x5a\x0a\x62\x2e\xfd\x7b\x13\x0a\x6b\x68\x2d\x5d\xc3\x94\xd0\x35\x4b\x28\xbe\x43\xb2\x6c\xd2\xd6\x5f\x57\x5d\x0c\x42\x37\x5d\x6d\xdc\xd1\x0d\xc8\xdb\xaf\x79\x07\x57\x31\x96\x7b\xc2\xf1\xd1\x7c\x66\xcc\xd9\xba\x73\x23\x37\x7d\x69\xda\xe1\x04\xfb\xd7\x9a\x2f\x2d\xaf\x9d\x29\x49\x4f\x2f\xe0\xad\x5d\x80\x66\x8b\xf4\x64\x3f\xa3\xf7\x6c\x3e\xba\xed\xbc\x8b\x54\xde\x9c\x36\xf3\x06\x36\x9f\x8d\xd5\xbb\xd5\xe1\x13\x3b\x52\x0c\xbd\xd9\xf5\x6a\x0a\xab\x52\xc2\x81\x0d\xda\x89\x96\x9d\xbf\x3c\x2e\x85\x0b\x5c\x67\xf9\x93\xe4\xb7\xff\x8f\x97\xea\xad\x85\x3b\xab\xc9\xf7\x53\x8c\x4f\x85\xe3\x09\xb5\xc9\x39\xf5\xe8\x37\xc0\xe0\xd5\x9a\xab\xca\xd1\x1b\x33\x8e\xd7\xa7\x62\x55\xe7\xb8\x2b\x4d\x3b\xdf\xc8\xc8\xcc\x50\x57\x05\xd2\xc5\x4f\xab\xee\x31\x25\x8e\x12\xa9\x74\x3e\xff\x55\x0f\x26\x1c\xd2\x44\xca\x4b\xf3\x13\xdb\xaa\x8f\x4f\x90\x2f\x80\x6e\x08\x85\x2f\x03\x91\x18\x8e\x40\x2b\xb6\xbc\xfb\x60\xef\xed\x03\xbd\x12\xb3\x86\x60\x9a\x55\x52\x6f\xce\xd7\x25\x5c\x73\xca\xd7\x23\x5a\xbd\x86\xda\x22\x8e\x7f\x20\x0e\x2e\x67\x01\x09\xa1\xc9\x52\xd6\x43\xe8\x1e\xd1\x14\x1d\x04\xf3\xe6\xb9\x65\x74\xec\xdd\x9e\xb8\xb4\x92\xbb\x66\xea\x7c\xca\x84\xb3\xda\xd7\x99\xbc\xe3\x1c\xb7\x99\x4d\xd7\xb3\xe7\x95\x11\x15\x26\x3a\x00\x41\x38\x22\xf4\xbb\x00\x6e\xaa\x3e\xb4\x97\x86\xf6\x68\xaa\x1d\xfc\x63\x14\xdc\x2a\xfe\x11\x63\x7e\x7d\xef\x5d\x6d\x80\xca\x6c\x56\xad\xbc\xaa\x35\xd5\xc6\x86\x76\x48\x68\xf2\xa2\x95\x5e\xa6\x9a\x08\x13\xa1\x0e\x76\x91\x10\x3f\x18\xc7\x57\x89\xdc\x02\x95\xa4\x32\xed\x74\x80\xd4\x9e\x2c\x8a\xad\xb9\x7c\xca\x2a\xa3\x6f\xb0\x6f\x2b\x95\x59\xb5\x72\xba\x67\xd8\xab\x4b\xa4\x10\xc6\x88\xa3\x08\x24\x70\x15\x63\xc4\xf6\xc1\xbb\x72\x8b\x5d\xdb\x35\x5f\x75\x32\x92\xdb\xa6\xec\x84\xd8\x7e\x83\xbd\x8b\xe4\xb6\x3d\xc7\x4c\x3f\xcd\x41\x6b\x5d\x75\x4c\x2b\x8e\x8d\x1a\x88\x04\xd6\xdf\x48\xdc\x2a\xa8\x3d\xf0\x39\x18\xc6\xe3\x6d\xec\xb2\x85\x2d\xbf\xa9\x36\xc9\x15\x34\xdf\xab\xc5\x74\x33\x3a\xd6\xb5\x3b\x8f\xc6\x66\x15\xcf\x94\x06\x49\x94\x66\x76\x4d\x55\x21\x11\xda\xc0\x03\x04\xc0\x81\xfa\x4d\x52\x65\x38\x41\x00\xbc\xc9\x2f\x13\x0b\x45\x76\xaf\xde\x99\x4a\x71\x25\x32\xb1\xed\xa4\x73\x8b\xf7\x06\x5a\xf1\x9c\x74\x50\x79\xdf\xbe\x1b\xd6\xef\xcc\xe5\x5a\x4e\x93\x97\x6c\xad\xa6\xc5\xab\xe5\x90\x65\x4d\x6c\x96\xe6\xc2\x86\x01\x08\xf2\xb7\x84\x6e\xd4\x91\x0f\x80\xf0\x3d\x0d\xf7\x4d\xae\xd2\x40\x0d\xf7\x71\x61\x49\x7f\x71\x16\xa5\x0c\x75\xcd\x41\xde\xc1\x77\x4c\x9c\x2f\x4c\x60\x22\x9e\x4d\xa8\x6d\xb1\xc9\x23\x24\x9c\xd4\x99\xe1\x85\x5a\x8c\xfe\xad\x0d\x7f\xcf\xda\x70\xd2\x3f\x2f\x1c\x4f\x63\x4e\x22\xc4\xf7\x45\x0f\x59\x4c\xd7\x21\x5b\x4f\x9c\x4c\xf1\x86\xe6\xe4\x43\xc1\xb2\x0a\x8d\x9e\xee\xb6\xb8\xe5\x20\x8f\x0d\x0b\x6f\xb8\xcb\x01\x4d\xa9\x22\xdd\xdb\x11\x2e\x13\x14\x2e\x53\x3b\x2f\x5b\xd2\x97\xff\x0b\x00\x00\xff\xff\x8e\x83\xaf\xa5\xe0\x29\x00\x00") func dcosagentresourcesvmasTBytes() ([]byte, error) { return bindataRead( @@ -283,7 +283,7 @@ func dcosagentresourcesvmasT() (*asset, error) { return a, nil } -var _dcosagentresourcesvmssT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\x4d\x73\xda\x3a\x17\xde\xe7\x57\x78\xbc\x31\xcc\x50\x78\xbf\x56\xdd\x25\xa1\x6f\x2e\xd3\x90\x78\xe2\x36\x9b\x0c\x0b\x61\x1d\x83\x26\xb6\xe4\x91\x64\x5a\x2e\xc3\x7f\xbf\x23\x7f\x80\x64\x4b\x40\x6e\xd2\x24\x9d\x5c\x16\x6d\x40\xd2\x39\x8f\x9f\xf3\xa1\x73\x0e\x78\x9e\xe7\x6d\xce\xbc\xf2\xe5\xa3\x9c\xdc\x03\x17\x84\x51\xff\xb3\xe7\x3f\xac\x10\x27\x68\x9e\x82\xe8\x05\xfb\x95\x31\x24\xa8\x48\x65\xd0\x9f\xf9\x83\xe6\x5c\xca\x62\x24\x9b\x53\x1c\x04\x2b\x78\x0c\x57\x9c\x15\x79\xaf\x3f\x6c\x16\xb5\xfd\x14\x65\xd0\xd6\xb0\xd9\x0c\x6f\x50\x06\xdb\xed\x4d\x74\xa5\xfe\x30\x14\xe4\x9c\xe5\xc0\x25\x01\xe1\x7f\xde\xc1\xf5\x3c\x5f\x40\x5c\x70\x22\xd7\x77\x45\x5a\x2e\x3d\xec\x96\xca\xe7\xda\x5c\x81\x8c\xf4\x2d\xde\x30\x64\x5c\x8a\xed\x76\xb7\x6f\x56\xff\xb5\xdd\xe9\x92\xeb\xbc\x04\x37\x25\x31\x67\x82\x25\x72\x78\x03\xf2\x07\xe3\x8f\x23\x5a\xfd\xdf\x48\x2c\x1f\x50\xf8\x67\xf5\xf1\xcd\x86\x24\xde\x70\x22\x22\xc9\x38\x5a\xc0\x79\x1c\xb3\x82\xca\x5a\xd5\x93\x28\xae\x25\x18\x0c\xc4\x2c\x5f\x9b\xcf\x5e\x8a\x77\xb2\x68\xa2\x10\x97\xea\x5f\x5d\xa0\x66\x85\x94\xb1\xdc\xef\xd0\x80\x21\x07\x8a\xc5\x2d\x35\x68\xf5\x1f\x62\x46\x63\x24\x7b\x41\x97\x9e\xbc\x98\xa7\x24\x9e\x84\xe7\x18\x73\x10\x02\xc4\x28\x18\x78\x1a\xb6\x0c\x09\x09\x3c\x34\x77\x55\xa6\xee\xcf\x1a\x00\xb3\xe7\x3b\x55\x8d\x50\xd3\x2c\x0c\x32\x42\x0e\x09\xf9\x09\x22\xe8\x3f\x64\x0c\xf7\x10\xc6\x3d\xc5\xee\x84\x62\xf8\xd9\xeb\x0f\x8e\xb3\x79\x9b\x24\x02\x64\xd0\x37\xf6\xda\x75\xd4\xbc\xf7\x67\xc7\xb7\x06\xfd\x07\x4c\x56\x6f\x00\x67\x27\xb6\xde\xbc\x33\xc9\xd1\xf0\x43\xd5\x81\x6f\x75\xc4\xe8\x8e\xb8\xca\x22\xf2\x27\x88\x29\xca\x83\xbe\xd5\x41\xef\xa7\x6a\x43\xd0\x9f\x0d\x4d\xa8\x4a\xd8\xac\xeb\x8e\xdd\xa8\xac\x49\x18\x99\xc7\xf5\x78\x04\x8a\xb7\xdb\x2a\x2e\x27\xa2\xf2\x3b\x33\x01\xbc\xaf\xc4\xd7\x8a\x89\x13\xf8\xc7\x54\x44\x20\x25\xa1\x0b\x73\x41\x2d\xb1\x0c\x11\xaa\x24\x5d\xa3\x39\xa4\x4e\xa5\x5f\x28\xce\x19\xa1\x72\x7c\x13\xa9\x0f\x2a\x47\x09\xf6\xf1\xa8\xd9\x40\x01\x69\x82\x37\x6d\x1e\x6e\x0a\x72\xc9\xb0\x12\x3f\x5e\x53\x94\x91\xf8\x14\xd3\x39\x33\xc6\xce\x78\x2f\x62\x9d\x97\x4f\x61\x2e\x5b\xbd\x68\xfe\xb2\xe9\xbb\x9e\x9f\xec\x14\x73\x14\x3f\x02\xc5\x35\xbe\x90\xb1\xb4\x7d\x33\x6e\x8c\x5b\xf2\x98\xe2\x8b\x4a\x9e\x12\xd4\x60\xd0\xce\x6b\x37\xa9\xe6\x27\x09\x67\x54\x02\xc5\x93\xf0\x92\xd1\x84\x2c\x0a\x5e\x3e\xed\xf3\x80\x34\xc2\xda\x4c\x1c\xe6\xa3\xed\xb9\x15\x2d\x96\x2d\x9e\xe7\x13\x6c\x18\x6b\x82\x4f\xf2\x91\xc0\x9a\x4c\x9d\x1e\xd2\x65\xae\xfd\xce\xce\x29\xa1\x73\x56\x50\x7c\x83\xe4\xae\xda\xd1\x97\x53\x86\xf0\x05\x4a\x11\x8d\x09\x5d\xb8\xea\xa1\xde\x15\xc8\xeb\x8b\xba\x14\x52\xc0\xea\x7c\xd8\xdf\xda\x75\xe6\x9c\xcd\x9d\x82\xc2\x72\xd1\x26\xe1\x09\x29\x60\x0f\x1b\x78\x37\x77\x57\x4e\xd2\x54\x56\x53\x44\xd1\x02\xf0\x98\x88\xc7\x7d\x09\xf7\x94\x8a\x4a\x17\x50\x79\xd0\x66\x03\xa9\x80\xa7\x09\x33\x52\x8d\x8e\xb4\x93\x72\x1a\xe0\x97\x85\x90\x2c\xbb\xbf\xf9\xf2\x6d\xbf\xf3\x40\x16\xb2\xd6\x99\xae\x4c\xb4\x2b\x97\x95\x87\xb5\x1f\xc7\xb8\x91\x29\xc8\xc9\x38\xa8\xb7\xed\xaf\x46\x57\xc9\xaa\x5e\x03\x1b\x4c\xc7\xc5\x3b\x0a\x4e\xaa\x71\x9a\x92\xeb\x5f\xef\xa1\xd0\x7a\x0d\x10\x47\xcb\x2b\xbb\x33\xbc\x0c\xcb\xff\x7e\x0f\x2c\xbf\x06\x88\x37\x65\xf9\x3f\xef\x81\xe5\xd7\x00\xf1\xa6\x2c\xff\xf7\x3d\xb0\xfc\x1a\x20\xde\x94\xe5\xff\xbd\x07\x96\x5f\x03\x84\x93\xe5\x53\x3a\x47\xd7\xdd\x68\x2d\x6b\x5c\x57\x77\x53\xd4\xeb\x3a\x5b\x35\x98\x2f\x91\xea\xed\xea\x77\xfa\xf4\x87\x43\x59\x52\x47\x65\xa5\xea\x7b\xda\xe0\x23\x40\xb1\x00\xba\x20\x14\x3e\x39\x14\xdf\x4f\xf5\x5e\x6f\xe0\x05\x9f\x56\x99\x10\x5a\x65\xbf\xfd\x15\x53\x98\x13\xd4\x1f\x6d\x6e\x8a\x7c\xc1\x11\x86\x90\xa5\x24\x5e\xb7\x7b\xde\x8c\xe1\xaa\xca\x44\xb4\x40\xa9\xbd\x83\x5d\x11\x2e\x0b\x94\x4e\x51\xbc\x24\x14\x42\xce\x12\x92\x42\x5b\x50\x5d\x80\xd9\x57\xf7\xeb\x13\x2a\x81\x27\x28\x86\x83\x4d\x8e\xd7\x69\x74\x0c\xa2\x28\x89\x5b\x9d\x8c\x8d\x80\x03\x95\xa4\x0d\x99\x51\x3a\x5a\x7b\x1d\xef\xe4\x7e\xe7\xef\x57\xa3\x5d\x8d\xdb\x76\xc1\x6c\xc2\xc9\x8f\x12\xe9\xa2\xb3\x4b\x2a\xc9\xe3\x52\x98\x85\xdc\x03\x14\x3b\xa3\xbd\x7b\x5c\x0f\xf1\x8b\xa3\x3d\xf7\xa9\x8f\xd0\x50\x81\xf5\x20\x0a\x46\xa2\x98\x8b\x98\x93\xbc\xe4\x45\x91\xaf\x7f\xd0\xeb\x0f\xf5\xb7\x13\x3c\x08\x46\x46\xa8\x96\x27\xda\xc1\xab\xb8\x1a\x78\xc1\x28\xe7\x6c\x45\xb0\x4a\x53\xcf\x4c\x63\x4a\x98\x65\xf8\x30\xb2\xf7\xc7\x96\xc1\x82\xdd\x67\x9a\x97\xdb\x14\xb3\x43\x5e\x55\x13\x2a\x8a\x39\x05\xe9\x0c\x05\x93\x76\x6b\xd2\xa2\x20\xa3\x52\x48\xdd\x44\x3d\x15\xa7\xfd\x73\xdb\xa7\x33\x9b\xcb\xfa\x39\x27\x19\xe2\x2a\xe9\xf9\x92\x17\xd0\x05\xd0\x16\x65\xbe\x9f\xe9\x03\x06\x5d\x81\xcf\x84\x33\xd1\x21\x9c\x11\xfa\x5d\x00\xb7\x8d\x66\x8c\x45\xcb\x40\x26\x66\x59\x5e\x48\xe0\xfb\x64\xef\x26\x77\x6a\x0e\x1f\x07\xdd\xef\x71\xc6\x97\xb7\xd1\xf9\x02\xa8\xac\x52\xe0\x18\x49\xe4\x0d\x5b\x16\xf7\x53\x42\x8b\x9f\x46\x12\xb1\xcd\x82\x30\x11\x0a\x40\x88\x84\xf8\xc1\x38\x3e\x2f\xe4\x12\xa8\x24\xfb\x8b\xae\xe4\xb7\x6d\x04\x5f\x88\xa5\x7d\x6c\x54\x4d\x84\xbe\xc2\xda\x15\xf4\x8e\xf4\xfb\x08\x6b\xf5\x18\x25\x2b\x39\xe2\x28\x03\x09\x5c\x15\x31\x62\x79\x17\x9d\x87\x8d\xd4\x2e\x21\x7b\xcd\x48\x2e\xdb\xa4\x0a\xb1\xfc\x0a\xeb\x10\xc9\xa5\xc3\x4d\xbb\x2e\x37\x3b\x79\x34\xa5\x8c\x41\x12\xef\x0f\x24\xae\x15\xd5\x11\xc4\x1c\x2c\x69\xb2\xcb\x5d\xb5\xb1\x8d\xb5\xb4\x57\xed\x7d\xb5\xac\x0e\xe8\x6e\x68\x9b\xee\x5b\x97\x7c\x4e\x1f\x26\x19\x5a\xc0\x1d\x24\xc0\x81\xc6\xdd\x75\x15\x00\x49\x02\xbc\x0d\x8d\x89\x89\x3a\x78\xab\xd6\x6c\x16\xa8\xac\x2e\x96\xce\x93\x61\xb3\x6e\x3d\x2d\x1e\x0b\xc7\xb9\xe8\xeb\x77\xeb\x89\x95\x7d\x2e\x55\x9f\xaa\x67\x53\x1d\xf6\xb6\xb6\x50\x42\x12\x95\x33\xb0\x6e\x00\x31\xa1\x16\x6c\x24\xc5\x65\xc5\xb4\x50\xea\xef\x00\xe1\x5b\x9a\xae\xbb\x18\xcb\xaa\x14\x6e\xf3\x26\x90\xfe\xcf\x59\x56\xc2\xf3\x8f\xcf\x9a\xaa\xd7\x60\x77\x87\xab\x9a\x90\x09\xac\xe0\x74\xb9\x58\xe2\x4b\x46\x25\x22\x14\xb8\x3d\xe8\x76\x77\x27\x6f\x2c\xdf\xfb\x67\x92\xf5\x6b\x3a\xa6\xc1\xe1\x2f\xb1\xfb\xc3\xfa\xe6\x6a\xbe\x6a\x12\xc3\x79\xca\xe6\x83\xa0\x32\xae\x3d\xbb\xbd\xa2\xf9\x3e\xfa\x88\xec\x37\x37\xdf\x47\x9f\xbd\xfd\xe6\xe6\xfb\xe8\x43\xbd\xdf\xdc\x7c\x1f\x7d\x5a\xf8\x7c\xf3\x9d\xb5\xcc\x37\xb3\xf6\xb2\xf6\xaf\x87\xb7\x9d\x71\x5d\x55\x56\xea\x73\x42\x94\xa3\x98\xc8\xb5\xb3\xf5\x3a\xf4\xcb\xb0\xc3\x3f\xdc\xd1\x4f\x48\x52\xd5\xc1\x91\x44\x14\x23\x8e\x4f\xf9\x15\xc8\x65\xd5\x1f\x8e\xcc\x91\x5c\x14\x23\xd5\x0b\xec\x7e\xc8\x73\xf6\x57\x00\x00\x00\xff\xff\x83\xcb\x6d\x65\xa2\x28\x00\x00") +var _dcosagentresourcesvmssT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\x4b\x73\xe2\xb8\x13\xbf\xe7\x53\xb8\x7c\x31\x54\x31\xf0\x7f\xec\x69\x6e\x49\x98\xcd\x52\x13\x12\x57\x3c\x93\x4b\x8a\x83\xb0\xda\xa0\x8a\x2d\xb9\x24\x99\x19\x96\xe2\xbb\x6f\xc9\x0f\x90\x6c\x09\xc8\x26\x9b\x64\x2a\xcb\x61\x26\xb6\xa4\x56\xfb\xd7\x0f\xfd\xba\x6d\xcf\xf3\xbc\xcd\x99\x57\xfe\x7c\x94\x93\x7b\xe0\x82\x30\xea\x7f\xf6\xfc\x87\x15\xe2\x04\xcd\x53\x10\xbd\x60\x3f\x32\x86\x04\x15\xa9\x0c\xfa\x33\x7f\xd0\xac\x4b\x59\x8c\xa4\x65\x55\x73\xdf\x98\x4c\x51\x06\xed\x89\x9b\xcd\xf0\x06\x65\xb0\xdd\xde\x44\x57\xea\x0f\x63\x41\xce\x59\x0e\x5c\x12\x10\xfe\xe7\x9d\xae\x9e\xe7\x0b\x88\x0b\x4e\xe4\xfa\xae\x48\xcb\xa1\x87\xdd\x50\xf9\x50\x9b\x2b\x90\x91\x3e\xc5\x1b\x86\x8c\x4b\xb1\xdd\xee\xe6\xcd\xea\xbf\xb6\xbb\xbd\xe4\x3a\x2f\x95\x9b\x92\x98\x33\xc1\x12\x39\xbc\x01\xf9\x83\xf1\xc7\x11\xad\xfe\x6f\x24\x5e\x71\x56\xe4\xc2\x3f\xab\x97\x6f\x36\x24\xf1\x86\x13\x11\x49\xc6\xd1\x02\xce\xe3\x98\x15\x54\xd6\x5b\x3d\x09\xdf\x5a\x82\x81\x40\xcc\xf2\xb5\xf9\xec\xa5\x78\x27\x8a\xa6\x16\xe2\x52\xfd\xab\x0b\xd4\xac\x90\x32\x96\xfb\x1d\x18\x30\xe4\x40\xb1\xb8\xa5\x06\xac\xfe\x43\xcc\x68\x8c\x64\x2f\xe8\xc2\x93\x17\xf3\x94\xc4\x93\xf0\x1c\x63\x0e\x42\x80\x18\x05\x03\x4f\xd3\x2d\x43\x42\x02\x0f\xcd\x59\x95\xa9\xfb\xb3\x46\x81\xd9\x33\x3d\xaa\x56\x4f\x9b\x2f\x0c\x24\x42\x0e\x09\xf9\x09\x22\xe8\x3f\x64\x0c\xf7\x10\xc6\x3d\x05\xed\x84\x62\xf8\xd9\xeb\x0f\x8e\x43\x79\x9b\x24\x02\x64\xd0\x37\xe6\xda\xf7\xa8\x41\xef\xcf\x8e\x4f\x0d\xfa\x0f\x98\xac\xde\x40\x9d\x9d\xd8\x7a\xf2\xce\x1e\x47\x63\x0f\x55\x0b\xbe\xd5\xe1\xa2\x9b\x68\x95\x45\xe4\x4f\x10\x53\x94\x07\x7d\xab\x77\xde\x4f\xd5\x84\xa0\x3f\x1b\x9a\xaa\x2a\x61\xb3\xae\x2f\x76\x43\xb2\x06\x61\x64\x2e\xd7\x83\x11\x28\xde\x6e\xab\xa0\x9c\x88\xca\xe9\xcc\xe8\x7f\x47\x29\xaf\x15\x0d\x27\x80\x8f\xa9\x88\x40\x4a\x42\x17\xe6\x80\x1a\x62\x19\x22\x54\x49\xba\x46\x73\x48\x9d\x9b\x7e\xa1\x38\x67\x84\xca\xf1\x4d\xa4\x6e\x54\x5e\x12\xec\x23\x51\x33\x80\x52\xa4\x09\xdb\xb4\x79\xbc\x29\xc8\x25\xc3\x4a\xfc\x78\x4d\x51\x46\xe2\x53\xec\xe6\xcc\x15\x3b\xcb\xbd\x88\x69\x5e\x3e\x79\xb9\x6c\xf5\x72\x99\xcb\xb6\xd9\xf5\xfc\x64\x8f\x98\xa3\xf8\x11\x28\xae\x95\x0b\x19\x4b\xdb\x07\xe2\xc6\x38\x1c\x8f\x6d\x7c\x51\xc9\x53\x82\x1a\x1d\xb4\xf5\xda\x01\xaa\x39\x49\xc2\x19\x95\x40\xf1\x24\xbc\x64\x34\x21\x8b\x82\x97\xcf\xfb\x3c\x45\x1a\x61\x6d\x24\x0e\xe3\xd1\x76\xdb\x0a\x16\xcb\x14\xcf\xf3\x49\xe9\xc5\x0f\x1c\x04\x2b\x78\x0c\x13\x7c\x92\x83\x04\xd6\x34\xea\x74\x8f\x2e\x72\xed\x2b\x3b\xa6\x84\xce\x59\x41\xf1\x0d\x92\x3b\x92\xa3\x0f\xa7\x0c\xe1\x0b\x94\x22\x1a\x13\xba\x70\xd1\xa0\xde\x15\xc8\xeb\x8b\x9a\x01\x29\xc5\xea\x4c\xd8\xdf\xda\xf7\xcc\x39\x9b\x3b\x05\x85\xe5\xa0\x4d\xc2\x13\xe2\x7f\xaf\x36\xf0\x6e\xd6\xae\x9c\xa4\x21\x54\x53\x44\xd1\x02\xf0\x98\x88\xc7\x3d\x73\x7b\x0a\x91\xd2\x05\x54\x1e\xb4\xd9\x40\x2a\xe0\x69\xc2\x8c\x3c\xa3\x6b\xda\xc9\x37\x8d\xe2\x97\x85\x90\x2c\xbb\xbf\xf9\xf2\x6d\x3f\xf3\x40\x0a\xb2\xd2\x4b\x57\x1a\xda\xb1\x64\xe5\x61\xed\xc7\x31\xce\x62\x0a\x72\x32\x0e\xea\x69\xfb\x43\xd1\xc5\x54\xd5\x6f\x60\x53\xd3\x71\xe4\x8e\x82\x93\xd8\x4d\x43\xb6\xfe\xf3\x1e\x28\xd6\x6b\x28\x71\x94\x58\xd9\x9d\xe1\x65\x50\xfe\xef\x7b\x40\xf9\x35\x94\x78\x53\x94\xff\xf7\x1e\x50\x7e\x0d\x25\xde\x14\xe5\xff\xbf\x07\x94\x5f\x43\x89\x37\x45\xf9\xb7\xf7\x80\xf2\x6b\x28\xe1\x44\xf9\x94\x9a\xd1\x75\x36\x5a\x69\x8d\xeb\xe8\x6e\x48\xbd\xbe\x67\x8b\x83\xf9\x12\xa9\xc2\xae\xbe\xd2\x9b\x3e\x1c\x4a\x4a\x1d\x95\x4c\xd5\xf7\xb4\x96\x47\x80\x62\x01\x74\x41\x28\x7c\x72\x6c\x7c\x3f\xd5\x0b\xbd\x81\x17\x7c\x5a\x65\x42\x68\xcc\x7e\xfb\xe2\xcd\x97\x13\xf6\x3e\x5a\xd9\x14\xf9\x82\x23\x0c\x21\x4b\x49\xbc\x6e\x57\xbb\x19\xc3\x15\xc5\x44\xb4\x40\xa9\xbd\x76\x5d\x11\x2e\x0b\x94\x4e\x51\xbc\x24\x14\x42\xce\x12\x92\x42\x5b\x50\xcd\xbe\xec\xa3\xfb\xf1\x09\x95\xc0\x13\x14\xc3\xc1\x0a\xc7\xeb\x54\x39\x06\x50\x94\xc4\xad\x32\xc6\x06\xc0\x01\x1a\x69\xd3\xcc\xe0\x8d\xd6\x42\xc7\x3b\xb9\xd8\xf9\xfb\x54\xb4\xbb\xe3\xb6\xcd\x96\x4d\x75\xf2\xa3\x40\xba\xe0\xec\x82\x4a\xf2\xb8\x14\x66\x01\xf7\x00\xc4\xce\x50\xef\x2e\xd7\xe3\xfb\xe2\x68\xc1\x7d\xea\x23\x34\x50\x60\x3d\x88\x82\x91\x28\xe6\x22\xe6\x24\x2f\x71\x51\xe0\xeb\x37\x7a\xfd\xa1\x7e\x39\xc1\x83\x60\xd4\xd8\x74\x6f\x2e\xe3\x4e\xaf\x3f\x54\x58\x0d\xbc\x60\x94\x73\xb6\x22\x58\xe5\xa8\x67\xe6\x30\x25\xcc\xd2\x79\x18\xd9\x8b\x63\x4b\x57\xc1\xee\x33\xcd\xcf\x6d\x8a\xd9\x21\xaf\xaa\x01\x15\xc5\x9c\x82\x74\x86\x82\x09\xbb\x35\x69\x51\x90\x51\x29\xa4\xae\xa0\x9e\xaa\xa7\xfd\xbe\xed\xee\xcc\xe6\xb2\x7e\xce\x49\x86\xb8\x4a\x7a\xbe\xe4\x05\x74\x15\x68\x8b\x32\xaf\x67\x7a\x77\x41\xdf\xc0\x67\xc2\x99\xe8\x10\xce\x08\xfd\x2e\x80\xdb\xfa\x32\xc6\xa0\xa5\x1b\x13\xb3\x2c\x2f\x24\xf0\x7d\xb2\x77\x83\x3b\x35\xdb\x8e\x83\xee\xbb\x9b\xf1\xe5\x6d\x74\xbe\x00\x2a\xab\x14\x38\x46\x12\x79\xc3\x96\xc5\xfd\x94\xd0\xe2\xa7\x91\x44\x6c\x8d\x20\x4c\x84\x52\x20\x44\x42\xfc\x60\x1c\x9f\x17\x72\x09\x54\x92\xfd\x29\x57\xe2\xdb\x36\x82\x2f\xc4\xd2\xde\x33\xaa\xda\x41\x5f\x61\xed\x0a\x7a\x47\xfa\x7d\x84\xb5\x7a\x8c\x12\x95\x1c\x71\x94\x81\x04\xae\x18\x8c\x58\xde\x45\xe7\x61\x23\xb5\x0b\xc8\x7e\x67\x24\x97\x6d\x50\x85\x58\x7e\x85\x75\x88\xe4\xd2\xe1\xa6\x5d\x97\x9b\x9d\xdc\x97\x52\xc6\x20\x89\xf7\x07\x12\xd7\x0a\xea\x08\x62\x0e\x96\x34\xd9\xc5\xae\x9a\xd8\xa1\x10\x4a\x48\xed\x7d\xb5\xac\x8e\xd2\xdd\xd0\x36\xdd\xb7\xe6\x7b\x4e\x1f\x26\x19\x5a\xc0\x1d\x24\xc0\x81\xc6\xdd\x71\x15\x00\x49\x02\xbc\xad\x1a\x13\x13\xb5\xf0\x56\x8d\xd9\x2c\x50\x59\x5d\x2c\x9d\x2b\xc3\x66\xdc\xba\x5a\x3c\x16\x8e\x75\xd1\xd7\xef\xd6\x15\x2b\x7b\x53\xaa\x5e\x55\x37\xa6\x3a\xe8\x6d\x6d\xa1\x84\x24\x2a\x1b\x60\xdd\x00\x62\x42\x0d\xd8\x40\x8a\x4b\xc6\xb4\x50\xdb\xdf\x01\xc2\xb7\x34\x5d\x77\x75\x2c\x29\x29\xdc\xe6\x4d\x20\xfd\xce\x59\x56\xaa\xe7\x1f\x6f\x34\x55\xbf\xc1\xee\x0c\x57\x9c\x90\x09\xac\xd4\xe9\x62\xb1\xc4\x97\x8c\x4a\x44\x28\x70\x7b\xd0\xed\xce\x4e\xde\x58\xbe\xf7\x6f\x1b\xeb\x9f\x29\x97\x06\x87\x5f\x5c\xf7\x87\xf5\xc9\xd5\xbc\x64\x12\xc3\x79\xca\xe6\x83\xa0\x32\xae\x3d\xbb\xbd\xa2\xf9\x3e\x7a\x7f\xec\x17\x37\xdf\x47\x6f\xbc\xfd\xe2\xe6\xfb\xe8\x1d\xbd\x5f\xdc\x7c\x1f\xbd\x55\xf8\x7c\xf3\x9d\xb5\xcc\x37\xb3\xd6\xb2\xf6\x77\xc3\xdb\x4e\xaf\xae\xa2\x95\x7a\x93\x10\xe5\x28\x26\x72\xed\x2c\xbd\x0e\x7d\x0d\x76\xf8\x7b\x1d\x7d\x85\x24\x15\x0f\x8e\x24\xa2\x18\x71\x7c\xca\xf7\x1f\x97\x55\x7d\x38\x32\x5b\x72\x51\x8c\x54\x2d\xb0\xfb\x7e\xe7\xec\xaf\x00\x00\x00\xff\xff\x06\x9d\x5c\xa3\x93\x28\x00\x00") func dcosagentresourcesvmssTBytes() ([]byte, error) { return bindataRead( @@ -423,7 +423,7 @@ func dcoscustomdata188T() (*asset, error) { return a, nil } -var _dcosmasterresourcesT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x59\x4b\x6f\xdb\x3e\x12\xbf\xf7\x53\x10\xba\x28\xfe\xc3\xb5\xdb\xe0\xbf\x97\xf4\x94\xc6\x79\x18\x8d\x1d\x23\x4a\xb3\x87\x22\x58\xd0\xe4\xd8\x26\x22\x91\x02\x49\x39\xf1\x06\xf9\xee\x0b\xea\x61\x4b\x14\xe5\xc8\x89\x8a\x2e\x16\x9b\x4b\x9b\x68\x38\xef\xf9\xcd\x70\x88\x10\x42\x2f\x9f\x50\xfa\xe3\xe1\x98\xdd\x83\x54\x4c\x70\xef\x04\x79\xbf\xd6\x58\x32\x3c\x0f\x41\x1d\xf9\xbb\x2f\x81\x16\x12\x2f\xc1\xef\x3d\x78\xfd\xe2\x1c\x85\x18\x38\x55\x37\xe6\xd8\xaf\xfc\x8f\x08\x79\xbf\x88\xe0\x04\xeb\x23\x7f\xc2\x88\x14\x4a\x2c\xf4\x60\x0a\xfa\x49\xc8\xc7\x61\x9c\xcc\x43\x46\xc6\xb3\x53\x4a\x25\x28\x05\x6a\xe8\xf7\x51\x49\x5e\x84\x95\x06\x39\xab\x52\x4d\x71\x04\x7e\xaf\xf7\xe0\xe5\x22\x1e\xb6\x0a\x84\x82\x60\x5d\xa8\x2d\x41\x89\x44\x12\xb8\x94\x22\x89\x8f\x7a\x83\xe2\x63\x49\x61\x8e\x23\xb0\x4d\xcc\x44\xe6\xe6\x9d\x12\x22\x12\xae\x33\x89\xa5\x83\xb1\x14\x31\x48\xcd\x40\x79\x27\x5b\xbf\x19\xcf\x65\xf4\x77\x9b\xb8\xc6\x77\x1d\x05\xec\xdf\xa0\x26\x38\xf6\x7b\x75\x79\xf7\x13\xf3\xd5\xef\x3d\x0c\x54\x45\xb2\xe1\xb4\x35\xf4\x75\x2b\x5f\xe7\x02\x76\x1e\xcd\x15\x1e\x56\x8f\xab\xec\x68\x7e\xf0\xff\x01\x6e\x0a\xf0\xf9\xf3\x8a\xcd\x99\x16\xf2\xbd\x91\x0e\x34\xe6\x14\x4b\xfa\xaf\xeb\xdb\xa0\x8b\x70\xbd\xbc\xb0\x05\xe2\x42\xa3\xc1\x24\xf3\x90\x14\x0b\x16\xc2\x60\xac\xce\x12\xa5\x45\x74\x3f\x3d\xbf\x7b\x7d\x3d\x3c\xaa\x23\x58\xe0\x24\xd4\x2d\xa2\x8a\xd0\xcb\xcb\x25\x68\x23\x28\x48\xe6\x1c\xf4\x28\x25\x03\x4e\x18\xa8\x5c\x74\xd7\xa1\x59\x33\xa9\x13\x1c\xe6\xc9\xd3\x3e\x16\x59\xda\x04\x31\x26\x50\xf9\xb2\xfb\x36\x93\xb0\x60\xcf\xe9\xc1\xb2\x89\x25\x23\x4f\xab\x84\x5b\x0b\x53\x2b\xb7\xff\xdf\xc6\x14\x21\x4f\xa5\x6e\xb1\x59\x5a\x5e\x53\x48\xcb\x04\x4a\xdc\x1e\x5a\x64\x47\x51\x3d\x55\x7f\x94\xb3\x03\x38\xed\x2a\xfc\xdd\xd5\xd4\xe9\x1a\xb3\x10\xcf\x59\xc8\xf4\x26\x00\xbd\x27\x76\xfb\x8c\x3f\x13\x51\x9c\x68\x18\xe2\x2a\xb7\x0f\x40\xd9\xef\xb5\xda\x09\x5e\x2d\xb2\x96\x72\x15\x80\xd6\x8c\x2f\x95\x9d\xb4\x54\x44\x98\x71\xc3\xe9\x1a\xcf\x21\x74\xcb\x3d\xe7\x34\x16\x8c\xeb\xd1\x34\x30\x94\x59\xe2\xfa\x3b\xd4\xac\x26\xeb\x16\x88\xc3\xc2\xb8\x09\xe8\x95\xa0\x86\xf7\x68\xc3\x71\xc4\x48\x1b\xdc\x6a\xc4\xf5\x6e\xa3\xf3\x3f\xd4\x68\xae\xe7\xad\x33\x62\x8e\xc9\x23\x70\x5a\x20\x91\x10\x61\x0d\x5c\x2a\xd8\xb5\x57\xea\xf7\x8c\x99\xe1\x52\x28\x50\x3a\x5c\xc2\xa3\x52\x92\x2c\xa4\xe0\x1a\x38\x1d\xcf\xce\x04\x5f\xb0\x65\x22\x53\x3b\x3f\xa0\x45\xc1\xc9\xf6\xc1\x7e\x4f\xd8\x39\x9b\x39\xc4\x41\x82\x90\xc7\x68\x25\x46\x63\xda\x2a\x3b\xfc\xfe\xa1\xb9\x51\xf7\x9c\xfd\xdb\xfb\x30\x3e\x14\x98\x7e\xc7\x21\xe6\x04\x64\xc7\x55\x44\x44\xbc\xa9\x66\x58\x3a\x65\xb8\x63\x75\x66\x3e\x55\x43\xb4\x8d\x6c\x11\xcd\x6b\x21\xe2\xa9\xa0\x50\x47\x8a\xa6\x82\x75\xa5\xc4\xc8\xef\xb4\xe2\x72\x4c\x68\x2c\xbc\x3e\xf2\x0d\x16\xf8\x41\x70\xf5\xd9\x85\x09\xf7\x93\x32\x7c\xf6\x91\xf1\xda\x98\x53\x78\x3e\xea\x1d\x50\xb4\x33\x21\x8d\x63\x8f\x8f\x4b\xee\x03\x6e\x04\x5d\x84\x02\x1b\x94\x1f\xcf\xbc\x13\xb4\xc0\xa1\x82\xb7\x2b\xce\x6e\x08\x79\x92\xef\x29\xb0\x8a\x57\xab\xd0\x5f\xc8\xc8\x55\x34\x1e\x2b\x2c\x3c\x3e\xfe\xf2\xa5\x1a\xf2\x58\x0a\x2d\x88\x48\x7b\x8e\x26\xf1\x21\x3d\xa1\x92\xc9\x43\xc6\xe7\x22\xe1\x74\x8a\xf5\x6d\x12\x76\xdd\x1f\xba\x83\xe7\x69\x70\xd9\x1a\x9f\x15\x90\x44\x32\xbd\xc9\x0c\x6a\x85\x89\x4a\xad\x0e\xc3\x3c\x4c\x48\x06\x75\x9e\xe9\xd4\x4f\xd6\xe1\xb4\xd2\x14\x91\x2c\x2e\xac\x4f\xa9\x50\x10\x5c\x39\x29\x35\xe3\xa9\x2b\x2a\xc3\xad\x39\xf6\xd7\x5e\x72\x93\x29\xb7\x98\x2f\x53\x13\x8e\x8f\x1d\xb4\x4c\x02\x29\x54\x18\x67\x91\xae\x53\xc5\x92\x09\xe3\x2f\x53\x17\x5f\xbe\x38\x3e\xef\x52\xed\x8e\xc4\xf5\xf3\x59\x58\xdb\xe8\x9e\x51\x56\xd4\xfe\xcb\xeb\x18\xa8\x79\xf6\x6f\x90\x27\x41\x9a\x6d\xff\xad\x80\xcd\x19\xe9\x00\xab\xa7\xc1\x65\x06\x2b\x6d\xef\xa3\x05\x2f\x37\xd3\x35\x07\xbd\xe3\xb7\xbb\xc1\x34\x48\x2f\x3a\x45\xbf\x3e\xff\x35\xd0\xf6\x7d\x1b\x75\x86\x19\xe8\xbf\x85\xf9\x55\xc8\xff\xfd\xad\xc9\x6e\x39\x3e\x67\xc4\xf4\xa6\x03\x5b\x0f\x8b\xdf\x33\xa6\x15\xa7\xd2\xe4\x38\x08\x9b\xca\x00\xff\xfd\xcd\x59\xd5\xa5\x44\xa1\x38\x7d\xa3\x73\xa7\xd1\x44\xfe\xd0\x31\x11\x3b\xe7\x7a\xc7\xb8\x5b\x9f\xdc\xec\xd9\xad\x32\xfb\x3a\x4c\x1c\x5b\x1d\xac\x63\xf3\x3a\x4d\xd6\x43\x6c\x8c\x25\x5b\x63\x0d\xe5\xb9\xba\x59\xd9\x0b\x26\x95\x36\x84\xae\x01\x89\xf1\x7d\x27\x6e\x88\x06\xfd\xb7\xdf\xeb\xf5\x6a\x83\x7f\x45\x0b\xc7\x8d\x34\xd0\x58\x33\xe2\xc0\xf9\x74\xa7\xb2\xf7\x22\x50\x77\x1f\x07\x9d\xed\x62\xac\x19\xc9\xe5\xaf\xfd\x6d\x02\xa1\xbe\xe7\x6a\x03\x6d\xc7\xb5\x2d\xa0\x7e\xb2\x65\x1c\xd0\x80\xc6\x5c\x83\x5c\x60\xd2\xf5\x4c\xd5\x59\xf3\x59\x47\x87\xf7\x9e\xe6\x8b\x7d\xcd\x6a\x27\x00\x1c\x86\xa8\x6e\x89\x4d\x8b\xa7\xa1\xa3\x26\x6b\xab\x2e\x8b\xfb\x81\x0f\x0a\x2d\x8e\xd4\x56\xd4\xb5\x36\xa5\xf1\x52\x79\x27\xf9\x6f\xe5\x30\x4a\x48\xcb\x2b\x48\xfb\x96\x87\x4a\xe5\xee\x63\xa2\x80\x2f\x19\x87\x77\x5c\x8d\x6a\xc1\xfd\xed\x7d\xf2\xc0\xfe\x68\x05\xb2\xa1\x4a\xdd\x9b\x83\xa6\x64\x68\x99\x0b\xce\x8b\xd8\x0a\x4b\xfa\x84\x25\xe4\xc3\x93\xad\x4f\xf6\x42\xd4\x00\x62\xc5\xfb\x90\x9b\x73\x5e\x24\x0d\x8c\xeb\xc0\x51\xdb\x82\xdb\x40\xdb\x6a\xab\x52\xe3\xeb\xf7\x3f\x32\xf1\xd8\xd8\xfc\xf6\x06\x5e\xa8\x06\x8b\x31\x8d\x18\xff\xa9\x40\xba\x2e\x7e\x95\x8f\xf6\x52\xca\x23\x59\xe0\x65\x47\xc9\x89\x8a\x27\x81\xd1\xd9\x4d\x90\xcd\xce\xd9\xc4\x3c\xc2\x1a\x57\x1e\x19\xbc\x90\xf1\xe4\x79\xdf\x1a\x20\xbd\x78\x29\xa3\xc4\x0c\x2b\xf5\x24\x24\x3d\x4d\xf4\x0a\xb8\x66\xbb\xba\xd3\x32\xa9\x4d\x75\xe6\x12\xea\x6c\x99\xd9\x5a\xec\x07\x6c\xdc\xc3\x8d\x2b\x33\x4a\xa7\x1f\x61\x63\x8c\xb0\xdd\xab\xd4\xea\x36\x38\x9d\x15\xac\xeb\x5b\xbf\xaa\x0a\x58\xaf\x1c\x1c\x7e\xc0\x66\x86\xf5\xca\xd1\xaf\xb3\x1f\x7b\xca\x29\x67\x88\xfd\xfd\xb5\x12\x0a\xb6\x40\x83\x6b\xe3\xe9\xe2\x0a\x73\x85\x55\x00\x44\x82\xae\xbe\xf9\x54\x92\x42\x65\x04\xb6\xa2\x61\x89\x4f\xce\xc3\xd2\xd8\xbe\xe7\x54\xde\x8f\x32\x7c\x6f\x48\x61\x16\xe1\x25\xdc\xc2\x02\x24\xf0\xda\xb3\x96\xc9\xfd\xc5\x02\xa4\xad\x90\x50\x63\x73\xec\xc6\x7c\x73\xad\x5b\x4d\x50\xd4\xaa\xf1\xdc\xac\xf8\xee\x38\xab\x1e\x93\x86\x53\xc1\x8f\x9f\x0e\xfa\xb5\x7b\x06\xc9\xcf\xe4\x73\x88\xbd\x95\xae\x38\x5d\xa8\x11\x53\x8f\x75\xcb\x09\x26\x2b\xc6\x97\x86\xf3\x2d\x60\xfa\x4f\xc9\x74\x2d\xe5\xd3\x9e\x07\x37\xdb\x35\xc9\x85\x14\x51\x2a\xd8\x26\xfc\x48\x99\xf7\xfd\xcf\x42\x51\xa6\x1e\x5d\xe6\xaf\xa8\xeb\x0a\x95\x48\x56\x96\x26\x8b\xf8\x1e\xd5\xc7\x91\x86\x27\x62\xd7\x34\xe2\x1a\x2e\x7a\xfd\xfd\xcf\xfa\xbd\x41\x2c\x59\x84\xe5\xa6\x78\x47\x52\x83\x79\x28\xe6\x7d\x7f\xbd\xa2\x4e\x21\xcd\xd7\x90\xad\x1f\x06\xeb\x15\xad\x95\xac\xbb\x14\xdb\x0c\xbe\x45\x0f\xce\x9f\x41\x27\x69\xdc\xff\xdc\x53\x53\x83\x3a\xad\xe6\x51\x95\xcc\xeb\xa9\x95\x0f\xd1\x7d\xf4\xf5\xcf\xac\x1d\xde\x52\xca\xdc\xc0\x9f\x30\xd3\x0b\x21\x43\xc0\xb4\x0a\x0b\xcd\x53\x57\xa2\xc5\xcf\x78\x29\x31\x85\x09\xe3\x42\xee\xa2\x62\x7a\x93\xfd\x24\x59\xa0\xd1\xce\xcd\x37\xc1\xdd\xd9\xf9\xb3\x06\xae\xd2\x9d\x46\x19\x30\x1b\x9e\x4b\x89\x88\x22\xcc\xe9\x9d\x38\x7f\x06\x92\xe8\x6c\xf1\xba\x42\x9f\x09\xf2\x13\xae\x59\x88\x62\xc6\x97\xe8\x33\xf9\x8a\x32\x33\x06\x11\x28\xa1\xbe\x51\x81\x80\xac\x04\x32\x26\x1a\x82\x85\x90\x55\x02\x15\x02\xc4\xe8\xeb\x3f\xbe\x51\xc1\xe1\x5b\x4a\x5b\xfe\x8e\x92\xd8\x77\x8f\x63\x45\x2a\x67\x9d\x3e\x48\xf7\xb5\x17\x42\xa6\x6d\xc7\xb3\xe8\xae\x30\xa7\x21\x94\xbc\xe4\x7d\x1d\xfc\xdd\x66\xed\xde\x94\x8e\xb0\xf3\x5d\x56\x28\x9f\xfe\x13\x00\x00\xff\xff\x09\xd4\x9d\x08\xdd\x25\x00\x00") +var _dcosmasterresourcesT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x59\x4b\x6f\xdb\x3e\x12\xbf\xf7\x53\x10\xba\xa8\xfe\xc3\xb5\xdb\xe0\xbf\x97\xf4\x94\xc6\x79\x18\x8d\x1d\x23\x4a\xb3\x87\x20\x58\xd0\xe4\xd8\x26\x22\x91\x02\x49\x39\xf1\x06\xf9\xee\x0b\xea\x61\x4b\x14\xe5\xc8\x89\x8a\x2e\x16\x9b\x4b\x9b\x68\x38\xef\xf9\xcd\x70\x88\x10\x42\x2f\x9f\x50\xfa\xe3\xe1\x98\xdd\x81\x54\x4c\x70\xef\x18\x79\xf7\x6b\x2c\x19\x9e\x87\xa0\x3e\xfb\xbb\x2f\x81\x16\x12\x2f\xc1\xef\x3d\x78\xfd\xe2\x1c\x85\x18\x38\x55\xd7\xe6\xd8\x7d\xfe\x47\x84\xbc\x7b\x22\x38\xc1\xfa\xb3\x3f\x61\x44\x0a\x25\x16\x7a\x30\x05\xfd\x24\xe4\xe3\x30\x4e\xe6\x21\x23\xe3\xd9\x09\xa5\x12\x94\x02\x35\xf4\xfb\xa8\x24\x2f\xc2\x4a\x83\x9c\x55\xa9\xa6\x38\x02\xbf\xd7\x7b\xf0\x72\x11\x0f\x5b\x05\x42\x41\xb0\x76\xa8\x5d\xfc\xbd\xa2\x2d\xc7\x11\xd8\x84\x99\xbc\xdc\xb6\x13\x42\x44\xc2\x75\x26\xae\x74\x30\x96\x22\x06\xa9\x19\x28\xef\x78\xeb\x34\xe3\xb6\x8c\xfe\x76\x13\xd7\xf8\xae\xa3\x80\xfd\x1b\xd4\x04\xc7\x7e\xaf\x2e\xef\x6e\x62\xbe\xfa\xbd\x87\x81\xaa\x48\x36\x9c\xb6\x56\xbe\x6e\xe5\xeb\x5c\xc0\xce\x9d\xb9\xc2\xc3\xea\x71\x95\x1d\xcd\x0f\xfe\x3f\xba\xce\xe8\x9e\x3d\xaf\xd8\x9c\x69\x21\xdf\x1b\xe6\x40\x63\x4e\xb1\xa4\xff\xba\xba\x09\xba\x88\xd5\xcb\x0b\x5b\x20\x2e\x34\x1a\x4c\x32\xf7\x48\xb1\x60\x21\x0c\xc6\xea\x34\x51\x5a\x44\x77\xd3\xb3\xdb\xd7\xd7\xc3\x43\x3a\x82\x05\x4e\x42\xdd\x22\xa4\x08\xbd\xbc\x5c\x80\x36\x82\x82\x64\xce\x41\x8f\x52\x32\xe0\x84\x81\xca\x45\x77\x1a\x97\x35\x93\x3a\xc1\x61\x9e\x36\xed\x03\x91\x25\x4c\x10\x63\x02\x95\x2f\xbb\x6f\x33\x09\x0b\xf6\x9c\x1e\x2c\xdb\x57\xb2\xf0\xa4\x4a\xb8\x35\x2f\x35\x71\xfb\xff\x6d\x40\x11\xf2\x54\xea\x13\x9b\xa5\xe5\x32\x85\xb4\x4c\xa0\xc4\xed\xa1\x45\x6a\x14\x75\x53\xf5\x47\x39\x35\x80\xd3\xae\x62\xdf\x51\x35\x9d\xac\x31\x0b\xf1\x9c\x85\x4c\x6f\x02\xd0\x7b\x02\xb7\xcf\xf2\x53\x11\xc5\x89\x86\x21\xae\x72\xfb\x00\x82\xfd\x46\x93\x9d\x80\xd5\x22\x5f\x29\x57\x01\x68\xcd\xf8\x52\xd9\xe9\x4a\x45\x84\x19\x37\x9c\xae\xf0\x1c\x42\xb7\xdc\x33\x4e\x63\xc1\xb8\x1e\x4d\x03\x43\x99\xa5\xac\xbf\x43\xca\x6a\x9a\x6e\xc1\x37\x2c\xcc\x9b\x80\x5e\x09\x6a\x78\x8f\x36\x1c\x47\x8c\xb4\x81\xab\x46\x2c\xef\x36\x34\xff\x2b\xcd\xe5\x6a\xde\x3a\x1d\xe6\x98\x3c\x02\xa7\x05\x00\x09\x11\xd6\x30\xa5\x02\x59\x7b\xa5\xfe\xc8\x98\x19\x2e\x85\x02\xa5\xc3\x25\x18\x2a\x65\xc8\x42\x0a\xae\x81\xd3\xf1\xec\x54\xf0\x05\x5b\x26\x32\xb5\xf4\x03\x5a\x14\x9c\x6c\x1f\xec\xf7\x84\x9d\xb0\x99\x43\x1c\x24\x08\x79\x2c\xcd\xdf\x7b\x09\x4a\x24\x92\xc0\x98\xb6\x4a\x0d\xbf\x7f\x68\x62\xd4\x3d\x67\xff\xf6\x3e\x68\x0f\x05\xa6\x3f\x70\x88\x39\x01\xd9\x71\x09\x11\x11\x6f\xaa\x19\x96\x4e\x16\xee\x58\x9d\x9a\x4f\xd5\x10\x6d\x23\x5b\x44\xf3\x4a\x88\x78\x2a\x28\xd4\x61\xa2\xa9\x5a\x5d\x29\x31\xf2\xbb\x2b\xb7\x1c\x0d\x1a\xab\xae\x8f\x7c\x83\x02\x7e\x10\x5c\x7e\x71\xa1\xc1\xdd\xa4\x0c\x9c\x7d\x64\x5c\x36\xe6\x14\x9e\x3f\xf7\x0e\xa8\xd8\x99\x90\xc6\xab\x47\x47\x25\xdf\x01\x37\x82\xce\x43\x81\x0d\xbe\x8f\x67\xde\x31\x5a\xe0\x50\xc1\xdb\xe5\x66\xb7\x82\x3c\xc3\xf7\x54\x57\xc5\xa5\x55\xd0\x2f\x64\xe4\x2a\x1a\x8f\x15\x16\x1e\x1d\x7d\xfd\x5a\x8d\x77\x2c\x85\x16\x44\xa4\xdd\x46\x93\xf8\x90\x6e\x50\x49\xe3\x21\xe3\x73\x91\x70\x3a\xc5\xfa\x26\x09\xbb\xee\x0c\x1d\x01\xf3\x34\xb8\x68\x8d\xcc\x0a\x48\x22\x99\xde\x64\xd6\xb4\x42\x43\xa5\x56\x87\xa1\x1d\x26\x24\x03\x39\xcf\x34\xe8\x27\xeb\x70\x5a\x63\x8a\x48\x16\x17\xa6\xa7\x54\x28\x08\x2e\x9d\x94\x9a\xf1\xd4\x19\x95\x69\xd6\x1c\xfb\x6b\x2f\xb9\x49\x93\x1b\xcc\x97\xa9\x09\x47\x47\x0e\x5a\x26\x81\x14\x2a\x8c\xb3\x30\xd7\xa9\x62\xc9\x84\xf1\x97\x29\x8a\xaf\x5f\x1d\x9f\x77\x79\x76\x4b\xe2\xfa\xf9\x0c\xcb\xdb\xe8\x9e\x51\x56\xd4\xfe\xcb\xeb\x18\xa2\x79\xf6\x6f\x90\x27\xc1\x85\x14\x49\xfc\xdf\x0a\xd5\x9c\x91\x0e\x50\x7a\x1a\x5c\x64\x98\xd2\xf6\xf6\x59\xf0\x72\x33\x5d\x73\xd0\x3b\x7e\xbb\x2b\x4b\x83\xf4\xa2\x47\xf4\xeb\x63\x5f\x03\x6d\xdf\xb7\x21\x67\x98\x21\xfe\x5b\x80\x5f\xc5\xfb\xdf\xdc\x94\xec\x66\xe3\x73\x46\x4c\x57\x3a\xb0\xe9\xb0\xf8\x3d\xd3\x59\x71\x2a\xcd\x8c\x83\x80\xa9\x0c\xed\x3f\xde\x1c\x51\x5d\x4a\x14\x8a\xd3\x37\x7a\x76\x1a\x4a\xe4\x0f\x1d\x83\xb0\x73\x96\x77\x4c\xb9\xf5\x81\xcd\x1e\xd9\x2a\x23\xaf\xc3\xc4\xb1\xd5\xbb\x3a\x36\xaf\xd3\x4c\x3d\xc4\xc6\x58\xb2\x35\xd6\x50\x1e\xa7\x9b\x95\x3d\x67\x52\x69\x43\xe8\x1a\x8d\x18\xdf\x77\xe2\x9a\x68\xd0\x7f\xfb\xbd\x5e\xaf\x36\xef\x57\xb4\x70\xdc\x42\x03\x8d\x35\x23\x0e\x90\x4f\x37\x28\x7b\xe7\xff\xba\xfb\x38\xe8\x6c\xf3\x62\x4d\x47\x2e\x7f\xed\xef\x11\x08\xf5\x3d\x57\x0f\x68\x3b\xa8\x6d\xd1\xf4\x93\x2d\xe3\x80\xee\x33\xe6\x1a\xe4\x02\x93\xae\xa7\xa9\xce\x3a\xcf\x3a\x3a\xbc\xf1\x34\x5f\xe6\x6b\x56\x3b\x01\xe0\x30\x44\x75\x4b\x6c\xda\x34\x0d\x1d\x35\x59\xdb\x6d\x59\xdc\x0f\x7c\x38\x68\x71\xa4\xb6\x8d\xae\xf5\x28\x8d\x97\xca\x3b\xce\x7f\x2b\x87\x51\x42\x5a\x5e\x41\x3a\x21\x79\xa8\x54\xee\x3e\x26\x0a\xf8\x92\x71\x78\xc7\xa5\xa8\x16\xdc\xdf\xdb\x24\x0f\x6c\x8e\x56\x14\x1b\x4a\xd4\xbd\x2d\x68\xca\x84\x96\x89\xe0\xbc\x7f\xad\xb0\xa4\x4f\x58\x42\x3e\x36\xd9\xfa\x64\xcf\x40\x0d\x08\x56\x3c\x02\xb9\x39\xe7\x15\xd2\xc0\xb8\x8e\x1a\xb5\x85\xb7\x8d\xb2\xad\x36\x29\x35\xbe\x7e\xff\x23\xe3\x8e\x0d\xcc\x6f\x2f\xdb\x85\x6a\xb0\x18\xd3\x88\xf1\x5f\x0a\xa4\xeb\xca\x57\xf9\x68\x2f\xa2\x3c\x92\x05\x5e\x76\x94\x9c\xa8\xd8\xfe\x8f\x4e\xaf\x83\x6c\x6a\xce\x66\xe5\x11\xd6\xb8\xf2\x9e\xe0\x85\x8c\x27\xcf\xfb\x6e\xff\xe9\x95\x4b\x19\x25\x66\x58\xa9\x27\x21\xe9\x49\xa2\x57\xc0\x35\xdb\x15\x9d\x96\x49\x6d\xa4\x33\xd7\x4f\x67\xbf\xcc\x56\x61\x3f\x61\xe3\x9e\x6c\x5c\x99\x51\x3a\xfd\x08\x1b\x63\x84\xed\x5e\xa5\x56\x37\xc1\xc9\xac\x60\x5d\xdf\xf4\x55\x55\xc0\x7a\xe5\xe0\xf0\x13\x36\x33\xac\x57\x8e\x66\x9d\xfd\xd8\x23\x4e\x39\x43\xec\xef\xaf\x95\x50\xb0\x05\x1a\x5c\x19\x4f\x17\x97\x97\x4b\xac\x02\x20\x12\x74\xf5\x79\xa7\x92\x14\x2a\x23\xa8\xa1\x5a\x89\x4f\xce\xc3\xd2\xd8\xbe\xe1\x54\x9e\x8a\x32\x70\x6f\x48\x61\x16\xe1\x25\xdc\xc0\x02\x24\xf0\xda\x0b\x96\xc9\xfd\xc5\x02\xa4\xad\x90\x50\x63\x73\xec\xda\x7c\x73\xad\x58\x4d\x50\xd4\xaa\xf1\xdc\xac\xf8\xee\x38\xab\x1e\x93\x86\x53\xc1\xcf\x5f\x0e\xfa\xb5\x7b\x00\xc9\xcf\xe4\x43\x88\xbd\x89\xae\x38\x5d\xa8\x11\x53\x8f\x75\xcb\x09\x26\x2b\xc6\x97\x86\xf3\x0d\x60\xfa\x4f\xc9\x74\x2d\xe5\xd3\x86\x07\xd7\xdb\x05\xc9\xb9\x14\x51\x2a\xd8\x26\xfc\x48\x99\xf7\xfd\x2f\x42\x51\xa6\x1e\x5d\xe6\xaf\xa8\xeb\xfe\x94\x48\x56\x96\x26\x8b\xf8\x7e\xae\xcf\x22\x0d\x4f\xc1\xae\x51\xc4\x35\x59\xf4\xfa\xfb\xdf\xee\x7b\x83\x58\xb2\x08\xcb\x4d\xf1\x70\xa4\x06\xf3\x50\xcc\xfb\xfe\x7a\x45\x9d\x42\x9a\xef\x20\x5b\x3f\x0c\xd6\x2b\x5a\x2b\x59\x77\x29\xb6\x99\x7a\x8b\x1e\x9c\xbf\x78\x4e\xd2\xb8\xff\xb9\xb7\xa5\x06\x75\x5a\x0d\xa3\x2a\x99\xd7\x53\x2b\x9f\xa0\xfb\xe8\xdb\x1f\x58\x38\xbc\xa5\x91\xb9\x7b\x3f\x61\xa6\x17\x42\x86\x80\x69\x15\x13\x9a\x47\xae\x44\x8b\x5f\xf1\x52\x62\x0a\x13\xc6\x85\xdc\x85\xc4\x34\x26\xfb\x01\xb2\x80\xa2\x9d\x8f\xaf\x83\xdb\xd3\xb3\x67\x0d\x5c\xa5\xdb\x8c\x32\x5a\x36\x3c\x8e\x12\x11\x45\x98\xd3\x5b\x71\xf6\x0c\x24\xd1\xd9\xbe\x75\x85\xbe\x10\xe4\x27\x5c\xb3\x10\xc5\x8c\x2f\xd1\x17\xf2\x0d\x65\x66\x0c\x22\x50\x42\x7d\xa7\x02\x01\x59\x09\x64\x4c\x34\x04\x0b\x21\xab\x04\x2a\x04\x88\xd1\xb7\x7f\x7c\xa7\x82\xc3\xf7\x94\xb6\xfc\x1d\x25\xb1\xef\x9e\xc5\x8a\x3c\xce\xda\x7c\x90\xae\x69\xcf\x85\x4c\x7b\x8e\x67\xd1\x5d\x62\x4e\x43\x28\x79\xc9\xfb\x36\xf8\xbb\xcd\xaa\xbd\x29\x17\x61\xe7\xbb\xac\x4a\x3e\xfd\x27\x00\x00\xff\xff\x05\x48\x82\xdc\xbc\x25\x00\x00") func dcosmasterresourcesTBytes() ([]byte, error) { return bindataRead( @@ -443,7 +443,7 @@ func dcosmasterresourcesT() (*asset, error) { return a, nil } -var _dcosmastervarsT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x58\x59\x6f\xda\x4c\x17\xbe\xcf\xaf\x18\x59\x95\x0c\x92\x01\x93\xad\x5f\x91\xbe\x8b\x6c\xed\x8b\x42\x28\x8a\x1b\x6e\x22\x54\x0d\xf6\x31\xcc\x1b\x33\x43\x67\xc6\x04\x8a\xf8\xef\xaf\x8e\x17\xbc\xe1\xa6\x24\x5c\x3c\x08\x9f\xfd\x99\x33\x67\xc6\x10\x42\x88\x41\xbd\x05\xe3\x4f\x0a\x24\xa7\x0b\x30\x7a\xc4\x78\x5e\x52\x49\x17\xa0\x41\xaa\x86\x19\x30\x1e\xae\xaf\xf2\x2a\x66\x73\x62\x58\x27\x91\xa9\xa6\x72\x06\xfa\x8e\xaf\x98\x14\x7c\x01\x5c\x57\xcc\x2b\x1a\x39\xeb\x05\x5d\x8f\x1f\xd4\x08\xe4\x48\x88\xc0\xe8\x91\xae\x6d\x97\x25\x8e\x16\x92\xce\xe0\xca\x75\x45\x18\x79\x3f\xcd\xa9\x14\x85\xa8\x7e\x35\x4b\x73\xf0\xd8\xaa\xb1\xa2\x92\xd1\x69\x00\xaa\x61\x16\x42\x99\x4d\xeb\x90\xa8\xe8\xce\x6c\x66\x89\x7a\x54\xd3\xa2\x74\x24\xc1\x67\x6b\x07\xc0\x33\x7a\xe4\xcb\x67\x8b\xc4\x8a\x74\xc9\xc6\x20\x15\x13\xfc\x16\x7c\x1a\x06\x51\x2e\xa7\x76\xf7\xb2\x65\x9f\xb5\xce\x6c\xa3\xaa\x97\xb8\x4d\xf4\x2e\x5a\xf6\x65\xab\x7b\x61\x58\x27\xdb\x2d\xf3\x49\xfb\x1f\xaa\x1e\x28\xa7\x33\xf0\x6e\x99\x7a\x51\xbb\x5d\x8d\x79\x5e\x29\x0b\x79\xde\x3a\xb3\x5b\x4b\x09\x2b\x06\xaf\x91\x4b\xe0\xde\x6e\x97\xb8\x1e\xe0\xba\x8e\xa4\xf0\x59\x00\x18\xc7\x01\x57\x82\xde\x87\x08\x72\xe2\x44\x64\x90\x5e\x24\x23\xe4\x39\xf9\xc6\xcf\x76\x2b\x29\x9f\x01\x21\x9f\x56\x7d\xee\xc1\xda\x22\x9f\x56\x58\x39\xe9\xfd\xbf\x14\xa4\x18\x21\xb3\x67\x7e\x6a\xbb\xdb\x11\x8b\xa4\x69\x92\xc2\x67\x5b\xfa\x4d\x88\xa1\x44\x28\x5d\x18\xc7\x34\x57\xe5\x84\x18\xcc\x33\x7a\x07\xba\xf9\x1e\x36\x91\x55\xff\x76\xbb\xdd\x47\xc6\xbe\xac\xf8\xd8\x59\xd5\xb0\x51\x75\x37\x20\x35\xf3\x99\x4b\x35\x28\xa3\xf7\x5c\xd1\x4a\x59\xf9\xe4\xa6\xa4\xb8\x20\x23\x4e\x62\x76\xda\xe3\xb2\x97\x4a\xc5\x19\x39\xee\x5b\xe4\x1c\x26\x28\xca\xd6\xcd\x42\x3c\xc9\xc0\x20\x7f\xcd\x47\x2e\xb7\xa7\xc7\xc1\x76\xbb\xcf\xe2\x20\x51\x84\x54\x73\xaa\xcb\x75\x72\x52\x67\x59\xb4\x98\x58\xe4\x24\xff\xc4\x58\x50\xa5\x41\x5e\xad\x28\x0b\xe8\x94\x05\x4c\x6f\x1c\x88\x77\xbb\x2b\xb8\x4b\x75\x7e\xc3\x0b\xe9\xce\x41\x69\x49\xb5\x90\xc3\x68\x68\x59\xc4\x6c\xc5\x1e\x5a\xb4\xe8\xa2\x65\x5a\x24\x67\x8a\x33\xce\x09\x7d\x9f\xad\xe3\x19\x40\xf2\xd1\x6f\x92\x39\xb4\xdd\xb6\x1f\xa2\x07\x69\x77\x47\x82\xdd\xae\xa8\x7d\xc7\xbd\xa5\x60\x5c\xdf\x0e\x1d\x4c\x22\x9e\x1a\x51\xc6\x5a\x04\xe2\x15\x64\x23\xbf\x18\x7f\xb0\xc9\x4f\xa3\x58\x6d\x30\xbd\xa6\xee\x0b\x70\x0f\x27\xda\x30\x9d\xdc\x47\x12\xb1\x14\x22\x38\xa6\xfa\xc1\xb4\x7f\x1b\xc5\x91\x10\xef\xbe\xbe\xd7\x30\x1f\x98\x2b\x85\x12\xbe\x6e\x0f\x41\xbf\x0a\xf9\xd2\x09\x04\xf5\xae\x69\x40\xb9\x0b\x52\x99\xc5\x61\x1b\xbb\x89\x33\x39\xe4\x7f\x74\x23\xb8\xcf\x66\x49\x9c\x6a\x3d\x59\x22\x66\xd3\x32\x3b\xbe\x14\x5c\x03\xf7\x52\xbb\x50\x52\xcd\x04\x57\x9d\x62\x55\x65\xf7\x6f\xc6\x7f\x2f\xa3\xc1\xf4\x2b\x66\x74\xc7\xbd\xe3\x78\x7d\x7f\xbc\x63\xe2\x0c\x9d\x6f\x7f\xb5\x80\x3c\xfe\x76\xc0\x0d\x25\xd3\x9b\x6f\x52\x84\xcb\x43\x0b\x39\x74\xbe\xd5\x30\x99\x48\xde\x53\x12\x57\xb3\x63\x6a\x1a\x85\xd3\x80\xb9\xfd\xd1\x95\xe7\x49\x50\xea\xbd\x51\xd9\xb2\x75\xa8\x65\x6a\x76\x23\x1a\x1e\x91\x63\xf1\xf2\x70\xb7\x9e\xb3\x29\x4b\x92\xa8\xc9\x55\x15\x2c\xae\xa9\x82\x7d\xc6\xb0\x9e\x4f\x6d\xf3\x8d\x18\xef\x73\xbd\x50\x5a\xc6\xae\x93\x5b\x42\x71\xc6\xf5\xd5\x4d\xa8\xb4\x58\x8c\x87\x77\x3f\x8a\x43\x79\xcc\x41\x3b\xe1\x94\x83\x4e\xfa\xab\x3a\xd7\xf2\x2a\x69\x08\x08\x14\x14\x1d\xc5\x1a\x35\x2e\x62\xa1\x59\x1e\x85\xf1\xe3\x77\x2e\x7c\xc5\xe7\x2a\x2b\xe2\xcf\x9b\x64\xc5\xa4\x0e\x69\x90\xfc\x2c\x6e\x8f\xa2\x2c\xdb\x23\x7f\xe4\xac\x9a\xf8\x2a\x61\xcb\x32\x3b\x2a\xd2\xc4\xb9\x56\xe9\xd1\xac\xfe\x7c\x90\x6a\x0a\x47\xb1\x83\xa1\xdf\x6c\xf1\x03\xc7\xf3\x57\x26\x95\xc6\xbd\xf8\xdd\xd5\x78\x69\xc4\x98\x6a\x19\x30\x5d\x38\xea\x7c\xd4\xba\x11\x5c\x81\x1b\x6a\xb6\x02\x47\x53\x8d\x9b\x18\x4b\x6d\x57\x16\xb8\xe8\xf3\x3c\xf2\x59\x61\xa1\x14\xd8\x6c\x3e\x9f\x4d\xea\xfc\xe4\x0e\xe2\xba\x13\xa6\xea\xce\x9e\x60\x6e\x55\xfa\xab\x9a\xdd\xbf\xd6\x3c\x9d\x1c\xaa\x77\xfc\x50\xba\x2d\x1c\x39\xcb\xea\x97\x2d\x9a\x5b\x95\xd1\x31\x7e\x18\x32\xd7\xe8\xed\xef\xf5\xf5\xac\xe4\x33\x8b\xbc\x71\xe6\xb6\xf2\xc3\xe8\x68\xe3\xee\x47\x8c\x4f\x3f\x62\x7c\xf6\x11\xe3\xf3\x8f\x18\x5f\x7c\xc4\xf8\x72\x7f\x01\x9f\x94\x57\xd1\x61\xbf\xab\x2f\xf0\x79\x61\x7e\xe9\xb3\xb6\xa8\x98\xe4\x3b\x26\x33\x10\x34\xd4\xf3\x3b\x8e\x19\xe2\x5b\xaf\xe1\xd3\x40\x41\x26\x2d\x35\x24\x6a\x78\xae\x50\x99\x82\xea\x2f\xe8\x0c\xbe\xfb\x3e\x48\x14\x3e\x4d\x43\xae\x43\x07\xe4\x0a\x64\x59\x29\x3a\xd3\xd5\x3c\x56\xbc\xa1\x5c\x70\xe6\xd2\xa0\xac\xe5\xdc\x3f\xa1\xbc\x7b\xd9\xb6\xcf\xdb\x76\x6b\xf0\xc3\x29\x6b\x24\x6f\xc9\x99\x16\xbe\x18\xdb\x97\xa7\x9f\xed\x74\xc3\x29\x35\xbf\x87\xcd\x88\xea\x79\x7e\xa3\x99\x9d\xb9\x58\x40\xe9\x0e\x49\x8b\x7f\x82\x58\xc4\xec\xb4\x95\x9a\x77\x90\x16\x21\xd9\x6f\xf0\x7e\xbe\xc0\x46\xe5\x29\x53\x6a\xfe\xe8\x5c\xc5\x37\x94\x7b\xd8\x54\x88\x2e\xc9\x0b\xa6\x07\x4f\xe9\xc8\x43\xc8\xd9\xaf\x10\x1c\x2d\x19\x9f\x35\xea\x7a\xa7\xee\xe2\x92\x9e\x69\xd1\x9d\xae\xd1\x6c\x07\xc2\x8d\x6e\xcc\x85\x52\xab\xd3\xa5\x59\x9b\x5a\xec\x19\x5f\x83\xc9\x33\x31\x6c\xc3\x22\xc6\x25\x82\x8b\xc0\x10\x04\x42\x88\xd0\x45\xf8\x8c\xe0\x21\xfc\x8b\xb0\x44\x58\x21\x9c\x22\xfc\x0f\x01\xdb\xca\x78\x41\xf8\x85\xf0\x8a\x70\x86\xf0\x05\xc1\x47\xc0\x6e\x30\xb0\x71\x8c\x35\xc2\x39\x02\x45\x98\x21\x2c\x10\xb0\xf7\x8c\x0d\xc2\x05\xc2\x14\x61\x8e\xc0\x11\x34\xc2\x6f\x23\xdb\x45\x87\xcb\x4a\x5f\xf8\x8c\xe7\x00\xf8\x4c\xcf\xeb\x6f\x52\xa9\x85\x59\xcf\xd5\x8f\xcd\x32\x5a\x42\x47\x53\xee\x51\xe9\xfd\x1c\x3c\x3a\xfb\x3f\x99\x5c\xa1\xae\x85\xd0\x48\xfb\xf2\xe9\x71\x50\x69\x96\xb2\x42\x34\x07\xfe\x0b\x00\x00\xff\xff\x08\xd1\xfb\xe3\xc2\x13\x00\x00") +var _dcosmastervarsT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x58\x5b\x6f\xda\x4c\x13\xbe\xcf\xaf\x58\x59\x95\x0c\x92\x21\x26\xa7\x7e\x45\xfa\x2e\x72\x6a\xdf\x28\x84\xa2\xb8\xe1\x26\x42\xd5\x62\x8f\x61\xdf\x98\x5d\xba\xbb\x26\x50\xc4\x7f\x7f\x35\x3e\xe0\x73\x53\x92\x5c\x3c\x11\xcc\x33\x87\x9d\x9d\x19\x8f\x21\x84\x10\x83\x7a\x0b\xc6\x9f\x14\x48\x4e\x17\x60\xf4\x89\xf1\xbc\xa4\x92\x2e\x40\x83\x54\x2d\x33\x60\x3c\x5c\x5f\xe6\x29\x66\x7b\x62\x58\x47\x91\xaa\xa6\x72\x06\xfa\x96\xaf\x98\x14\x7c\x01\x5c\x57\xd4\x2b\x8c\x9c\xf6\x82\xae\xc7\x0f\x6a\x04\x72\x24\x44\x60\xf4\x49\xcf\xb6\xcb\x12\x47\x0b\x49\x67\x70\xe9\xba\x22\x8c\xac\x9f\xe4\x28\x45\x21\xd2\x2f\x67\x69\x0c\x1e\x5b\xb5\x56\x54\x32\x3a\x0d\x40\xb5\xcc\x82\x2b\xb3\x6d\xd5\x89\x8a\xe6\xcc\x76\x16\xa8\x47\x35\x2d\x4a\x47\x12\x7c\xb6\x76\x00\x3c\xa3\x4f\xbe\x7c\xb6\x48\x4c\xa4\x4b\x36\x06\xa9\x98\xe0\x37\xe0\xd3\x30\x88\x62\x39\xb1\x7b\x17\x1d\xfb\xb4\x73\x6a\x1b\x55\x5e\x62\x36\xe1\x9d\x77\xec\x8b\x4e\xef\xdc\xb0\x8e\xb6\x5b\xe6\x93\xee\x3f\x54\x3d\x50\x4e\x67\xe0\xdd\x30\xf5\xa2\x76\xbb\x06\xf5\x3c\x29\x73\x79\xd6\x39\xb5\x3b\x4b\x09\x2b\x06\xaf\x91\x49\xe0\xde\x6e\x97\x98\x1e\xe0\xbd\x8e\xa4\xf0\x59\x00\xe8\xc7\x01\x57\x82\xde\xbb\x08\x72\xe2\x44\x64\x90\x7e\x24\x23\xe4\x39\xf9\x8f\x7f\xdb\xad\xa4\x7c\x06\x84\x7c\x5a\xdd\x71\x0f\xd6\x16\xf9\xb4\xc2\x93\x93\xfe\xff\x4b\x4e\x8a\x1e\x32\x7d\xe6\xa7\xba\xbb\x1d\xb1\x48\x1a\x26\x29\xfc\x6d\x4b\x9f\x09\x31\x94\x08\xa5\x0b\xe3\x38\xcd\x55\x39\x21\x06\xf3\x8c\x7e\x4d\x35\xdf\xc3\x26\xd2\xba\xbb\xd9\x6e\xf7\x9e\xb1\x2e\x2b\x36\x76\x56\xd5\x6d\x74\xba\x6b\x90\x9a\xf9\xcc\xa5\x1a\x94\xd1\x7f\xae\xb0\xd2\xac\x7c\x72\xd3\xa4\xb8\x20\xa3\x9c\xc4\xd9\xe9\x8e\xcb\x56\x2a\x27\xce\x92\xe3\xbe\x95\x9c\xfa\x04\x45\xd1\xba\x99\x8b\x27\x19\x18\xe4\xaf\xf3\x91\x8b\xed\xe9\x71\xb0\xdd\xee\xa3\xa8\x4d\x14\x21\xd5\x98\x9a\x62\x9d\x1c\x35\x69\x16\x35\x26\x16\x39\xca\x7f\x63\x2c\xa8\xd2\x20\x2f\x57\x94\x05\x74\xca\x02\xa6\x37\x0e\xc4\xdd\xee\x0a\xee\x52\x9d\x6f\x78\x21\xdd\x39\x28\x2d\xa9\x16\x72\x18\x0d\x2d\x8b\x98\x9d\xd8\x42\x87\x16\x4d\x74\x4c\x8b\xe4\x54\x71\xc6\x39\xa1\xef\xb3\x75\x3c\x03\x48\xde\xfb\x75\x32\x87\xb6\xdb\xee\x43\xf4\x45\x5a\xdd\x91\x60\xb7\x2b\xb2\x6f\xb9\xb7\x14\x8c\xeb\x9b\xa1\x83\x41\xc4\x53\x23\x8a\x58\x8b\x40\xbc\x82\x6c\xe5\x2f\xe3\x0f\x3a\xf9\x69\x14\xd3\x06\xd3\x2b\xea\xbe\x00\xf7\x70\xa2\x0d\xd3\xc9\x7d\x60\x22\x96\x42\x04\x87\x9c\x7e\x30\xbd\xbb\x89\xfc\x48\x88\xbb\xef\xce\x6b\x99\x0f\xcc\x95\x42\x09\x5f\x77\x87\xa0\x5f\x85\x7c\x39\x0e\x04\xf5\xae\x68\x40\xb9\x0b\x52\x99\xc5\x61\x1b\x9b\x89\x23\xa9\xb3\x3f\xba\x16\xdc\x67\xb3\xc4\x4f\xf5\x3c\x59\x20\x66\xdb\x32\x8f\x7d\x29\xb8\x06\xee\xa5\x7a\xa1\xa4\x9a\x09\xae\x8e\x8b\xa7\x2a\x9b\x7f\xd3\xff\x7b\x33\x1a\x4c\xbf\x62\x44\xb7\xdc\x3b\x2c\xaf\xef\xf7\x77\x88\x9f\xa1\xf3\xed\xaf\x2e\x90\xc7\xff\x1d\x70\x43\xc9\xf4\xe6\x9b\x14\xe1\xb2\xee\x22\x87\xce\xb7\x86\x4c\x26\x92\xf7\x1c\x89\xab\xd9\x21\x67\x1a\x85\xd3\x80\xb9\x77\xa3\x4b\xcf\x93\xa0\xd4\x7b\xbd\xb2\x65\xa7\xae\x64\x1a\xba\x11\x15\x0f\x88\xb1\xb8\x3c\xdc\xae\xe7\x6c\xca\x92\x20\x1a\x62\x55\x05\x8d\x2b\xaa\x60\x1f\x31\xac\xe7\x53\xdb\x7c\xc3\xc7\xfb\x4c\x2f\x94\x96\xb1\xe9\x64\x4b\x28\xce\xb8\x3b\x75\x1d\x2a\x2d\x16\xe3\xe1\xed\x8f\xe2\x50\x1e\x73\xd0\x4e\x38\xe5\xa0\x93\xfa\xaa\xce\xb5\x3c\x25\x75\x01\x81\x82\xa2\xa1\x98\xd1\x60\x22\x16\x9a\xe5\x51\x18\x7f\xfd\xce\x8b\xaf\xd8\x5c\x65\x87\xf8\x73\x93\xac\x98\xd4\x21\x0d\x92\x8f\xc5\xf6\x28\xca\xb2\x1e\xf9\x63\xce\xaa\x81\xaf\x92\x6c\x59\xe6\xb1\x8a\x98\x38\xd7\x2a\x35\x9a\x9d\x3f\xef\xa4\x1a\xc2\x41\xd9\x41\xd7\x6f\x96\x78\xcd\xe3\xf9\x2b\x93\x4a\x63\x2f\x7e\x77\x35\x2e\x8d\xe8\x53\x2d\x03\xa6\x0b\x8f\x3a\x1f\x59\xd7\x82\x2b\x70\x43\xcd\x56\xe0\x68\xaa\xb1\x89\xf1\xa8\xdd\xca\x05\x17\x6d\x9e\x45\x36\x2b\x59\x28\x39\x36\xdb\xcf\xa7\x93\x26\x3b\xb9\x07\x71\xd3\x13\xa6\x6a\xce\x9e\x60\x6c\xd5\xf4\x57\x99\xbd\xbf\x66\x9e\x4c\xea\xce\x3b\x7e\x28\x6d\x0b\x07\xce\xb2\xe6\x6b\x8b\xe6\x56\x65\x74\x8c\x1f\x86\xcc\x35\xfa\xfb\xbd\xbe\x39\x2b\xf9\xc8\x22\x6b\x9c\xb9\x9d\xfc\x30\x3a\x58\xb9\xf7\x11\xe5\x93\x8f\x28\x9f\x7e\x44\xf9\xec\x23\xca\xe7\x1f\x51\xbe\xd8\x2f\xe0\x93\xf2\x2d\x3a\xec\x77\xf5\x05\x3e\x2f\xcc\x5f\x7d\x56\x16\x15\x95\x7c\xc5\x64\x0a\x82\x86\x7a\x7e\xcb\x31\x42\x7c\xeb\x35\x7c\x1a\x28\xc8\xa4\xa5\x82\x44\x86\xe7\x0a\x95\x11\xd4\xdd\x82\xce\xe0\xbb\xef\x83\x44\xe1\xd3\x34\xe4\x3a\x74\x40\xae\x40\x96\x49\xd1\x33\x5d\xcd\x63\xe2\x35\xe5\x82\x33\x97\x06\x65\x96\x73\xff\x84\xf2\xde\x45\xd7\x3e\xeb\xda\x9d\xc1\x0f\xa7\xcc\x48\xde\x92\x33\x16\xbe\x18\xdb\x17\x27\x9f\xed\xb4\xe1\x94\x9a\xdf\xc3\x66\x44\xf5\x3c\xdf\x68\xe6\xf1\x5c\x2c\xa0\xb4\x43\xd2\xe2\x8f\x20\x16\x31\x8f\xbb\x4a\xcd\x8f\x31\x2d\x42\xb2\xdf\xe0\xfd\x7c\x81\x8d\xca\xa7\x4c\xa9\xf9\xa3\x73\x19\x6f\x28\xf7\xb0\xa9\x24\xba\x24\xcf\x0d\x82\x40\xb8\xf1\x22\x9b\x6b\xcb\xa8\x56\xd2\x67\x52\xb4\x93\xb5\xda\xdd\x94\x98\x6a\x26\xb4\xc2\x4b\x5e\x42\xc9\x15\x4e\xd1\x49\x79\xa0\xee\x9d\x9b\xed\xe7\x85\xf0\x5a\xd4\xf3\x5a\x27\x56\x00\x7c\xa6\xe7\xad\x7a\xcb\xed\xb6\x85\xac\xde\x5b\xac\x76\x36\x93\xeb\xf7\x90\x28\x96\x90\xb3\x5f\x21\x38\x5a\x32\x3e\x6b\x35\x75\x47\xd3\x6a\x56\x73\x90\xe2\xb7\xd5\xd9\x99\xdf\xd8\x54\xcd\x0f\x3d\x10\x5d\x03\x31\x6c\xc3\x22\xc6\x05\x82\x8b\xc0\x10\x04\x42\x88\xd0\x43\xf8\x8c\xe0\x21\xfc\x8b\xb0\x44\x58\x21\x9c\x20\xfc\x0f\x01\x9b\xc6\x78\x41\xf8\x85\xf0\x8a\x70\x8a\xf0\x05\xc1\x47\xc0\x5a\x37\xb0\x2d\x8c\x35\xc2\x19\x02\x45\x98\x21\x2c\x10\xb0\xb3\x8c\x0d\xc2\x39\xc2\x14\x61\x8e\xc0\x11\x34\xc2\x6f\x23\x9b\x11\xf5\xc7\x4a\x5f\x67\x8d\xe7\xe4\xde\x1a\xf7\xc4\x54\xc3\x6c\xce\xd5\x8f\xcd\x32\xba\x3e\x47\x53\xee\x51\xe9\xfd\x1c\x3c\x3a\xfb\x9f\xd0\x5c\xa1\xae\x84\xd0\x98\xf6\xe5\xd3\xe3\xa0\xd2\x0a\x65\x42\x54\xac\xff\x05\x00\x00\xff\xff\x5b\x77\x44\x7c\xa0\x14\x00\x00") func dcosmastervarsTBytes() ([]byte, error) { return bindataRead( @@ -543,7 +543,7 @@ func kubernetesagentcustomdataYml() (*asset, error) { return a, nil } -var _kubernetesagentresourcesvmasT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\x4f\x6f\xdb\x3a\x12\x3f\xd7\x9f\x82\xd0\xa1\x8a\x01\xc7\x42\x77\xb1\x97\x1c\x0a\x04\xf9\xf3\x6a\xe4\x39\x31\xea\x24\x7b\x48\x7d\xa0\xc5\xb1\x45\x44\x22\x05\x92\x72\xe2\x1a\xfe\xee\x0b\x52\x92\x25\x4a\x54\xe2\xb6\x49\x9b\x7d\xad\x2f\xb1\xcd\x99\xd1\xf0\x37\xc3\x1f\x67\x26\x46\x08\xa1\x4d\x0f\x99\x97\x87\x53\x7a\x0b\x42\x52\xce\xbc\x23\xe4\xdd\xad\xb0\xa0\x78\x1e\x83\x3c\xf0\xab\x95\x53\x58\xe0\x2c\x56\x7e\x7f\xe6\x0d\x4a\xbd\x90\xa7\x6b\xef\x68\x67\xc7\x7c\x93\x31\x65\x8c\xc8\x6c\x7e\x50\x33\xb4\xd9\x0c\x2f\x71\x02\xdb\xed\x89\x96\xf0\xfb\x03\xe4\x5a\xbc\x5a\x2c\x24\x28\xbf\x5f\x7b\x08\x42\x1e\xc3\x09\x68\x9b\x31\xe7\xa9\x57\x7c\xbd\xdd\x39\x41\x20\x05\x46\xe4\x95\xf6\xfd\xae\xb7\xd9\xd0\x05\x1a\x8e\xe4\x49\x26\x15\x4f\x6e\x2f\xcf\xae\xb7\xdb\x52\xb2\xbe\x31\x26\x97\xa3\x53\xbd\x99\xde\x66\x03\xb1\x04\xb7\xd4\x8a\x81\xaa\xc4\x18\xd9\x49\xcd\x76\x8f\x8f\x79\x88\x95\x03\xb9\xf2\x7b\x0b\xb0\x72\x27\x77\x21\x67\x21\x56\x4e\x80\x6e\xc7\xfa\xef\x44\xc0\x82\x3e\x6a\x9c\x7c\x46\xc3\x43\x7f\x80\x34\xd8\x23\x46\xe0\xd1\xa9\xb5\x43\xae\xfe\xb8\x54\xf0\x14\x84\xa2\x20\x4d\x94\x9c\xd8\xbc\xcb\x1d\x03\xf5\xc0\xc5\xfd\x14\xc2\x4c\x50\xb5\xfe\x4b\xf0\x2c\x35\x3a\xef\xf2\x75\x4a\x9a\xfb\xab\x00\x7c\x57\xc4\xc3\x46\x48\x2b\xa5\x27\x9c\x2d\xe8\x32\x13\x06\x09\x69\x02\x84\x76\xaf\x4d\xed\x7d\x0d\x1b\x9a\x86\x46\xeb\x43\x2d\x05\x5c\xbb\x41\xa8\xb1\x4a\x57\x58\xc1\x68\x72\x1c\x97\xd0\x8f\x41\x45\xdc\x38\x7e\xba\x66\x38\xa1\x61\xc3\x22\x42\x9e\xcc\xe6\x0c\x94\xc3\x9e\x73\xcf\x55\x8c\x18\xa8\xa9\x51\x2d\x30\xb0\x34\xb7\xbd\xae\x4f\xd5\xfb\x59\x2d\xbf\x81\x69\xfb\xa3\xc9\x39\x17\x0f\x58\x10\xca\x96\xde\x11\x52\x22\x83\x56\xae\xab\x75\x6a\x30\x1a\xd3\x50\x70\xc9\x17\x6a\x78\x99\x07\x2e\x28\x02\x38\x62\x0a\xc4\x02\x87\x20\x73\x9f\x4c\x58\xf2\xa8\x8f\x31\xc3\x4b\x20\xa7\x54\xde\xcb\xed\x16\xf5\xea\x04\xf0\x7d\x49\xec\x42\xe6\x78\x85\x69\x8c\xe7\x34\xa6\x6a\x3d\x05\x9b\x2e\xf6\xa1\x99\xa9\xe2\x02\x2f\xa1\xee\xac\xdf\x95\xd2\xbd\x8e\x4c\x4a\x63\xac\x16\x5c\x24\xe7\x9a\xb0\x4e\x79\x82\x29\x3b\x29\x79\xe9\xdf\xad\xac\x2a\x84\x6f\x52\x82\x15\x38\xa4\xf3\x13\x60\x64\x93\xdc\x2b\x0f\x1d\x21\x4f\xc7\xa7\x8a\xbb\x09\x51\x77\x94\x4e\x78\x92\x66\x0a\x02\x6c\xa3\x53\x0f\x92\x26\x21\x94\x47\xaa\xc0\xe0\x38\x34\x6c\x5a\x9c\xa8\x6f\x22\xeb\xc2\xc2\xde\x64\xed\x8a\xa4\xed\x85\x2c\x78\xfb\xbb\x89\x79\xa7\x54\x72\x9f\xdf\x4e\xe2\x34\x9b\xc7\x34\x1c\x4d\x8e\x09\x11\x20\x25\xc8\xc0\xb7\xee\x89\x04\x4b\x05\x62\x62\x4b\x69\x6f\xcd\x8d\xf1\x6a\xd4\x2c\x2d\x24\x72\x66\x06\xe9\xf7\xef\x12\x4e\x0e\x30\x21\x07\x15\x35\xf7\x07\xcf\x43\xb9\xa3\xea\xc1\xb3\xcf\x28\x40\xef\xcf\x9e\x17\xf5\xfb\x77\x84\xae\x7e\x81\x3b\xd5\xd1\xcf\x85\x77\xf1\xe8\xba\x86\x76\x99\x80\x73\x85\xeb\xe2\xb8\x58\x17\x6f\x32\xa5\x5f\x41\x8e\x71\xea\xf7\xdd\x0c\x3c\xd6\x02\x7e\x7f\x36\xb4\x5d\xd5\xc6\x66\xed\x5c\x6c\x1f\xc9\x02\x84\xc0\x56\xaf\x4e\xa4\x39\x73\x86\x3a\x3f\x61\x59\x90\xe6\x9b\x3f\x88\x04\x2b\x4c\xa8\xbc\xff\xfb\xcf\x81\x6c\xd7\x4a\x1a\x9c\xa9\x43\x73\x0a\x40\x1a\xe9\xff\xeb\x4f\xee\x9b\xf2\x7b\x67\xf6\x14\x2b\xfc\x4f\x3c\xe6\x55\xe1\xfa\x06\x4b\x22\x57\xe7\x65\x63\xfd\x14\x00\xfb\x94\x1e\x7a\xf7\xba\x7a\xd9\xd4\x58\xaf\x59\x30\xbe\x58\x11\xd7\xec\xb7\xbe\x0b\x02\xbb\xd7\xf8\xd9\x8d\xe8\x2a\xd1\x04\x7b\xc9\x09\xec\xdb\x8e\x3a\x4b\xba\x2e\xf6\xed\xc8\xd9\xc0\xdf\x8b\x4b\x4a\x0e\xd4\x9c\xb2\x67\xcf\x38\xb0\x28\xfd\xf1\x76\x2c\x27\x20\x6c\x97\xdf\x08\x41\xfe\x3f\x6e\xea\x89\x02\xa9\xd7\x51\x63\xbc\x6e\x66\xbc\x29\x20\xbf\xe1\x76\x7b\xc9\x44\xfa\x0d\x30\x78\xf6\xd6\x2e\x49\xb4\x35\xb8\x79\xa2\x22\x6c\xcd\x19\x1a\x15\xe1\x2b\x8c\xb1\xdc\x0e\x75\xdd\x6b\x5d\xfe\xb4\x6e\x61\x57\x81\xaa\xf0\xb2\x9a\x2b\xd4\x6f\x13\x01\xe6\xd2\x9f\xf2\x4c\x84\x60\xfa\xff\x9d\x4b\x38\x94\xc0\x96\x94\xc1\xe1\x9e\x48\xec\x8f\x40\xeb\x72\x79\xf5\x61\xe3\x8f\x0f\x19\xab\xb2\xcf\x06\xbc\x31\x63\x2b\xa7\x6b\x02\xa4\xc1\x74\x44\xf6\x09\xae\xef\xe6\xd5\xee\xd0\xd6\xc0\x43\xc8\x8b\xb0\x20\x0f\x58\xc0\x44\xf0\x05\x8d\xa1\xe9\x52\x5e\x8d\x76\x0f\xfd\xca\x5a\xd4\x6d\xbc\x38\x19\x1d\xb6\xdb\xf3\x39\x7b\x18\xda\x1c\x62\x3d\x87\x50\xe7\x79\xf4\x07\xaf\x38\x5b\x6e\x8e\x3a\xeb\xb3\xcd\x99\x13\x15\x2e\x3b\x00\xc1\x24\xa1\xec\x46\x82\x70\xd5\xce\x59\xf1\xbd\xdd\xe6\x9a\xb2\xce\x24\x86\xf8\x39\xb9\x6d\xc2\xb2\xf9\x0b\xd4\x45\x36\x07\xc1\x40\x81\x3c\x5e\x02\x53\xf9\x00\x5d\xd3\xea\xb6\x8e\x80\x17\x53\x96\x3d\x5a\x33\x6f\xd7\xa4\x9a\x50\xa9\x1f\x3e\xc1\x52\x3e\x70\x41\x8e\x33\x15\x01\x53\xb4\x3a\xd9\x66\xb4\xd8\x1e\x55\xcb\xc8\x3d\xa7\xce\x9b\xf4\x0b\x58\xb7\x73\xca\x9d\x59\x85\xde\x3d\xac\xf5\x16\x0c\x8c\x29\x16\x38\x01\x05\x42\x5f\x31\x32\xfa\x3c\x3d\x9e\x94\x56\x9b\x31\xa8\x3f\x19\xab\xa8\x19\x3a\x29\xa3\x0b\x58\x4f\xb0\x8a\xda\x83\x71\xf3\xda\xb6\xbe\x9b\xf5\x9e\x92\xb0\x3f\x99\x72\xe9\x13\x96\x7f\x6b\xa8\xa7\x10\x0a\x50\x72\xdb\x34\xd9\xc6\x2e\x17\x6c\xd1\xa6\x36\x52\xe4\x67\x61\xab\xe5\x74\xf3\x72\xac\x27\x77\x71\x19\xbb\x33\xdc\x24\x8e\x06\xd8\x14\x76\x68\x68\xa7\x0a\x4d\xf0\x12\x3e\xc3\x02\x04\xb0\xb0\xa9\xaa\xcf\xcd\x62\x01\xa2\xe9\x2f\x97\x23\xad\x76\xa5\xd7\xda\x61\xc9\x13\x41\x46\x9d\x7a\x93\x72\xdd\xa1\x2b\xef\xb3\x0e\xad\xe9\xc5\x8d\x43\x7e\xe5\x6e\xd9\x0a\x9d\xa2\x6d\x6b\x80\xb9\xed\x35\xe2\xf8\x54\x63\x64\x47\xd1\xe3\xa6\x3e\x6e\xe3\x14\xe2\x30\xca\xff\x61\xe2\x7d\x06\x4c\xfe\x2b\xa8\x6a\x9e\x9d\xfc\xf6\x86\xab\xb4\x3c\x5f\xe7\x82\x27\xc6\xcd\xa6\xe0\x2b\xb2\xca\xc0\x3f\xe4\x92\x50\x79\xef\xc2\x32\x22\x2e\x9e\xc8\x04\xad\x3b\x23\xca\x64\x39\xf8\xd3\x31\xfe\x9e\x1d\xe3\xe0\xe9\x11\x73\x7f\x98\x0a\x9a\x60\xb1\x3e\x63\x24\xe5\x94\x29\x39\x9c\xc7\x7c\x3e\xf0\xf3\xc4\xdb\xb7\x50\xdf\x17\x2c\x54\x66\xf4\x70\x15\x91\x16\x6d\xba\xff\xeb\xe9\xa0\xd3\x3d\x66\x78\x65\x35\xb8\xa2\x42\x65\x38\x1e\x9b\x23\x0f\x8d\x19\xde\x8f\x4e\xd4\xde\xec\x08\x69\xa7\xfa\x44\x13\xd4\x40\xe6\x85\x43\xfd\xec\x28\xbf\x2c\x51\xcd\xcf\x06\x0e\xfa\xc3\x72\xb1\x06\xef\xde\x51\x0d\xe0\x51\x01\x93\xe6\xf7\x02\x3f\xa3\x95\x19\xf8\x41\x28\xe1\x45\x7e\x5f\xb1\x8b\x94\x75\x11\x57\x3b\xbe\x9a\x5e\x9f\x9c\xb5\x77\x57\x43\x27\x2f\x2c\xa7\xa1\xa0\xa9\x3a\xe7\xc2\x14\x39\x4d\xb9\x4f\x98\x91\x18\x44\x2d\xc9\x3f\x0c\xff\x53\x17\xc2\x99\xe2\x37\xe9\x52\x60\x02\x63\xca\x78\x4d\x52\x17\x96\xf5\xf2\x05\x94\xa2\x6c\x69\x8f\x90\xf3\x6d\x29\x08\x15\x90\x69\x4d\xa0\x51\x85\x27\x98\x91\x6b\x7e\xf6\x08\x61\xa6\xac\xd0\xf8\x41\x26\x45\x30\xa7\x2c\x60\x3c\xca\x52\x64\xde\xce\xb1\x8c\xd0\x61\x88\xbe\x78\xd5\xc7\x80\xa7\x2a\xc0\x5f\x33\x01\x41\xc8\x99\xc2\x94\x81\x90\x41\x2a\xf8\x8a\x6a\x77\x87\x32\x42\xd6\xf5\xa5\x80\x61\x66\x7e\x6f\x31\xf0\xed\x15\x99\xcd\xa5\x81\x8c\x72\x36\x22\xed\x75\x2b\x3d\xdb\xcb\x55\xf3\xec\x30\xcc\xa0\x60\xdf\xe6\x1a\x93\x4b\xf7\x42\x91\xcf\x45\x83\xe6\x96\x11\x3c\x53\x70\xad\x3f\xb8\xd7\x0b\x22\x2f\x1a\xdb\xa2\xaf\x75\x8b\x4a\x10\x2b\x1a\xc2\x44\x50\x16\xd2\x14\xc7\x27\x31\x05\xa6\x5c\x30\xb8\x25\xf3\xba\xb7\x2d\x1d\x9a\xd5\x49\xfe\xab\x1a\xd3\x06\x34\x25\x14\x16\x4b\x50\x67\x6c\x45\x05\x67\x09\x30\x87\x91\xb2\x27\xe6\x31\x0d\x73\x0b\x1f\x3f\xa2\x60\x85\x45\x10\xf3\x65\x19\xfc\x38\x93\x0a\xc4\x61\x15\xf9\x98\x2f\xd1\xbf\x3e\xbe\xff\x80\xde\x7f\xf1\xd0\x7b\xbb\xe1\xee\xd5\xff\x6e\x7b\xff\x0b\x00\x00\xff\xff\xac\xbc\x67\xc6\xc7\x26\x00\x00") +var _kubernetesagentresourcesvmasT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\x4d\x6f\xdb\x38\x13\x3e\xd7\xbf\x82\xd0\xa1\x8a\x01\xc7\x42\xdf\x17\x7b\xc9\xa1\x40\x90\x8f\xd6\x48\x9d\x18\x75\x92\x3d\xa4\x3e\xd0\xe2\x58\x22\x22\x91\x02\x49\x39\x71\x0d\xff\xf7\x05\x29\xc9\xfa\xa2\x1c\xb7\x4d\xda\xec\xb6\xbe\xc4\x36\x67\x46\xc3\x67\x86\x0f\x67\x26\x46\x08\xa1\x75\x0f\x99\x97\x83\x13\x7a\x0b\x42\x52\xce\x9c\x23\xe4\xdc\x2d\xb1\xa0\x78\x1e\x81\x3c\x70\xcb\x95\x53\x58\xe0\x34\x52\x6e\x7f\xe6\x0c\x0a\x3d\x9f\x27\x2b\xe7\x68\x6b\xc7\x7c\x93\x32\x65\x8c\xc8\x74\x7e\x50\x31\xb4\x5e\x0f\x2f\x71\x0c\x9b\xcd\x89\x96\x70\xfb\x03\x64\x5b\xbc\x5a\x2c\x24\x28\xb7\x5f\x79\x08\x42\x0e\xc3\x31\x68\x9b\x11\xe7\x89\x93\x7f\xbd\xd9\x3a\x41\x20\x01\x46\xe4\x95\xf6\xfd\xae\xb7\x5e\xd3\x05\x1a\x8e\xe4\x49\x2a\x15\x8f\x6f\x2f\xcf\xae\x37\x9b\x42\xb2\xba\x31\x26\x83\xd1\xa9\xde\x4c\x6f\xbd\x86\x48\x82\x5d\x6a\xc9\x40\x95\x62\x8c\x6c\xa5\x66\xdb\xc7\x47\xdc\xc7\xca\x82\x5c\xf1\x7d\x0d\xb0\x62\x27\x77\x3e\x67\x3e\x56\x56\x80\x6e\xc7\xfa\xef\x44\xc0\x82\x3e\x6a\x9c\x5c\x46\xfd\x43\x77\x80\x34\xd8\x23\x46\xe0\xd1\xaa\xb5\x45\xae\xfa\xb8\x44\xf0\x04\x84\xa2\x20\x4d\x94\xac\xd8\xbc\xc9\x1c\x03\xf5\xc0\xc5\xfd\x14\xfc\x54\x50\xb5\xfa\x20\x78\x9a\x18\x9d\x37\xd9\x3a\x25\xcd\xfd\x95\x00\xbe\xc9\xe3\x51\x47\x48\x2b\x25\x27\x9c\x2d\x68\x90\x0a\x83\x84\x34\x01\x42\xdb\xd7\xba\xf2\xbe\x82\x0d\x4d\x7c\xa3\xf5\xae\x92\x02\xb6\xdd\x20\xd4\x58\xa5\x4b\xac\x60\x34\x39\x8e\x0a\xe8\xc7\xa0\x42\x6e\x1c\x3f\x5d\x31\x1c\x53\xbf\x61\x11\x21\x47\xa6\x73\x06\xca\x62\xcf\xba\xe7\x32\x46\x0c\xd4\xd4\xa8\xe6\x18\xd4\x34\x37\xbd\xae\x4f\xe5\xfb\x59\x25\xbf\x81\x69\xfb\xa3\xc9\x39\x17\x0f\x58\x10\xca\x02\xe7\x08\x29\x91\x42\x2b\xd7\xd5\x2a\x31\x18\x8d\xa9\x2f\xb8\xe4\x0b\x35\xbc\xcc\x02\xe7\xe5\x01\x1c\x31\x05\x62\x81\x7d\x90\x99\x4f\x26\x2c\x59\xd4\xc7\x98\xe1\x00\xc8\x29\x95\xf7\x72\xb3\x41\xbd\x2a\x01\x7c\x5f\x12\xdb\x90\x39\x5e\x62\x1a\xe1\x39\x8d\xa8\x5a\x4d\xa1\x4e\x17\xfb\xd0\xcc\x54\x71\x81\x03\xa8\x3a\xeb\x76\xa5\x74\xaf\x23\x93\x92\x08\xab\x05\x17\xf1\xb9\x26\xac\x53\x1e\x63\xca\x4e\x0a\x5e\xfa\x7f\x2b\xab\x72\xe1\x9b\x84\x60\x05\x16\xe9\xec\x04\x18\xd9\x38\xf3\xca\x41\x47\xc8\xd1\xf1\x29\xe3\x6e\x42\xd4\x1d\xa5\x13\x1e\x27\xa9\x02\x0f\xd7\xd1\xa9\x06\x49\x93\x10\xca\x22\x95\x63\x70\xec\x1b\x36\xcd\x4f\xd4\x37\x91\x75\x6e\x61\x6f\xb2\xb6\x45\xb2\xee\x85\xcc\x79\xfb\xbb\x89\x79\xab\x54\x70\x9f\xdb\x4e\xe2\x24\x9d\x47\xd4\x1f\x4d\x8e\x09\x11\x20\x25\x48\xcf\xad\xdd\x13\x31\x96\x0a\xc4\xa4\x2e\xa5\xbd\x35\x37\xc6\x8b\x51\xb3\xac\x21\x91\x31\x33\x48\xb7\x7f\x17\x73\x72\x80\x09\x39\x28\xa9\xb9\x3f\x78\x1a\xca\x2d\x55\x0f\x9e\x7c\x46\x0e\x7a\x7f\xf6\xb4\xa8\xdb\xbf\x23\x74\xf9\x0b\xdc\x29\x8f\x7e\x26\xbc\x8d\x47\xd7\x35\xb4\xcd\x04\x9c\x29\x5c\xe7\xc7\xa5\x76\xf1\xc6\x53\xfa\x15\xe4\x18\x27\x6e\xdf\xce\xc0\x63\x2d\xe0\xf6\x67\xc3\xba\xab\xda\xd8\xac\x9d\x8b\xed\x23\x99\x83\xe0\xd5\xd5\xcb\x13\x69\xce\x9c\xa1\xce\x8f\x58\xe6\xa4\xf9\xea\x0f\x22\xc1\x0a\x13\x2a\xef\x3f\xfd\x39\x90\xed\x5a\x49\x83\x33\xb5\x68\x4e\x01\x48\x23\xfd\x7f\xfd\xc9\x7d\x55\x7e\x6f\xcd\x9e\x62\x85\xff\x8b\xc7\xbc\x2c\x5c\x5f\x61\x49\x64\xeb\xbc\xea\x58\xef\x02\x60\x9f\xd2\x43\xef\x5e\x57\x2f\xeb\x0a\xeb\x35\x0b\xc6\x67\x2b\xe2\x9a\xfd\xd6\x77\x41\x50\xef\x35\x7e\x76\x23\xba\x8c\x35\xc1\x5e\x72\x02\xfb\xb6\xa3\xd6\x92\xae\x8b\x7d\x3b\x72\xd6\x73\xf7\xe2\x92\x82\x03\x35\xa7\xec\xd9\x33\x0e\x6a\x94\xfe\x78\x3b\x96\x13\x10\x75\x97\x5f\x09\x41\xfe\x1b\x37\xb5\xa3\x40\xea\x75\xd4\x18\x2f\x9b\x19\xaf\x0a\xc8\x6f\xb8\xdd\x9e\x33\x91\x7e\x03\x0c\x9e\xbc\xb5\x0b\x12\x6d\x0d\x6e\x76\x54\x84\xad\x39\x43\xa3\x22\x7c\x81\x31\x96\xdd\xa1\xae\x7b\xad\xcb\x9f\xd6\x2d\x6c\x2b\x50\x15\x0e\xca\xb9\x42\xf5\x36\x11\x60\x2e\xfd\x29\x4f\x85\x0f\xa6\xff\xdf\xba\x84\x7d\x09\x2c\xa0\x0c\x0e\xf7\x44\x62\x7f\x04\x5a\x97\xcb\x8b\x0f\x1b\x7f\x7c\xc8\x58\x96\x7d\x75\xc0\x1b\x33\xb6\x62\xba\x26\x40\x1a\x4c\x47\x64\x9f\xe0\xba\x76\x5e\xed\x0e\x6d\x05\x3c\x84\x9c\x10\x0b\xf2\x80\x05\x4c\x04\x5f\xd0\x08\x9a\x2e\x65\xd5\x68\xf7\xd0\xaf\xa8\x45\xed\xc6\xf3\x93\xd1\x61\xbb\x3d\x9f\xab\x0f\x43\x9b\x43\xac\xa7\x10\xea\x3c\x8f\xee\xe0\x05\x67\xcb\xcd\x51\x67\x75\xb6\x39\xb3\xa2\xc2\x65\x07\x20\x98\xc4\x94\xdd\x48\x10\xb6\xda\x39\xcd\xbf\xaf\xb7\xb9\xa6\xac\x33\x89\x21\x7e\x4e\x6e\x9b\xb0\xac\x3f\x80\xba\x48\xe7\x20\x18\x28\x90\xc7\x01\x30\x95\x0d\xd0\x35\xad\x6e\xaa\x08\x38\x11\x65\xe9\x63\x6d\xe6\x6d\x9b\x54\x13\x2a\xf5\xc3\x27\x58\xca\x07\x2e\xc8\x71\xaa\x42\x60\x8a\x96\x27\xdb\x8c\x16\xdb\xa3\x6a\x19\xda\xe7\xd4\x59\x93\x7e\x01\xab\x76\x4e\xd9\x33\x2b\xd7\xbb\x87\x95\xde\x82\x81\x31\xc1\x02\xc7\xa0\x40\xe8\x2b\x46\x86\x9f\xa7\xc7\x93\xc2\x6a\x33\x06\xd5\x27\x63\x15\x36\x43\x27\x65\x78\x01\xab\x09\x56\x61\x7b\x30\x6e\x5e\x9b\xd6\x77\xb3\xde\x2e\x89\xfa\x27\x53\x2e\x7d\xc4\xf2\x93\x86\x7a\x0a\xbe\x00\x25\x37\x4d\x93\x6d\xec\x32\xc1\x16\x6d\x6a\x23\x79\x7e\xe6\xb6\x5a\x4e\x37\x2f\xc7\x6a\x72\xe7\x97\xb1\x3d\xc3\x4d\xe2\x68\x80\x4d\x61\x87\x86\xf5\x54\xa1\x31\x0e\xe0\x33\x2c\x40\x00\xf3\x9b\xaa\xfa\xdc\x2c\x16\x20\x9a\xfe\x72\x39\xd2\x6a\x57\x7a\xad\x1d\x96\x2c\x11\x64\xd8\xa9\x37\x29\xd6\x2d\xba\xf2\x3e\xed\xd0\x9a\x5e\xdc\x58\xe4\x97\xf6\x96\x2d\xd7\xc9\xdb\xb6\x06\x98\x9b\x5e\x23\x8e\xbb\x1a\xa3\x7a\x14\x1d\x6e\xea\xe3\x36\x4e\x3e\xf6\xc3\xec\x1f\x26\xce\x67\xc0\xe4\x6f\x41\x55\xf3\xec\x64\xb7\x37\x5c\x25\xc5\xf9\x3a\x17\x3c\x36\x6e\x36\x05\x5f\x90\x55\x06\xee\x21\x97\x84\xca\x7b\x1b\x96\x21\xb1\xf1\x44\x2a\x68\xd5\x19\x51\x24\xcb\xc1\x9f\x8e\xf1\xf7\xec\x18\x07\xbb\x47\xcc\xfd\x61\x22\x68\x8c\xc5\xea\x8c\x91\x84\x53\xa6\xe4\x70\x1e\xf1\xf9\xc0\xcd\x12\x6f\xdf\x42\x7d\x5f\xb0\x50\x91\xd1\xc3\x65\x48\x5a\xb4\x69\xff\xaf\xa7\x85\x4e\xf7\x98\xe1\x15\xd5\xe0\x92\x0a\x95\xe2\x68\x6c\x8e\x3c\x34\x66\x78\x3f\x3a\x51\x7b\xb5\x23\xa4\xad\xea\x8e\x26\xa8\x81\xcc\x33\x87\xfa\x87\x47\xf9\x7b\x87\xd4\x83\x47\x05\x4c\x9a\x1f\x0b\xfc\x8c\x3e\x66\xe0\x7a\xbe\x84\x67\xf9\x71\xc5\x36\x4c\xb5\x5b\xb8\xdc\xf1\xd5\xf4\xfa\xe4\xac\xbd\xbb\x0a\x3a\x59\x55\x39\xf5\x05\x4d\xd4\x39\x17\xa6\xc2\x69\xca\x7d\xc4\x8c\x44\x20\x2a\x19\xfe\x6e\xf8\x57\x55\x08\xa7\x8a\xdf\x24\x81\xc0\x04\xc6\x94\xf1\x8a\xa4\xae\x2a\xab\xb5\x0b\x28\x45\x59\x50\x9f\x1f\x67\xdb\x52\xe0\x2b\x20\xd3\x8a\x40\xa3\x04\x8f\x31\x23\xd7\xfc\xec\x11\xfc\x54\xd5\x42\xe3\x7a\xa9\x14\xde\x9c\x32\x8f\xf1\x30\x4d\x90\x79\x3b\xc7\x32\x44\x87\x3e\xfa\xe2\x94\x1f\x3d\x9e\x28\x0f\x7f\x4d\x05\x78\x3e\x67\x0a\x53\x06\x42\x7a\x89\xe0\x4b\xaa\xdd\x1d\xca\x10\xd5\xee\x2e\x05\x0c\x33\xf3\x63\x8b\x81\x5b\x5f\x91\xe9\x5c\x1a\xc8\x28\x67\x23\xd2\x5e\x2f\xda\x27\xf3\x93\x96\xf6\x72\x99\xaf\x16\xc3\x0c\x72\xea\x6d\xae\x31\x19\xd8\x17\xf2\x7c\xce\xbb\x33\xbb\x8c\xe0\xa9\x82\x6b\xfd\xc1\xbe\x9e\xb3\x78\xde\xd5\xe6\x4d\xad\x5d\x54\x82\x58\x52\x1f\x26\x82\x32\x9f\x26\x38\x3a\x89\x28\x30\x65\x83\xc1\x2e\x99\x15\xbd\x6d\x69\xdf\xac\x4e\xb2\x9f\xd4\x98\x1e\xa0\x29\xa1\xb0\x08\x40\x9d\xb1\x25\x15\x9c\xc5\xc0\x2c\x46\x8a\x86\x98\x47\xd4\xcf\x2c\xbc\x7f\x8f\xbc\x25\x16\x5e\xc4\x83\x22\xf8\x51\x2a\x15\x88\xc3\x32\xf2\x11\x0f\xd0\xff\xde\xbf\x7d\x87\xde\x7e\x71\xd0\xdb\x7a\xb7\xdd\xab\xfe\xdd\xf4\xfe\x09\x00\x00\xff\xff\x07\x83\x79\x5e\xc4\x26\x00\x00") func kubernetesagentresourcesvmasTBytes() ([]byte, error) { return bindataRead( @@ -903,7 +903,7 @@ func kubernetesmastercustomscriptSh() (*asset, error) { return a, nil } -var _kubernetesmasterresourcesT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xe4\x5b\x5d\x6f\xdb\x36\xf7\xbf\xef\xa7\x20\x74\x51\xc5\x83\x63\xad\x69\x06\xfc\xff\xb9\x28\x90\x26\xcd\x62\xb4\x49\x8c\x2a\xeb\x2e\xba\x60\xa0\xa9\x63\x9b\x88\x4c\xea\x21\x29\x27\x5e\xe0\xef\xfe\x80\x7a\xb1\x24\x8a\xb2\x25\xc7\xe9\x82\x3e\xbb\x58\x63\xf3\xf0\x90\xe7\xf5\x77\x0e\x49\x23\x84\xd0\xd3\x1b\x94\xfc\xe7\xe0\x88\x7e\x03\x21\x29\x67\xce\x09\x72\xbe\x2f\xb0\xa0\x78\x1c\x82\x3c\x70\x8b\x91\x73\x98\xe0\x38\x54\x6e\xef\xce\xe9\xe7\xf3\x42\x4e\xb0\xb2\xcc\xca\xbf\xaf\x10\x33\x3c\x07\x93\x70\x8e\xa5\x02\x71\xba\xc0\x34\xc4\x63\x1a\x52\xb5\xf4\xa1\xba\x44\x24\x78\x04\x42\x51\x90\xce\x09\x7a\x5a\xad\xbf\x57\xcb\x28\xe1\x76\x45\x89\xe0\x92\x4f\xd4\xe0\x8c\xcf\xa3\x58\x81\x87\xab\xdc\xa4\x93\x4c\xc9\x66\x76\x12\xd9\x57\x5c\xe0\x29\x54\xf6\x13\x40\x04\x2c\x90\x37\x7a\xda\xf7\xec\x4b\x84\x9c\xef\x84\x33\x82\xd5\x81\x5b\xec\xe7\x1a\xd4\x03\x17\xf7\x5e\x14\x8f\x43\x4a\x86\xa3\xd3\x20\x10\x20\x25\x48\xcf\xed\xa3\x9a\x0e\x46\x55\xaa\x6b\x3c\x07\xb7\xd7\xbb\x73\xb2\x25\xee\xf6\xad\xf3\x4c\xb6\x53\x42\x78\xcc\x54\xba\x5c\xa3\xda\x0b\x39\x71\x4a\x7f\x9b\x69\xbf\xcc\x77\x31\xf7\xe9\x3f\x20\xaf\x70\xe4\xf6\xea\xeb\x7d\xbb\xd2\xa3\x6e\xef\x6e\x20\x2b\x2b\x6b\x4e\x6b\x29\x37\x99\x37\xdb\xb0\x57\x9d\x5e\x58\xf7\xe9\x89\x4e\x10\xe3\x0a\x0d\xae\x52\x85\x0a\x3e\xa1\x21\x0c\x86\xf2\x2c\x96\x8a\xcf\xbf\x5d\x7f\xba\x5d\xad\xba\x3b\x81\xcd\xef\xbb\x3b\x01\x4b\xff\xf5\x81\xc4\x82\xaa\xe5\xef\x82\xc7\x91\xe9\x08\x4c\x4e\xd7\x66\xef\xb7\xe2\x2a\x78\xac\xe0\x36\x99\x6e\xf0\x2a\x46\x5e\xd0\x93\x16\x54\xa8\x18\x87\xd9\x6e\xda\xfb\x50\xea\xe2\x7e\x84\x09\x54\x46\x8a\xb1\x91\x80\x09\x7d\x4c\x26\x7e\x2f\x0d\x23\x63\x7d\x06\xea\x8c\x06\xc2\x2d\xa4\x4b\x24\x5c\xff\xbd\x2a\xa9\x51\xc6\x63\xa6\xb3\x41\x95\xe3\x53\x95\xbb\x4d\xca\x74\xa2\x29\xdd\x66\x19\x6d\xd2\xd8\xf9\xd6\x79\xea\x6d\x58\xbc\xc5\xc2\x1f\x21\x87\x06\x26\x5b\x26\xa7\xc3\x73\x43\x23\x86\x2e\xb2\xb9\x85\x8f\xb4\xe5\x5d\xcc\xb0\x2f\xf1\xa6\xe9\x53\xf1\xf7\x5d\x8b\x50\xcf\xdd\xbb\xea\x5f\xe5\x50\x07\x16\xec\x2b\x96\x9f\x1d\x05\xeb\xb0\x6d\xe1\xfa\x32\xb3\xe8\xd7\x38\xcc\x9c\x3b\x49\x5b\x83\x4b\x2c\xff\xa4\x2c\xe0\x0f\x72\xb5\xda\xee\x9d\x38\x0c\xf9\xc3\xdf\x22\x88\x9c\x3e\xea\xe4\x8e\x84\x80\xd4\x23\xce\xa9\xe6\x60\xce\x4e\x12\x9b\x24\x82\x46\xb9\x3e\x12\x32\xf4\xf5\x7c\x84\x94\xc0\x93\x09\x25\x48\x71\x94\xe6\x73\xfb\x64\x45\x59\xa2\xb4\x53\xd3\xf1\x7f\xd9\x4c\x3f\xe2\x42\x7d\xc5\x6c\x9a\x88\xf7\xfe\xfd\xff\xfd\xff\xa1\xfe\x9f\x6d\x0e\x15\x40\xf2\xed\x0d\xd9\x98\xc7\x2c\xb0\x90\x45\x82\x72\xad\x67\xe7\x04\xbd\xfb\xf5\xc8\x36\xce\x15\x27\x3c\xd4\x5c\x6e\x49\x4d\x8f\xda\x52\x3c\x16\x04\x5a\xc9\x91\x92\x56\x44\xf8\xc5\x69\x0e\x85\xb5\xff\x66\x5f\xb4\xb5\xb7\x94\xb3\x8e\xd9\xc7\x34\x77\x2b\x6b\xfb\xfe\xa5\xcd\xda\x1d\x8d\xdd\xd6\xd6\x47\x47\x87\x47\x47\x16\x72\xab\x99\x37\x5a\xf9\x9d\x65\xd8\x30\x72\x7b\x1b\x3f\xdb\xc4\xc5\x87\x8d\x36\xbd\x8f\xc7\xf0\xb7\x0a\xe5\x8f\x30\xac\x5e\xeb\x10\x47\x54\x82\x58\x80\x40\x07\x2a\x94\xbd\x1f\x68\xe9\xe3\xe3\xf7\x87\xc7\xc7\xef\xf7\x62\xeb\x5f\x5f\x91\xad\x77\x42\x36\x6b\x39\xb8\x7b\xa3\xf2\x22\xb8\x66\x96\x90\x25\xf2\x66\xc1\x4a\x15\xe9\x7e\xc5\xf9\x59\xfa\xae\x2f\xe3\xd6\xc5\xc2\x18\x93\x7b\x60\x41\xee\xb3\x9c\x87\x3b\x54\xaf\xf9\xaa\x1f\x53\x66\x9a\x4b\xbe\x01\xbb\x17\x97\x4a\xe6\x89\xe0\x4c\x01\x0b\x86\xa3\x33\xce\x26\x74\x1a\x8b\x44\xd2\x67\xec\x22\xe7\xb4\x53\x35\x6d\x18\x74\x63\xd1\x2a\x20\x0d\xe3\x61\xd0\xca\x35\xdc\x7e\x57\xc7\xa8\x6b\xce\xfc\x64\xd7\x69\xc8\x71\xf0\x11\x87\x98\x11\xca\xa6\x45\x19\xb8\x4d\x99\x5f\x3e\x6a\xda\xcb\xdb\xdb\x91\xdf\x4d\x69\x0d\x36\x6c\x5b\xf1\x9b\x86\x6b\xd9\x5a\xd4\x5d\x77\xe3\x82\x59\x10\xdb\xd6\x3d\x77\x7b\x7d\xe4\x7a\x96\x58\xb0\x86\xb3\xc5\xd1\xdb\xec\xb7\x0c\x1f\xca\x06\x1f\xb9\x1a\x35\x2c\x38\x27\xe8\xf8\xf8\x7d\x93\xcc\x1b\x28\x80\xe9\xbd\x5e\x84\x1c\x2b\xca\xa6\xc3\x91\x73\x82\x26\x38\x94\x50\x23\xa4\x41\x08\xb7\x74\x0e\x3c\x56\x43\x76\x45\x59\xac\x12\xe3\xfe\x56\x23\xd4\xde\x74\x4e\xa5\x12\x74\x1c\xe7\xc9\x29\xcb\x9e\x36\x08\xe5\xe3\xcd\xad\xde\x16\x3b\xb8\x5e\xc2\x42\x7a\x8a\x44\x89\x2b\x8e\xf4\xc7\x5d\x1b\xc1\x52\x50\xa4\x6c\xdb\xa5\x95\xca\xda\x1d\x13\xc8\x36\x2b\x47\xcd\xb6\xa3\x4c\x81\x58\xe0\x70\xc8\x7c\x20\x9c\x05\x49\xf9\xf5\x9b\xa5\x75\x8f\xe7\x63\x10\x37\x93\x51\x2e\x92\x73\xb4\xef\xe2\xa1\x48\x21\x20\x5e\x14\x65\xd3\xde\x74\xeb\x71\x1a\x32\xcf\x65\x8a\x23\x88\xa7\x27\x08\x25\x34\xd1\x2d\x18\xa8\x82\x70\xdd\xd2\xbf\x00\xea\x0e\xb5\xf5\x18\x0e\xff\x97\xd1\xb7\xd0\xc1\xf3\x50\x58\xd0\x05\x56\x50\x86\xe1\xcd\x8b\x45\xd6\x23\xae\x82\x4d\x98\xdb\xf2\x0a\xd4\x8c\x27\x89\xc8\x57\x58\x51\x62\x29\xcd\x93\x23\xb3\xb6\xd8\xa5\xdd\xcb\x4f\x66\xec\x7e\x5a\xd5\x01\xb9\x9b\x2c\xb1\x56\xc5\xae\x10\xbe\x27\x30\x2d\x99\xe4\xc7\x80\xaa\x09\x88\xcf\x41\xc4\xbd\x94\x31\xf5\x08\x68\x59\xce\xb4\x40\xff\xd6\x90\x6d\x82\xd0\xeb\x84\xca\xe7\xc0\x5d\x33\xac\x5a\xf4\xb6\x8b\x3a\x5e\x07\x56\xee\x09\x9a\xac\x7d\x46\x0b\x7c\x0a\x98\xf4\x41\xe9\xb0\x31\x0d\xe8\x04\x7c\x8e\x29\xd3\x9c\xbe\xe0\x31\x84\xf6\x75\x2f\xfe\x13\xb0\xf4\x1c\xa4\x12\x02\xe5\x2b\x93\x75\x9b\x64\x49\xd1\xe7\x4b\x86\xe7\x94\xb4\xb9\xb9\x6b\xec\xba\xf6\x6b\x0f\xc2\xa3\x65\x55\x45\xc9\x0d\xa1\x5d\xfa\x33\x3d\x54\x05\xa6\xb5\x8d\xf2\xa4\xf7\x85\xf3\xe8\x9a\x07\x50\x97\xb1\xe9\x30\xa2\xa1\x70\xde\xdb\x69\x42\x73\x7d\x9e\xba\x8d\x4e\xea\x6e\x1f\xb9\xbe\x7f\x79\x68\x4b\xe4\xdf\xae\x34\x5d\x6e\xf5\x3e\xd2\x2a\x1b\xb2\x00\x1e\x0f\x7a\x1d\x4a\xa2\x2c\x0b\x1e\x1d\x95\x74\xb7\x3d\x91\xb7\x4c\xe1\xdd\x7b\xd0\x95\x65\x8d\x6c\x8b\xd5\xfb\x36\x39\xbb\xc6\x4a\x8f\x48\xb7\xf7\xbd\x24\xfa\x5d\xc5\x0b\x1a\x12\x52\xe7\x64\xe3\xd1\xf4\x28\xf3\x1a\xab\xb4\x58\x78\x9d\xce\xce\x28\x69\xeb\xe7\xcf\x6e\x07\xfa\xad\xfb\x81\xbe\xd1\x10\xa0\x36\xcd\xa9\xa1\x70\x2f\x8d\x82\x6d\x41\x60\x8f\x01\x6b\x34\xd7\xbb\x88\x17\x8e\x6b\x33\x5e\x5d\x46\x89\x0e\xec\x8e\x71\x4b\xa3\x5d\x3a\x08\x1a\x91\x64\xd6\xbb\x6e\x95\x43\x39\x08\x3e\x6e\xed\xa1\x6c\x3b\xc8\x77\xfd\xaf\x9c\x0d\x59\xca\x3f\xfb\xfe\xfe\xed\x7a\xdb\x6c\x60\x2a\x65\xa2\xc5\x16\x43\x23\x1d\xed\xd9\x0e\xfb\x09\xbf\x1d\x64\xb4\xf6\xa3\x4d\x9b\xbd\xa0\x42\x2a\x4d\x68\xc3\x40\xca\x36\xcd\xb8\x21\x0a\xd4\xb1\xdb\xeb\xf5\x7e\x8e\x76\x36\x45\xec\xe1\xe8\x82\x8b\x07\x2c\x02\xca\xa6\xce\x09\x52\x22\x86\x2e\x79\xbe\xdf\xe6\xa9\x4a\xab\x47\x2a\x2b\x23\xe3\x77\xb8\x45\x4b\x02\x6d\x82\xc9\xab\xc5\xd8\xc5\xbc\x7b\x29\xb9\xf5\x29\x59\x21\xb5\x35\x87\x74\x83\x0e\xfb\x8a\x4d\x2f\x2a\x3d\x4b\x58\xd7\xde\x70\x6e\x03\x53\xfb\x03\xc4\x1a\xa0\x2a\xac\xfb\x9b\xec\x53\xd9\x14\x02\x92\x28\xf3\x93\x6b\x1e\x07\x95\xa2\xde\xc5\x44\x02\x9b\x52\x06\x3b\x14\xc1\x35\x03\xbd\x2c\xa2\x77\x44\x72\xc3\x12\x0d\x81\x66\xbf\xfc\x6a\xb2\x66\x4b\x63\x5a\xeb\xed\x19\x16\xc1\x03\x16\x90\xa5\x09\x73\x3f\xe9\x93\x50\x7b\xc0\xac\x1f\x84\xda\x39\x67\x5e\xde\xc0\xb8\x1e\xf9\x26\x9c\xd5\x4f\x34\xda\x5c\x0c\xd6\xf8\xba\xfd\x96\x96\xb4\xc5\x97\x99\xa4\xcb\x49\xd9\xfe\x48\x91\xcb\x06\x81\x71\x30\xa7\xec\x0f\xa9\x0b\x8a\xfa\x41\x42\x9c\x7d\x6f\x1e\xb4\x3a\x24\x35\xb9\xd8\x93\x5b\x26\x7a\x7d\xfa\x1d\xd4\xe7\x78\x0c\x82\x81\x02\x99\xa2\x44\x8a\x0d\xe7\x58\xe1\xca\xf3\x35\x27\xa4\x2c\x7e\xdc\x7c\x60\xe7\x04\x54\xea\xad\x8c\xb0\x94\x0f\x5c\x04\xa7\xb1\x9a\x01\x53\xb4\x08\x3a\x8d\x49\x66\x09\x2a\xe5\xac\xf9\x86\xf8\x33\x2c\x3b\x94\x37\xf7\xb0\xd4\x1b\xb7\x74\x8b\xa3\x9c\x9b\x1e\xb7\x1d\x62\xa7\x6b\x62\x35\xb3\x4c\xfe\x0c\xcb\x11\x56\x33\x0b\x50\x5b\x8a\x9a\x16\xd0\xad\x35\xaf\x61\xf9\x8b\x56\x69\x8e\xca\x97\x58\xfa\x40\x04\xa8\xea\xb3\xc1\x8a\x0f\xc8\x94\xa0\x96\xbe\x4a\x7c\x32\x1e\xc6\x5e\xcd\x0e\xac\xf2\x98\x36\x4d\xde\x0d\xce\x4a\xe7\x78\x0a\x5f\x61\x02\x02\x58\xed\x89\xaf\xf6\xf2\xc9\x04\x84\xb9\x21\x2e\x87\x7a\xda\x8d\x1e\xb3\x5d\x4a\x68\x63\xc8\x59\xe3\xbc\x51\x3e\x6e\x99\x2b\xef\xe3\x86\x59\xfe\x7d\x6c\xa1\x5f\xd8\xab\x85\x6c\x4e\x56\x31\x98\x77\x38\x15\xa5\x73\x79\x4e\xe5\x7d\x5d\x72\x82\xc9\x2c\xad\xb4\x9c\xaf\x80\x83\x3f\x05\x55\x35\xdf\x4e\x90\x0d\x6e\xd6\xaf\xb7\x2e\x04\x9f\x27\x0b\x9b\x84\xcf\x89\xea\xbe\x7b\xc8\x65\x40\xe5\xbd\x4d\xfc\x59\x60\x0b\xae\x58\xd0\xf2\x6a\x22\xb7\xef\x41\xbd\x70\x68\x78\xab\x6f\xab\x1b\x6c\x65\x40\xaf\xbf\xf9\xe7\x18\xbd\x41\x24\xe8\x1c\x8b\xe5\x27\x16\x44\x9c\x32\x25\x07\xe3\x90\x8f\xfb\xee\x62\x16\x58\x17\x69\xee\x39\xd6\x7a\x18\x2c\x66\x41\x2d\x58\xed\xa1\xd8\xa6\x44\xcd\xc1\x36\x7b\xc2\x7c\x95\xd8\xfd\x27\x2f\x50\x1b\x64\x6e\x55\x9e\x5a\x8b\xb0\x86\x63\x95\x1c\xc2\x93\x5e\xe3\xa0\x37\xc8\x07\x37\x3e\x50\x6b\xda\x1c\x3c\x2a\x60\x32\x39\x15\xd9\x4b\x15\xd7\x77\x3d\x22\xa1\xfb\x19\x4d\x25\xbf\x15\xdb\xbe\xf1\x6f\xcf\x3e\xd5\xb7\x58\x12\x31\xc5\x5e\x3f\x79\xef\x79\xc1\x45\x82\x0f\x26\xdd\x25\x66\x41\x08\xa2\xe4\x64\xef\x06\xe5\xcb\x1c\x07\xc7\x8a\xff\x11\x4d\x05\x0e\xe0\x8a\x32\x5e\xa2\xd4\xe8\x5b\x4e\xfc\xa5\x2b\x87\x95\x71\x6a\x0a\x44\x41\xd0\x74\x27\x41\xf8\x7c\x8e\x59\x70\xcb\x3f\x3d\x02\x89\x55\x45\xbf\xae\x17\x4b\xe1\x8d\x29\xf3\x18\x9f\xc5\x11\x4a\xfe\x1c\x63\x39\x43\x87\x04\xfd\xe5\x14\x1f\x3d\x1e\x29\x0f\xff\x13\x0b\xf0\x08\x67\x0a\x53\x06\x42\x7a\x91\xe0\x0b\xaa\xb7\x3b\x90\x33\x54\x89\x7e\x05\x0c\x33\x95\x9e\x4f\x54\x47\x64\x3c\x5e\x3f\x91\x1d\x06\xf5\xf1\x8a\x8f\xd5\x87\x8b\xe2\xdf\xc2\x78\xfd\x6b\x11\x73\x6c\xfd\x4b\x01\x73\xc0\xf6\x43\x9a\xda\x8e\x8c\xe7\x98\xe6\x78\x96\x12\xb3\xd2\x3d\xab\xdc\xed\xa4\x12\xc4\x82\x12\x18\x09\xca\x08\x8d\x70\x78\x16\x52\x60\xca\xa6\x06\x3b\x65\x5a\x2f\xd4\xa9\x49\x32\x3a\x4a\x8f\x42\x3e\xc3\xb2\x4e\xa1\xb0\x98\x82\xfa\xc4\x16\x54\x70\x36\x07\x66\x61\x92\x17\xfe\x3c\xa4\xc4\xc2\x01\x47\xd4\x4f\x1e\x30\x6f\x5a\x86\xe0\x33\x1d\x63\x13\x5d\x45\x5a\xe4\xaf\x5f\x80\x99\x14\xf7\xf1\x18\xd2\xba\x75\x23\xa3\x82\x6c\xd3\x6e\x8a\xf2\xbc\xef\xa2\x0f\x1f\x90\xb7\xc0\xc2\x0b\xf9\x34\xf7\xe4\x30\xd6\xdb\x39\x2c\xdc\x38\xe4\x53\x74\xf4\xe1\xed\x3b\xf4\xf6\x2f\x07\xbd\x35\x8e\x49\xca\xff\xae\xde\xfc\x37\x00\x00\xff\xff\x9d\xaa\x79\xba\xc7\x39\x00\x00") +var _kubernetesmasterresourcesT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xe4\x5b\x5d\x6f\xdb\x36\xf7\xbf\xef\xa7\x20\x74\x51\xd5\x83\x63\xad\x69\x06\xfc\xff\xb9\x28\x90\x26\xcd\x62\xb4\x49\x8c\x2a\xeb\x2e\xb2\x60\xa0\xa9\x63\x9b\x88\x4c\xea\x21\x29\x27\x5e\xe0\xef\xfe\x80\x7a\xb1\x24\x8a\xb2\x25\xc7\xe9\x82\x3e\xbb\x58\x63\xf3\xf0\x90\xe7\xfd\x77\x48\x1a\x21\x84\x9e\xde\xa0\xe4\x3f\x07\x47\xf4\x3b\x08\x49\x39\x73\x8e\x91\x73\xbb\xc0\x82\xe2\x71\x08\xf2\x9d\x5b\x8c\x9c\xc1\x04\xc7\xa1\x72\x7b\x77\x4e\x3f\x9f\x17\x72\x82\x95\x65\x56\xfe\x7d\x85\x98\xe1\x39\x98\x84\x73\x2c\x15\x88\x93\x05\xa6\x21\x1e\xd3\x90\xaa\xa5\x0f\xd5\x25\x22\xc1\x23\x10\x8a\x82\x74\x8e\xd1\xd3\x6a\xfd\xbd\x5a\x46\x09\xb7\x4b\x4a\x04\x97\x7c\xa2\x06\xa7\x7c\x1e\xc5\x0a\x3c\x5c\xe5\x26\x9d\x64\x4a\x36\xb3\x93\xc8\xbe\xe2\x02\x4f\xa1\xb2\x9f\x00\x22\x60\x81\xbc\xd6\xd3\x6e\xb3\x2f\x11\x72\x6e\x09\x67\x04\xab\x77\x6e\xb1\x9f\x2b\x50\x0f\x5c\xdc\x7b\x51\x3c\x0e\x29\x19\x8e\x4e\x82\x40\x80\x94\x20\x3d\xb7\x8f\x6a\x3a\x18\x55\xa9\xae\xf0\x1c\xdc\x5e\xef\xce\xc9\x96\xb8\xdb\xb7\xce\x33\xd9\x4e\x08\xe1\x31\x53\xe9\x72\x8d\x6a\x2f\xe4\xc4\x29\xfd\x4d\xa6\xfd\x32\xdf\xc5\xdc\xa7\xff\x80\xbc\xc4\x91\xdb\xab\xaf\xf7\xfd\x52\x8f\xba\xbd\xbb\x81\xac\xac\xac\x39\xad\xa5\xdc\x64\xde\x6c\xc3\x5e\x75\x7a\x61\xdd\xa7\x27\x3a\x41\x8c\x2b\x34\xb8\x4c\x15\x2a\xf8\x84\x86\x30\x18\xca\xd3\x58\x2a\x3e\xff\x7e\xf5\xf9\x66\xb5\xea\xee\x04\x36\xbf\xef\xee\x04\x2c\xfd\xd7\x07\x12\x0b\xaa\x96\xbf\x0b\x1e\x47\xa6\x23\x30\x39\x5d\x9b\xbd\xdf\x8a\xab\xe0\xb1\x82\x9b\x64\xba\xc1\xab\x18\x79\x41\x4f\x5a\x50\xa1\x62\x1c\x66\xbb\x69\xef\x43\xa9\x8b\xfb\x11\x26\x50\x19\x29\xc6\x46\x02\x26\xf4\x31\x99\x78\x5b\x1a\x46\xc6\xfa\x0c\xd4\x29\x0d\x84\x5b\x48\x97\x48\xb8\xfe\x7b\x55\x52\xa3\x8c\xc7\x4c\x67\x83\x2a\xc7\xa7\x2a\x77\x9b\x94\xe9\x44\x53\xba\xcd\x32\xda\xa4\xb1\xf3\xad\xf3\xd4\xdb\xb0\x78\x8b\x85\x3f\x42\x0e\x0d\x4c\xb6\x4c\x4e\x87\x67\x86\x46\x0c\x5d\x64\x73\x0b\x1f\x69\xcb\xbb\x98\x61\x5f\xe2\x4d\xd3\xa7\xe2\xef\xbb\x16\xa1\x9e\xbb\x77\xd5\xbf\xca\xa1\x0e\x2c\xd8\x57\x2c\x3f\x3b\x0a\xd6\x61\xdb\xc2\xf5\x65\x66\xd1\x6f\x71\x98\x39\x77\x92\xb6\x06\x17\x58\xfe\x49\x59\xc0\x1f\xe4\x6a\xb5\xdd\x3b\x71\x18\xf2\x87\xbf\x45\x10\x39\x7d\xd4\xc9\x1d\x09\x01\xa9\x47\x9c\x13\xcd\xc1\x9c\x9d\x24\x36\x49\x04\x8d\x72\x7d\x24\x64\xe8\xdb\xd9\x08\x29\x81\x27\x13\x4a\x90\xe2\x28\xcd\xe7\xf6\xc9\x8a\xb2\x44\x69\x27\xa6\xe3\xff\xb2\x99\x7e\xc4\x85\xfa\x86\xd9\x34\x11\xef\xc3\x87\xff\xfb\xff\x03\xfd\x3f\xdb\x1c\x2a\x80\xe4\xdb\x1b\xb2\x31\x8f\x59\x60\x21\x8b\x04\xe5\x5a\xcf\xce\x31\x7a\xff\xeb\xa1\x6d\x9c\x2b\x4e\x78\xa8\xb9\xdc\x90\x9a\x1e\xb5\xa5\x78\x2c\x08\xb4\x92\x23\x25\xad\x88\xf0\x8b\xd3\x1c\x0a\x6b\xff\xcd\xbe\x68\x6b\x6f\x29\x67\x1d\xb3\x8f\x69\xee\x56\xd6\xf6\xfd\x0b\x9b\xb5\x3b\x1a\xbb\xad\xad\x0f\x0f\x0f\x0e\x0f\x2d\xe4\x56\x33\x6f\xb4\xf2\x7b\xcb\xb0\x61\xe4\xf6\x36\x7e\xb6\x89\x8b\x0f\x1b\x6d\x7a\x1f\x8f\xe1\x6f\x15\xca\x1f\x61\x58\xbd\xd6\x01\x8e\xa8\x04\xb1\x00\x81\xde\xa9\x50\xf6\x7e\xa0\xa5\x8f\x8e\x3e\x1c\x1c\x1d\x7d\xd8\x8b\xad\x7f\x7d\x45\xb6\xde\xa9\xb2\x59\xe1\xe0\xee\x8d\xca\x8b\xd4\x35\x13\x42\x96\xc8\x9b\x05\x2b\x21\xd2\xfd\x8a\xf3\xb3\xf4\x5d\x5f\xc7\xad\xc1\xc2\x18\x93\x7b\x60\x41\xee\xb3\x9c\x87\x3b\xa0\xd7\x7c\xd5\x4f\x29\x33\xcd\x25\xdf\x80\xdd\x8b\x4b\x90\x79\x22\x38\x53\xc0\x82\xe1\xe8\x94\xb3\x09\x9d\xc6\x22\x91\xf4\x19\xbb\xc8\x39\xed\x84\xa6\x0d\x83\x6e\x04\xad\x02\xd2\x30\x1e\x06\xad\x5c\xc3\xed\x77\x75\x8c\xba\xe6\xcc\x4f\x76\x9d\x86\x1c\x07\x9f\x70\x88\x19\xa1\x6c\x5a\xc0\xc0\x6d\xca\xfc\xfa\x49\xd3\x5e\xdc\xdc\x8c\xfc\x6e\x4a\x6b\xb0\x61\x5b\xc4\x6f\x1a\xae\x65\x6b\x51\x77\xdd\x8d\x0b\x66\x41\x6c\x5b\xf7\xcc\xed\xf5\x91\xeb\x59\x62\xc1\x1a\xce\x16\x47\x6f\xb3\xdf\x72\xf9\x50\xb6\xf2\x91\xab\x51\x97\x05\xe7\x18\x1d\x1d\x7d\x68\x92\x79\x03\x05\x30\xbd\xd7\xf3\x90\x63\x45\xd9\x74\x38\x72\x8e\xd1\x04\x87\x12\x6a\x84\x34\x08\xe1\x86\xce\x81\xc7\x6a\xc8\x2e\x29\x8b\x55\x62\xdc\xdf\x6a\x84\xda\x9b\xce\xa8\x54\x82\x8e\xe3\x3c\x39\x65\xd9\xd3\x56\x42\xf9\x78\x73\xab\xb7\xc5\x0e\xae\x97\xb0\x90\x9e\x22\x51\xe2\x8a\x23\xfd\x71\xd7\x46\xb0\x14\x14\x29\xdb\x76\x69\xa5\xb2\x76\xc7\x04\xb2\xcd\xca\x51\xb3\xed\x28\x53\x20\x16\x38\x1c\x32\x1f\x08\x67\x41\x02\xbf\x7e\xb3\xb4\xee\xf1\x7c\x0c\xe2\x7a\x32\xca\x45\x72\x0e\xf7\x0d\x1e\x8a\x14\x02\xe2\x45\xab\x6c\xda\x9b\x6e\x3d\x4e\x43\xe6\xb9\x4c\x71\x04\xf1\xf4\x04\xa1\x84\x26\xba\x05\x03\x55\x10\xae\x5b\xfa\x17\xa8\xba\x43\x6d\x3d\x86\xc3\xff\xe5\xea\x5b\xe8\xe0\x79\x55\x58\xd0\x05\x56\x50\x2e\xc3\x9b\x17\x8b\xac\x47\x5c\x05\x9b\x30\xb7\xe5\x25\xa8\x19\x4f\x12\x91\xaf\xb0\xa2\xc4\x02\xcd\x93\x23\xb3\xb6\xb5\x4b\xbb\x97\x9f\xcc\xd8\xfd\xb4\xaa\x43\xe5\x6e\xb2\xc4\x5a\x15\xbb\x96\xf0\x3d\x15\xd3\x92\x49\x7e\x4c\x51\x35\x0b\xe2\x73\x2a\xe2\x5e\x60\x4c\x3d\x02\x5a\xc2\x99\x16\xd5\xbf\x75\xc9\x36\x8b\xd0\xeb\x2c\x95\xcf\x29\x77\xcd\x65\xd5\xa2\xb7\x5d\xd4\xf1\x3a\x6a\xe5\x9e\x4a\x93\xb5\xcf\x68\x51\x9f\x02\x26\x7d\x50\x3a\x6c\x4c\x03\x3a\x01\x9f\x63\xca\x34\xa7\xaf\x78\x0c\xa1\x7d\xdd\xf3\xff\x04\x2c\x3d\x07\xa9\x84\x40\xf9\xca\x64\xdd\x26\x59\x52\xf4\xd9\x92\xe1\x39\x25\x6d\x6e\xee\x1a\xbb\xae\xfd\xda\x83\xf0\x68\x59\x55\x51\x72\x43\x68\x97\xfe\x54\x0f\x55\x0b\xd3\xda\x46\x79\xd2\xfb\xca\x79\x74\xc5\x03\xa8\xcb\xd8\x74\x18\xd1\x00\x9c\xf7\x76\x9a\xd0\x8c\xcf\x53\xb7\xd1\x49\xdd\xed\x23\xd7\xf7\x2f\x0e\x6c\x89\xfc\xfb\xa5\xa6\xcb\xad\xde\x47\x5a\x65\x43\x16\xc0\xe3\xbb\x5e\x07\x48\x94\x65\xc1\xc3\xc3\x92\xee\xb6\x27\xf2\x96\x29\xbc\x7b\x0f\xba\xb2\xac\x91\x6d\xb1\x7a\xdf\x26\x67\x57\x58\xe9\x11\xe9\xf6\x6e\x4b\xa2\xdf\x55\xbc\xa0\x21\x21\x75\x4e\x36\x1e\x4d\x8f\x32\xaf\xb0\x4a\xc1\xc2\xeb\x74\x76\x46\x49\x5b\x3f\x7f\x76\x3b\xd0\x6f\xdd\x0f\xf4\x8d\x86\x00\xb5\x69\x4e\x0d\x85\x7b\x69\x14\x6c\x0b\x02\x7b\x0c\x58\xa3\xb9\xde\x45\xbc\x70\x5c\x9b\xf1\xea\x32\x4a\x74\x60\x77\x8c\x5b\x1a\xed\xd2\x41\xd0\x88\x24\xb3\xde\x77\x43\x0e\xe5\x20\xf8\xb4\xb5\x87\xb2\xed\x20\xdf\xf5\xbf\x72\x36\x64\x81\x7f\xf6\xfd\xfd\xdb\x78\xdb\x6c\x60\x2a\x30\xd1\x62\x8b\xa1\x91\x8e\xf6\x6c\x87\xfd\x84\xdf\x0e\x32\x5a\xfb\xd1\xa6\xcd\x9e\x53\x21\x95\x26\xb4\xd5\x40\xca\x36\xcd\xb8\x26\x0a\xd4\x91\xdb\xeb\xf5\x7e\x8e\x76\x36\xad\xd8\xc3\xd1\x39\x17\x0f\x58\x04\x94\x4d\x9d\x63\xa4\x44\x0c\x5d\xf2\x7c\xbf\xcd\x53\x95\x56\x8f\x54\x56\x46\xc6\xef\x70\x8b\x96\x04\xda\x04\x93\x57\x5b\x63\x17\xf3\xee\x50\x72\xeb\x53\xb2\x42\x6a\x6b\x0e\xe9\x56\x3a\xec\x2b\x36\xbd\xa8\xf4\x2c\x61\x5d\x7b\xc3\xb9\xad\x98\xda\x1f\x20\xd6\x0a\xaa\xc2\xba\xbf\xc9\x3e\x95\x4d\x21\x20\x89\x32\x3f\xb9\xe6\x71\x50\x29\xea\x5d\x4c\x24\xb0\x29\x65\xb0\x03\x08\xae\x19\xe8\x65\x2b\x7a\xc7\x4a\x6e\x58\xa2\x21\xd0\xec\x97\x5f\x4d\xd6\x6c\x69\x4c\x2b\xde\x9e\x61\x11\x3c\x60\x01\x59\x9a\x30\xf7\x93\x3e\x09\xb5\x07\xcc\xfa\x41\xa8\x9d\x73\xe6\xe5\x0d\x8c\xeb\x91\x6f\x96\xb3\xfa\x89\x46\x9b\x8b\xc1\x1a\x5f\xb7\xdf\xd2\x92\xb6\xf8\x32\x93\x74\x39\x29\xdb\x1f\x29\x72\xd9\x20\x30\x0e\xe6\x94\xfd\x21\x35\xa0\xa8\x1f\x24\xc4\xd9\xf7\xe6\x41\xab\x43\x52\x93\x8b\x3d\xb9\x65\xa2\xd7\xa7\xdf\x41\x7d\x89\xc7\x20\x18\x28\x90\x69\x95\x48\x6b\xc3\x19\x56\xb8\xf2\x7c\xcd\x09\x29\x8b\x1f\x37\x1f\xd8\x39\x01\x95\x7a\x2b\x23\x2c\xe5\x03\x17\xc1\x49\xac\x66\xc0\x14\x2d\x82\x4e\xd7\x24\x13\x82\x4a\x39\x6b\xbe\x21\xfe\x02\xcb\x0e\xf0\xe6\x1e\x96\x7a\xe3\x96\x6e\x71\x94\x73\xd3\xe3\xb6\x43\xec\x74\x4d\xac\x66\x96\xc9\x5f\x60\x39\xc2\x6a\x66\x29\xd4\x16\x50\xd3\xa2\x74\x6b\xcd\xeb\xb2\xfc\x55\xab\x34\xaf\xca\x17\x58\xfa\x40\x04\xa8\xea\xb3\xc1\x8a\x0f\xc8\x94\xa0\x96\xbe\x4a\x7c\x32\x1e\xc6\x5e\xcd\x0e\xac\xf2\x98\x36\x4d\xde\x0d\xce\x4a\xe7\x78\x0a\xdf\x60\x02\x02\x58\xed\x89\xaf\xf6\xf2\xc9\x04\x84\xb9\x21\x2e\x87\x7a\xda\xb5\x1e\xb3\x5d\x4a\x68\x63\xc8\x59\xe3\xbc\x51\x3e\x6e\x99\x2b\xef\xe3\x86\x59\xfe\x7d\x6c\xa1\x5f\xd8\xd1\x42\x36\x27\x43\x0c\xe6\x1d\x4e\x45\xe9\x5c\x9e\x51\x79\x5f\x97\x9c\x60\x32\x4b\x91\x96\xf3\x0d\x70\xf0\xa7\xa0\xaa\xe6\xdb\x49\x65\x83\xeb\xf5\xeb\xad\x73\xc1\xe7\xc9\xc2\x26\xe1\x73\xa2\xba\xef\x1e\x70\x19\x50\x79\x6f\x13\x7f\x16\xd8\x82\x2b\x16\xb4\xbc\x9a\xc8\xed\xfb\xae\x0e\x1c\x1a\xde\xea\xdb\x70\x83\x0d\x06\xf4\xfa\x9b\x7f\x8e\xd1\x1b\x44\x82\xce\xb1\x58\x7e\x66\x41\xc4\x29\x53\x72\x30\x0e\xf9\xb8\xef\x2e\x66\x81\x75\x91\xe6\x9e\x63\xad\x87\xc1\x62\x16\xd4\x82\xd5\x1e\x8a\x6d\x20\x6a\x5e\x6c\xb3\x27\xcc\x97\x89\xdd\x7f\x72\x80\xda\x20\x73\x2b\x78\x6a\x05\x61\x3b\x1e\xab\xb4\xb6\x86\x07\x8f\x0a\x98\x4c\x8e\x44\xf6\x02\xe1\xfa\xae\x47\x24\x74\x3f\xa0\xa9\x24\xb7\x62\xdb\xd7\xfe\xcd\xe9\xe7\xfa\x16\x4b\x22\xa6\x85\xd7\x4f\x1e\x7b\x9e\x73\x91\x14\x07\x93\xee\x02\xb3\x20\x04\x51\xf2\xb0\xf7\x83\xf2\x4d\x8e\x83\x63\xc5\xff\x88\xa6\x02\x07\x70\x49\x19\x2f\x51\xea\xd2\x5b\xce\xfa\xa5\xfb\x86\x95\x71\x64\x0a\x44\x41\xd0\x74\x21\x41\xf8\x7c\x8e\x59\x70\xc3\x3f\x3f\x02\x89\x55\x45\xbf\xae\x17\x4b\xe1\x8d\x29\xf3\x18\x9f\xc5\x11\x4a\xfe\x1c\x63\x39\x43\x07\x04\xfd\xe5\x14\x1f\x3d\x1e\x29\x0f\xff\x13\x0b\xf0\x08\x67\x0a\x53\x06\x42\x7a\x91\xe0\x0b\xaa\xb7\x3b\x90\x33\x54\x09\x7d\x05\x0c\x33\x95\x1e\x4e\x54\x47\x64\x3c\x5e\xbf\x8f\x1d\x06\xf5\xf1\x1c\x23\x26\xcd\x6c\x7d\xb8\x70\x3a\x0b\xe3\xf5\x4f\x45\xcc\xb1\xf5\xcf\x04\xcc\x01\xdb\xaf\x68\x6a\x3b\x32\xde\x62\x9a\xe3\x59\x3e\xcc\x70\x7b\x06\xdb\xed\xa4\x12\xc4\x82\x12\x18\x09\xca\x08\x8d\x70\x78\x1a\x52\x60\xca\xa6\x06\x3b\x65\x0a\x16\xea\xd4\x24\x19\x1d\xa5\xe7\x20\x5f\x60\x59\xa7\x50\x58\x4c\x41\x7d\x66\x0b\x2a\x38\x9b\x03\xb3\x30\xc9\x51\x3f\x0f\x29\xb1\x70\xc0\x11\xf5\x93\xd7\xcb\x9b\x96\x21\xf8\x54\xc7\xd8\x44\x43\x48\x8b\xfc\xf5\xdb\x2f\x93\xe2\x3e\x1e\x43\x0a\x5a\x37\x32\x2a\xc8\x36\xed\xa6\xc0\xe6\x7d\x17\x7d\xfc\x88\xbc\x05\x16\x5e\xc8\xa7\xb9\x27\x87\xb1\xde\xce\x41\xe1\xc6\x21\x9f\xa2\xc3\x8f\x6f\xdf\xa3\xb7\x7f\x39\xe8\xad\x71\x46\x52\xfe\x77\xf5\xe6\xbf\x01\x00\x00\xff\xff\x69\x39\x43\x83\xc4\x39\x00\x00") func kubernetesmasterresourcesTBytes() ([]byte, error) { return bindataRead( @@ -923,7 +923,7 @@ func kubernetesmasterresourcesT() (*asset, error) { return a, nil } -var _kubernetesmastervarsT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xe4\x5a\xeb\x6f\xdb\x38\x12\xff\xde\xbf\x82\x30\xb2\x50\x7c\xb0\x1d\xd9\xce\x26\xdd\x2c\xf6\x43\x6a\xa7\x8d\x91\xc7\xfa\xa2\x26\x87\x43\x6b\x1c\x68\x69\x6c\xf3\x22\x93\x2a\x49\x39\x71\x0c\xff\xef\x07\xea\x49\xbd\xfc\xda\x6e\xbe\x5c\x0b\x0c\x92\xf0\x37\xbf\x19\x8e\x86\xc3\x11\x45\x84\x10\xaa\xcd\xf1\xeb\xd3\x9d\x18\x02\x1f\x32\xe6\xd6\x2e\x50\xdb\x34\x1b\x1f\xb2\x23\x96\x64\x1c\x4f\xe1\xd2\xb6\x99\x4f\x65\xed\x02\x75\x34\x48\x76\x50\xc1\x2f\xa7\x10\xa0\x6a\xdf\x1c\xb2\x38\x5e\x60\x4e\xf0\xd8\x05\x71\x6c\x64\x4c\x19\xf5\x46\xd9\x50\x96\xce\xa8\xd7\x47\xb5\xc8\x16\xf6\x88\x05\x7c\x01\xbc\x07\x5c\x92\x09\xb1\xb1\x84\xc0\x8a\x87\x39\x9e\x83\x04\x2e\x8e\x8d\x32\x90\x51\xc2\x31\xe4\x64\x81\x25\xdc\xc0\xb2\x9a\x22\xc5\x68\x0c\x36\xde\x64\x3e\x33\xaa\x6b\xb9\x04\xa8\xdc\xa8\x99\x47\x14\xb4\x37\xb8\x9c\x07\x68\xba\xcf\xfe\x18\x7a\x8c\x4e\xc8\x74\x93\xf5\x52\x54\x29\xcb\x06\x2f\xca\x40\x39\x0e\x4e\x41\x82\xb8\x5e\x7a\xc0\xd5\xaf\x96\x07\x76\x29\x4d\x09\xae\x94\xe9\xd2\x71\x18\xbd\xc3\x14\x4f\x81\x6f\x21\xcb\x43\xab\xf9\x1e\x40\x90\xb7\xdd\xf8\x34\x68\x29\x5f\x1f\x8b\xd9\x98\x61\xee\x6c\x21\xcb\xe0\x4a\x99\xae\x5e\xc1\xbe\x06\xec\xca\xd9\xdb\x16\xae\x1c\xb2\xfc\x09\x00\xf6\x84\xdc\x3a\x47\x1d\x56\xca\x33\x64\xce\x80\x4e\x38\xee\x31\x2a\x31\xa1\x5b\x09\x4b\xf1\xa5\xcc\x37\xfe\x18\xfa\xf7\xd6\x16\x3e\x0d\x55\x1e\xff\x7b\xeb\x0e\x8b\x1f\xdb\xa2\x9f\xa2\x34\x16\x0a\xf2\x85\xf1\xe7\x21\x73\x89\x5d\x4c\xf6\xcc\xa8\xa6\x25\x80\x2f\x88\x0d\x43\x4e\xa8\x4d\x3c\xec\xf6\x82\xa5\x39\x70\x0a\x04\x55\xc0\xad\x5c\x16\xd8\x1c\xe4\x8e\x7c\x21\x58\xe3\xf4\x05\x70\x8a\xe7\xc5\x12\xe0\x12\xea\xbf\x5e\x3a\x73\x42\x1f\x23\x88\xa6\x35\xc7\x2a\x0d\x3e\xff\x70\xe8\x90\xc3\x84\xbc\x06\xda\x92\xdd\xb2\x17\xe0\xc7\x3a\x4b\x08\xbc\xa2\x8e\xc7\x08\x95\xfd\x7b\xeb\x1e\xcf\x21\xd4\xd1\x6b\x79\x08\x8b\xca\xc4\xc0\x2b\x38\x33\x21\x5c\xc8\x1e\xa3\x02\x6c\x5f\x92\x05\x58\x12\x4b\x62\x0f\x86\x05\x97\x9e\xee\x2c\xf2\x56\x9c\x8c\x3e\xa8\x07\x54\xcc\x86\xfe\xd8\x25\xf6\x0d\x2c\xfb\x58\xe2\x62\x10\xc5\xec\xc1\xba\x4c\x30\xa1\xea\x6a\x45\x26\x08\x7d\x01\xd9\x73\xb1\x10\xc4\xbe\x63\x0e\xac\xd7\xba\x17\xbd\x68\x5f\x2c\x73\xa2\x17\xee\x63\x21\x11\xb8\xa2\x42\x75\xb5\x6a\xdd\x45\x41\x61\x13\xe2\x42\x2b\x18\x58\xaf\x1b\x48\xa9\x51\x67\xbd\x56\x4a\xc9\x2e\xf6\x04\x5c\x10\x46\xfb\x30\xc1\xbe\x1b\x98\xee\x98\xed\xb3\xa6\xd9\x6d\x76\x4d\x6d\xb3\x8b\x60\xd1\xa6\x1a\xc1\x7e\x6d\x9a\x67\xcd\xf6\xaf\xf1\xcc\x5a\xd7\x58\x84\x75\xd1\xe9\x13\xf1\x2c\x62\xff\x0a\xea\x3a\x28\xb5\x78\xda\xec\x9a\x4d\x8f\xc3\x82\xc0\x4b\x38\x47\xe5\x6c\x48\xe1\x32\x1b\x4b\xc2\x68\x10\x1a\x0e\x82\xf9\xdc\x86\x2f\x9c\xf9\xde\x71\xbd\x15\x0f\x8e\x6a\x0d\xa4\x47\xe4\x72\x81\x89\x8b\xc7\xc4\x25\x72\x69\x45\x89\x6e\x33\x6a\x63\x19\x87\xb4\x89\x35\x88\x00\xd9\x34\x1a\x48\xeb\x25\x54\xee\x5a\xfe\x24\x97\x72\x22\xd3\x58\x7c\xc2\x02\xee\xe3\x65\xe0\x53\xf2\xc3\x07\x4b\x72\x42\xa7\xc7\x91\xa9\x4c\x6f\x92\x4d\x7e\xa3\xde\xa8\x9a\x4b\xc6\x0f\xc6\xed\x19\x08\xc9\xb1\x64\xfc\x3e\x58\x4f\x85\x15\x90\xed\x76\x12\x87\x8a\x3e\x94\x7b\x6f\xd4\x1b\xc8\x98\x0b\xc9\x4d\xbd\x6e\x25\xd3\x2f\x16\x2d\x2d\x32\x69\xd8\xf3\x7e\x2a\xb5\xe7\x8f\xa2\xd6\x88\xf3\x8d\x89\xc1\x1c\x4f\xe1\xcf\xc9\x04\xb8\x1a\x7c\x1c\xfb\x54\xfa\x61\x93\x94\xb2\x84\xa0\x60\xed\x88\x59\x08\xec\x61\xca\x28\xb1\xb1\x9b\x47\x59\x37\x8f\x6a\xbc\x7d\xd6\x32\x4f\x5b\x66\xf3\xf6\xab\x95\x47\x44\xa9\x97\xa2\x54\xb6\x99\x67\x9d\xf3\x24\xbd\x33\xcf\xa0\x34\xc3\xd4\x74\xd3\x69\x72\xe6\x4b\xf8\xaa\xe2\xb9\x21\xce\x71\xe1\xd0\xcb\x56\xc3\x08\x54\xa5\x82\x68\x71\x4e\xf9\x06\xfd\x8c\xf9\x81\x73\x6c\xdc\x11\x9b\x33\xc1\x26\xb2\x75\x1f\x6e\x14\x27\x29\x5c\x64\xd3\x35\xeb\x57\x26\x65\xc5\xec\x1e\xcb\x21\xe3\x52\xad\xb7\x6f\x9d\x4e\xa3\xd3\x31\xdb\x4a\x04\x3f\x75\x95\x38\x1d\xa5\xe0\x1b\x58\x0e\xb1\x9c\x65\x56\xcc\xc9\x8c\xcd\xe1\xc4\xd0\x7b\x6d\x3f\xa9\xef\x0d\xe3\xa4\x25\xc4\xec\x04\xfb\x72\xc6\x38\x79\x03\xe7\x3f\xcf\xb0\x14\x7a\x72\xbc\xcb\xb2\xa9\x57\x1a\x0c\x55\x21\x98\x3f\xaa\x99\xb5\x06\xaa\x9d\x29\x61\x2b\x41\x94\x60\x4a\xf8\x4a\xb4\x95\x38\x57\xc2\x51\xe2\xbf\x4a\x78\x4a\x2c\x94\xe8\x28\xf1\x51\x09\x50\xe2\x59\x89\x1f\x4a\xbc\x28\xd1\x55\xe2\x37\x25\x26\x4a\xa8\x84\xad\xa9\xdc\xae\xbd\x2a\x71\xaa\x04\x56\x62\xaa\xc4\x5c\x09\xb5\x3e\x6a\x4b\x25\x7e\x55\x62\xac\xc4\x4c\x09\xaa\x84\x54\xe2\xad\x86\x46\x9b\xa7\x95\x6e\x1c\x2e\xd0\xa9\x9c\x55\x2f\xf9\x58\x43\xcf\x8f\xc5\x7c\xf3\xdb\x99\xc7\xd9\x82\x04\x05\xdc\xe6\xc4\x0b\xec\xac\x56\x5f\x40\xde\x24\x9d\xcf\xa7\xb3\xd3\x61\x0c\x5a\xaf\xe3\x1d\xe1\x92\x2e\x83\x77\xb8\x6b\x2c\x32\x3b\x82\x83\x25\xb6\x4a\xbc\xb2\x00\x54\x7f\xf3\xdb\x79\x5a\xfe\xc3\x9d\x25\xbb\xa3\x0d\x44\xcf\x17\x92\xcd\x9f\xee\xaf\xbe\xc6\x94\x0b\x0a\xd2\xf2\xc7\x14\x64\xb4\x88\x4a\x76\x71\x0d\xa2\xef\xe5\xc1\x9f\x54\x32\x3e\x44\x59\x65\xc1\x74\xae\x5a\x28\xea\xc0\x6b\xf0\x22\x5b\x40\x06\x16\x84\xe7\x12\x59\xd2\xb4\x64\xed\x34\x90\x71\x62\xd4\xbf\xe9\xcf\x63\xa3\x41\xa3\x3e\x4a\x9f\xcb\x66\xc7\x3e\xc6\x30\xc2\xa5\x8f\xdd\xa8\x40\xfc\x65\xff\x36\x59\x8d\xbc\xcb\x36\x20\xe1\x84\x2a\xa2\x1e\x5a\x2a\x8d\x77\x45\xe9\x2c\x6e\x77\x0d\x64\x34\x45\x9e\x67\x91\x3e\xeb\xcd\x05\x33\x1b\x1e\x91\x29\x61\xc5\xd0\x65\xd6\x45\x3e\xa9\x8a\xce\x2e\xe2\x30\x1a\x27\xa1\x87\x22\x5b\x23\xd3\xd9\x66\x88\xcb\x9f\xd8\xae\xb1\x50\x46\x77\xea\x55\x14\xb0\x47\x9c\x60\x0f\x6d\x9b\xad\xe0\xff\xc9\xc7\x7c\x77\xa5\x5e\x60\xfa\x54\x58\x61\xe3\x1f\x76\xd1\x11\xba\x6d\x26\xf5\x34\x78\x7f\x0e\x21\x05\xca\xf6\x59\xbc\xe4\xaf\xb1\xb8\x0d\x5e\x00\xd4\xba\x4f\x16\x3c\x87\x29\x09\x92\xc1\x9e\x81\xe3\xbb\xca\x67\xa5\x3f\xc1\xae\x80\x42\x3a\x55\x80\x25\xf7\x21\xef\x39\x15\xd3\x7d\xf7\x60\x64\x50\x31\xd5\xbb\x1c\x31\xdd\x29\x8b\xa2\xf7\x34\x0b\x6c\x9f\x13\xb9\x0c\x76\x9e\x6c\x2e\x45\xce\xe8\xf1\xf7\x38\x99\x63\xbe\x8c\x3a\xd1\xa8\x11\xcd\x7b\x6c\xac\x56\xe8\x98\xa8\xd5\x85\x5a\x41\xd8\x86\x8c\xb9\x51\xad\x13\xc8\xac\xb7\x94\x02\x5a\xaf\x33\xdd\xaa\x15\x64\xc0\xd6\x04\x88\xde\x8f\x82\xf7\x90\xc1\xf0\xd2\x71\x38\x08\xb1\x77\xbe\x45\xdd\x32\xf1\x72\x49\x57\xb2\x33\x23\x63\xa7\xc4\x0c\x35\x6f\xc7\x3b\x85\xde\x65\xd8\xf9\x84\x5d\x4c\x6d\xe0\xd9\x90\xc7\x34\x69\xdc\x51\x8e\x7f\x18\x1e\x24\x55\xae\xdf\xd4\x91\x60\x0d\x4f\x38\xa3\x12\xa8\x13\xeb\xf9\x3c\xe8\x2b\xd4\xa2\x2e\x4e\x3c\xa5\xdf\x6a\xff\xd0\x90\xbb\xe3\xcf\xca\xa3\x2b\xea\xec\x15\xd6\xc3\xcd\xed\x61\x66\x40\xa5\xea\xff\xdc\xc3\xcd\x91\x88\xe1\x50\xbb\x3f\x25\x7b\xb2\xd3\xd8\x68\xee\x2f\x3e\x4c\x6d\xba\x07\x3c\xd5\xa2\x1f\x5b\x92\x5a\x8f\xd3\xfe\xc9\x5d\x3e\xed\xcd\x6e\xfd\x39\x99\x08\x08\x0f\x21\xbe\x80\x8c\xce\x14\x52\x40\x7c\xf8\x12\xc2\xd6\xeb\x2a\x1e\x6f\xe3\xb4\x3e\x13\x2e\xa4\xaa\x64\x69\xcd\xc1\x8e\xb3\x71\xfa\x91\x45\x05\x25\x74\x13\xe5\x9f\xb6\x04\x79\xaa\xde\xaf\x8b\x6b\xea\x13\xb6\x9f\x81\x3a\xaa\x38\x1f\x9a\x00\x1e\x63\xee\x1e\x4f\x3c\x71\xab\xc7\xe6\xf3\xe8\x53\x88\x9c\x81\x00\x74\x57\x3a\x8e\x30\x07\xe4\x0b\x70\x90\x64\xc8\x73\xb1\x0d\x68\xee\xbb\x92\x78\x2e\xa0\x90\x51\x20\x3b\x3d\x0b\x73\x97\x88\x50\x24\x67\xa0\xe2\xa7\xf6\x05\x24\x3c\x6c\x43\x85\x0f\x41\x68\x44\x45\x63\x59\x7d\xcc\xd6\x30\x5a\xc5\xe3\xbf\x6c\xb8\x03\xce\x2d\xcf\x44\x18\xf5\x6f\xdd\x51\x15\x8f\x76\x96\xb8\x35\x6b\x12\x3a\x73\xa4\x7c\x2b\xd6\x83\x22\xb2\xbd\x33\xb2\x33\x2a\x9b\xaf\xde\x81\x1c\x92\x36\xd5\x19\x13\x6c\xb7\xe5\xe6\x82\x37\xdd\xe0\xcf\x68\x9f\xe6\x48\x3b\x00\xda\x4b\xaf\x7d\xa0\x5e\xe7\x40\xbd\xee\x81\x7a\xa7\x4a\x2f\x50\x1b\x95\x1f\x21\xab\xe7\xb9\x5b\xec\x2a\x0a\x91\x79\x40\x91\x39\xc0\x4c\xfb\x7d\xcc\x74\xde\xc7\x4c\xf7\x7d\xcc\x9c\xee\x65\xa6\x24\x4d\xae\xa4\xed\x44\x1f\x75\x19\x0f\xce\x48\xba\x1f\xcd\x02\x22\xfc\x64\x92\x20\xce\x7f\x2b\x20\x86\x00\xfc\xf1\xe1\x56\xd4\x2e\x0a\x79\x66\xcc\xa4\xf4\x2e\x4e\x4a\x37\xe5\x6c\x96\x86\x45\x0c\x19\x17\x65\xd0\xac\xa7\x46\x69\xd8\xf6\x32\xd5\x7e\x3f\x53\x9d\xf7\x33\xd5\x7d\x3f\x53\xa7\xfb\x98\xaa\xc8\xbd\x30\xb3\xfe\xfe\xcc\x49\x33\xf8\x6f\xcf\x9c\x9f\x6a\x6a\x73\xe6\xfc\x54\x53\x9b\x33\xe7\xa7\x9a\xda\x9c\x39\x39\x53\x28\xfe\xbc\x57\x96\x3d\x7e\xf8\xb1\x08\xcb\xbd\xfa\x83\x24\x5f\xfe\xa8\xf2\x21\xae\x67\x01\x70\x8f\x9d\x79\x4f\xe6\x06\x32\x1a\x65\xc0\x94\xac\xbd\x2b\x59\x7b\x07\xb2\xce\xae\x64\x9d\xff\xcb\x39\x6f\x27\xeb\xee\x4a\xd6\xdd\x81\xec\x74\x57\xb2\xd3\x51\xbe\x80\x0a\x7f\x2c\x82\x4f\x17\x84\xd1\xe8\x0a\x85\xfe\xa7\xe3\x7a\x2b\x8b\x48\x3a\x6a\x09\x14\x27\xb7\x2e\x72\x2a\xf1\x58\x0a\xc6\x7c\x0a\xf2\x8a\x2e\x08\x67\x34\x7e\x61\xcb\x1c\x89\x17\x10\x5a\xf3\xee\x30\xfb\x19\xf8\x15\x9d\x12\x0a\x7d\xf6\x42\x5d\x86\x9d\x07\xf0\x58\x81\xa4\x0a\x58\xc1\xa5\x7f\x00\x6d\xb5\x3b\xad\x7f\xd4\xa2\x8f\x2a\xc1\x39\x6d\xfc\x4d\xe5\x1a\x8b\xf0\x8a\x47\x7c\x66\xdb\x40\x35\x57\x03\x44\x83\x35\x74\x11\x65\x79\x5c\x3b\xd4\xbf\xd5\x8a\x63\x3a\x05\x84\x8e\x16\xc1\x57\x82\x06\x3a\x5a\xa8\x57\x7f\x74\xf1\x47\xce\x4c\xd6\x46\xaa\x4f\x26\xb1\xee\x7a\x8d\x1a\x48\x3f\xe4\xd5\x60\xb9\xdf\xd5\x83\x0d\x0e\x7e\x9e\xc2\xbb\x0b\xc5\x71\x84\x6a\xc4\xa9\x5d\x94\x5c\x50\xb9\x81\x65\xa0\x35\xe8\xaf\x56\x89\xe5\xe4\xdd\x40\xff\xb7\x6e\x14\xcd\x06\xb3\xd3\x6e\xb8\x69\xbb\x71\x31\x2a\x47\x76\x1c\x14\x1b\x78\x10\x93\x30\x3a\xad\xa7\x3c\x4b\x61\xc6\x69\x70\xec\x6d\xc1\x29\x0f\x50\xe0\xad\x9d\x9a\x78\xe4\x6e\x0d\xed\x1c\x0f\xcd\xb7\xc7\x87\xdb\xd5\x2a\xf1\xa2\x34\x50\x08\x15\x7d\xaa\xf2\x75\xf4\xa1\x4a\x33\xab\x31\x42\xb9\x2f\x81\xd7\x58\xfc\x8b\x50\x87\xbd\x24\x79\x5a\x7b\x09\x7f\xcf\x5c\x39\x2a\x2c\x9a\x32\x90\xb6\x60\xf4\xe1\x21\x16\xe2\x85\xf1\xe2\x4d\xab\x32\x90\x7e\x27\x74\x0a\x54\x46\xce\x65\x6e\x2f\x24\x67\x92\xd1\x60\x7c\xe1\xa1\xa8\x96\xdc\x8c\xd8\x8a\xb4\x9e\xfd\xe4\xea\x4c\x1f\x4b\x6c\x03\x95\xc0\x9b\x2f\x44\xce\x9a\xc9\xa5\x38\x51\xa6\xa9\xd5\x03\xa5\xdd\x32\x5b\x1d\xb3\x7d\x6e\xb6\x3b\xe7\xc9\x17\x3a\x42\xa7\x2e\xfc\xd3\x67\xe1\x05\x4f\x23\x17\xa4\xf0\xe3\x6b\xf8\x29\x38\xbd\x1f\x82\x8e\x08\xf5\x7c\xf9\x99\xb8\x80\xfe\x40\xc6\x2f\xd6\xbf\xad\xaf\x57\x77\xfd\x87\xc1\xd3\xd5\x2f\xdf\xbf\x5f\xbe\xf9\x1c\x94\x9f\xdf\xbf\x87\xea\xea\xe7\xd6\x98\x50\x03\xfd\x8e\x8e\x98\x2f\xf7\x54\xb5\x40\xfa\x5e\xe8\x42\xcb\x13\x6d\xc5\xd2\x63\xde\xb2\x39\x90\x30\xd7\x3d\xd1\xa9\x7f\x47\x03\xba\x60\xcf\xd0\xbc\x7a\xf5\x38\x08\x15\x84\x63\x63\x65\xae\xd1\xaa\xbd\x36\x50\x73\xa2\x83\x1b\xe8\x08\xf3\xa9\xaf\x4a\xb4\xa8\xa3\xdf\x51\x2d\x49\xc3\x20\x14\x1f\xd0\x87\xff\x05\x00\x00\xff\xff\x69\x3a\x37\xbd\xf4\x2c\x00\x00") +var _kubernetesmastervarsT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xe4\x5a\xeb\x6f\xdb\x38\x12\xff\xde\xbf\x82\x30\xb2\x90\x7d\x90\x1d\xd9\xce\x26\xdd\x2c\xf6\x43\x6a\xa7\x8d\x91\xc7\xfa\xa2\x26\x87\x43\x1b\x1c\x68\x69\x6c\xf3\x22\x93\x2a\x49\x39\x71\x0c\xff\xef\x07\xea\x49\x3d\xfc\xdc\x6e\xbe\x5c\x0b\x0c\x92\xf0\x37\xbf\x19\x8e\x66\x86\x14\x45\x84\x10\xaa\xcd\xf0\xeb\xe3\xad\x18\x02\x1f\x32\xe6\xd5\xce\x51\xdb\xb2\xcc\x0f\xf9\x11\x5b\x32\x8e\x27\x70\xe1\x38\x2c\xa0\xb2\x76\x8e\x3a\x1a\x24\x3f\xa8\xe0\x17\x13\x08\x51\xb5\x6f\x2e\x99\xd7\xe7\x98\x13\x3c\xf2\x40\xd4\x8d\x9c\x29\xa3\x61\x56\x0d\xe5\xe9\x8c\x46\xe3\xa9\x16\xdb\xc2\x3e\xb1\x81\xcf\x81\xf7\x80\x4b\x32\x26\x0e\x96\x10\x5a\xf1\x31\xc7\x33\x90\xc0\x45\xdd\xa8\x02\x19\x15\x1c\x43\x4e\xe6\x58\xc2\x35\x2c\xd6\x53\x64\x18\x8d\xc1\xc1\x9b\xcc\xe7\x46\x75\x2d\x8f\x00\x95\x1b\x35\x8b\x88\x92\xf6\x06\x97\x8b\x00\x4d\xf7\x39\x18\x41\x8f\xd1\x31\x99\x6c\xb2\x5e\x89\xaa\x64\xd9\xe0\x45\x15\xa8\xc0\xc1\x29\x48\x10\x57\x0b\x1f\xb8\xfa\xd5\xf6\xc1\xa9\xa4\xa9\xc0\x55\x32\x5d\xb8\x2e\xa3\xb7\x98\xe2\x09\xf0\x2d\x64\x45\xe8\x7a\xbe\x7b\x10\xe4\x6d\x37\x3e\x0d\x5a\xc9\xd7\xc7\x62\x3a\x62\x98\xbb\x5b\xc8\x72\xb8\x4a\xa6\xcb\x57\x70\xae\x00\x7b\x72\xfa\xb6\x85\xab\x80\xac\x7e\x02\x80\x7d\x21\xb7\xce\x51\x87\x55\xf2\x0c\x99\x3b\xa0\x63\x8e\x7b\x8c\x4a\x4c\xe8\x56\xc2\x4a\x7c\x25\xf3\x75\x30\x82\xfe\x9d\xbd\x85\x4f\x43\x55\xc7\xff\xce\xbe\xc5\xe2\xc7\xb6\xe8\x67\x28\x8d\x85\x82\x7c\x61\xfc\x79\xc8\x3c\xe2\x94\x93\x3d\x37\xaa\x69\x09\xe0\x73\xe2\xc0\x90\x13\xea\x10\x1f\x7b\xbd\xb0\x34\x07\x6e\x89\x60\x1d\x70\x2b\x97\x0d\x0e\x07\xb9\x23\x5f\x04\xd6\x38\x03\x01\x9c\xe2\x59\xb9\x05\x78\x84\x06\xaf\x17\xee\x8c\xd0\x87\x18\xa2\x69\xcd\xb0\x4a\x83\xcf\x3f\x5c\x3a\xe4\x30\x26\xaf\xa1\xb6\x64\x37\xec\x05\x78\x5d\x67\x89\x80\x97\xd4\xf5\x19\xa1\xb2\x7f\x67\xdf\xe1\x19\x44\x3a\x7a\x2f\x8f\x60\x71\x9b\x18\xf8\x25\x67\xc6\x84\x0b\xd9\x63\x54\x80\x13\x48\x32\x07\x5b\x62\x49\x9c\xc1\xb0\xe4\xd2\xe3\xad\x4d\xde\xca\x93\xd1\x07\xf5\x80\x8a\xe9\x30\x18\x79\xc4\xb9\x86\x45\x1f\x4b\x5c\x0e\xa2\x98\xde\xdb\x17\x29\x26\x52\x5d\x2e\xc9\x18\xa1\x2f\x20\x7b\x1e\x16\x82\x38\xb7\xcc\x85\xd5\x4a\xf7\xa2\x17\xaf\x8b\x55\x4e\xf4\xa2\x75\x2c\x22\x02\x4f\xac\x51\x5d\x2e\x5b\xb7\x71\x50\xd8\x98\x78\xd0\x0a\x07\x56\x2b\x13\x29\x35\xea\xae\x56\x4a\x29\x5d\xc5\x1e\x81\x0b\xc2\x68\x1f\xc6\x38\xf0\x42\xd3\x1d\xab\x7d\xda\xb4\xba\xcd\xae\xa5\x2d\x76\x31\x2c\x5e\x54\x63\xd8\xaf\x4d\xeb\xb4\xd9\xfe\x35\x99\x59\xeb\x0a\x8b\xa8\x2f\xba\x7d\x22\x9e\x45\xe2\x5f\x49\x5d\x07\x65\x16\x4f\x9a\x5d\xab\xe9\x73\x98\x13\x78\x89\xe6\xa8\x9c\x8d\x28\x3c\xe6\x60\x49\x18\x0d\x43\xc3\x41\xb0\x80\x3b\xf0\x85\xb3\xc0\xaf\x37\x5a\xc9\xe0\x53\xcd\x44\x79\xb8\x62\xff\x16\xfe\x29\xfc\xb7\x51\x55\x87\xe5\xd2\x39\x86\xa8\xc8\x87\x98\x27\xb3\xc2\x27\x6d\x07\x92\x1a\x37\x1a\xdf\x66\xcc\xad\x63\xd7\xad\x77\x4c\x0f\xe8\x44\x4e\xeb\xd5\xcc\x8d\x86\xa9\x50\xed\x6d\xa8\xc6\x53\x21\x6b\x2f\xe6\x98\x78\x78\x44\x3c\x22\x17\x76\x5c\xcb\x0e\xa3\x0e\x96\x49\xd6\x34\xb1\x06\x11\x20\x9b\x86\x89\x34\x67\x55\x79\xda\xc1\xb8\x50\x55\x22\xb7\x77\xfa\x84\x05\xdc\x25\x95\x1e\x50\xf2\x23\x00\x5b\x72\x42\x27\xf5\xd8\x54\x6e\xfb\x95\xaf\xef\xfc\xe6\x2c\x9b\x8b\xfe\x57\xc6\x9d\x29\x08\xc9\xb1\x64\xfc\x2e\x6c\x17\xa5\x02\xcf\x6f\xe6\x52\x67\xca\xf6\xab\x3d\x37\x1a\x26\x32\x66\x42\x72\x4b\x6f\xcb\xe9\xd4\xcb\x3d\x59\x8b\x4a\x96\x55\x45\x3f\x95\xda\xf3\x47\x51\x33\x93\x72\x62\x62\x30\xc3\x13\xf8\x73\x3c\x06\xae\x06\x1f\x46\x01\x95\x41\xb4\x07\xcc\x58\x22\x50\xd8\x1a\xc4\x34\x02\xf6\x30\x65\x94\x38\xd8\x2b\xa2\xec\xeb\x07\x35\xde\x3e\x6d\x59\x27\x2d\xab\x79\xf3\xd5\x2e\x22\xe2\xca\xca\x50\xaa\x98\xac\xd3\xce\x59\x5a\xbd\xb9\x9c\xaf\x2c\x20\x35\xdd\x6c\x9a\x9c\x05\x12\xbe\xaa\x78\x6e\x88\x73\xd2\x17\xf5\xae\x6c\x1a\xa1\xaa\x54\x10\x2d\xce\x19\xdf\xa0\x9f\x33\x3f\x70\xeb\xc6\x2d\x71\x38\x13\x6c\x2c\x5b\x77\xd1\x3a\x78\x9c\xc1\x45\x3e\x55\xf3\x7e\xe5\xd2\x55\x4c\xef\xb0\x1c\x32\x2e\xc3\x82\xef\x74\xcc\x4e\xc7\x6a\x2b\x11\xfe\xd4\x55\xe2\xe4\x29\x03\x5f\xc3\x62\x88\xe5\x34\x57\x2d\xc7\x53\x36\x83\x63\x43\xcf\xcb\x20\x5d\xbe\x4c\xe3\xb8\x25\xc4\xf4\x18\x07\x72\xca\x38\x79\x03\xf7\x3f\xcf\xb0\x10\x7a\x72\xfc\xfd\x25\xd3\x58\x6b\x2d\xd2\x83\x70\xf2\xa8\x66\xd5\x4c\x54\x3b\x55\xc2\x51\x82\x28\xc1\x94\x08\x94\x68\x2b\x71\xa6\x84\xab\xc4\x7f\x95\xf0\x95\x98\x2b\xd1\x51\xe2\xa3\x12\xa0\xc4\xb3\x12\x3f\x94\x78\x51\xa2\xab\xc4\x6f\x4a\x8c\x95\x50\xd9\x5a\x53\x89\x5d\x7b\x55\xe2\x44\x09\xac\xc4\x44\x89\x99\x12\xaa\x38\x6a\x0b\x25\x7e\x55\x62\xa4\xc4\x54\x09\xaa\x84\x54\xe2\xad\x86\x9e\x36\x4f\x2b\x5b\x14\xe3\xf6\xb8\xb6\xde\x13\x0d\x3d\x39\xe6\xb3\xcd\x6f\x9e\x3e\x67\x73\x12\x2e\x4e\x0e\x27\x7e\x68\x67\xb9\xfc\x02\xf2\x3a\xdd\xd5\x7d\x3a\x3d\x19\x26\xa0\xd5\x2a\x59\xed\x2e\xe8\x22\x7c\x3f\xbd\xc2\x22\xb7\xda\xb9\x58\x62\xbb\xc2\x2b\x1b\x40\xed\xdd\x7e\x3b\xcb\x96\xb6\x68\xd5\xcc\xaf\xd6\x03\xd1\x0b\x84\x64\xb3\xc7\xbb\xcb\xaf\x09\xe5\x9c\x82\xb4\x83\x11\x05\x19\x57\x50\xc5\x0e\x45\x83\xe8\xfb\x94\xf0\x4f\x2a\x13\xef\xe3\xa2\xb3\x61\x32\x53\xdb\x43\xea\xc2\x6b\xf8\x92\x5e\x42\x86\x16\x84\xef\x11\x59\xb1\x21\xcb\xdb\x31\x91\x71\x6c\x34\xf4\xc5\x6f\xb3\x41\x43\x5b\xc0\xe6\x9b\x1d\xfb\x98\xc0\x08\x97\x01\xf6\xe2\xee\xf0\x97\xfd\xdb\x64\x35\xf6\x2e\xbf\xb9\x8a\x26\xb4\x26\xea\x91\xa5\xca\x78\xaf\xe9\x9b\xe5\xb5\xce\x44\x46\x53\x14\x79\xe6\xd9\xb3\xde\xdc\x2d\xf3\xe1\x11\xb9\xfe\x55\x0e\x5d\xae\x2e\x8a\x49\x55\x76\x76\x9e\x84\xd1\x38\x8e\x3c\x14\xf9\x06\x99\xcd\x36\x47\x5c\xfd\xc4\x76\x8d\x85\x32\xba\xd3\x26\x45\x01\x7b\xc4\x0d\x17\xd0\xb6\xd5\x0a\xff\x1f\x7f\x2c\xee\x1c\xd5\xcb\x59\x9f\x0a\x3b\x7a\xa9\x89\xde\x10\x62\x74\xdb\x4a\xfb\x69\x78\x36\x10\x41\x4a\x94\xed\xd3\xa4\xe4\xaf\xb0\xb8\x09\x5f\x6e\x54\xdd\xa7\x05\xcf\x61\x42\xc2\x64\x70\xa6\xe0\x06\x9e\xf2\x59\xe9\x8f\xb1\x27\xa0\x94\x4e\x6b\xc0\x92\x07\x50\xf4\x9c\x8a\xc9\xbe\x0b\x30\x32\xa8\x98\xe8\x5b\x1c\x31\xd9\x29\x8b\xe2\x77\x50\x1b\x9c\x80\x13\xb9\x08\xf7\x05\xf9\x5c\x8a\x9d\xd1\xe3\xef\x73\x32\xc3\x7c\x11\x6f\x41\xe3\x1d\x68\xd1\x63\x63\xb9\x44\x75\xa2\xaa\x0b\xb5\xc2\xb0\x0d\x19\xf3\xe2\x5e\x27\x90\xd5\x68\x29\x05\xb4\x5a\xe5\xb6\xa9\x76\x98\x01\x5b\x13\x20\x7e\xf7\x0b\xdf\xb1\x06\xc3\x0b\xd7\xe5\x20\xc4\xde\xf9\x16\x6f\x93\x89\x5f\x48\xba\x8a\x65\x19\x19\x3b\x25\x66\xa4\x79\x33\xda\x29\xf4\x1e\xc3\xee\x27\xec\x61\xea\x00\xcf\x87\x3c\xa1\xc9\xe2\x8e\x0a\xfc\xc3\xe8\x90\x6c\x6d\xfd\x66\x8e\x84\x35\x3c\xe6\x8c\x4a\xa0\x6e\xa2\x17\xf0\xe8\x3d\xe5\xb8\x6a\xe2\x19\xfd\x56\xfb\x87\x86\xdc\x1b\x7d\x56\x1e\x5d\x52\x77\xaf\xb0\x1e\x6e\x6e\x0f\x33\x03\x2a\xd5\xe6\xcf\x3b\xdc\x1c\x89\x19\x0e\xb5\xfb\x53\xb2\x27\x3f\x8d\x8d\xe6\xfe\xe2\xc3\xd4\xa6\x7b\xc0\x53\x2d\xfb\xb1\x25\xa9\xf5\x38\xed\x9f\xdc\xd5\xd3\xde\xec\xd6\x9f\xe3\xb1\x80\xe8\x80\xe5\x0b\xc8\xf8\xbc\x24\x03\x24\x07\x4b\x11\x6c\xb5\x5a\xc7\xe3\x6f\x9c\xd6\x67\xc2\x85\x54\x9d\x2c\xeb\x39\xd8\x75\x37\x4e\x3f\xb6\xa8\xa0\x84\x6e\xa2\xfc\xd3\x91\x20\x4f\xa2\x63\x84\x62\x4d\x7d\xc2\xce\x33\x50\x57\x35\xe7\x43\x13\xc0\x67\xcc\xdb\xe3\x89\xa7\x6e\xf5\xd8\x6c\x16\x7f\xe6\x91\x53\x10\x80\x6e\x2b\xc7\x11\xe6\x80\x02\x01\x2e\x92\x0c\xf9\x1e\x76\x00\xcd\x02\x4f\x12\xdf\x03\x14\x31\x0a\xe4\x64\xe7\x7c\xde\x02\x11\x8a\xe4\x14\x54\xfc\xd4\xba\x80\x84\x8f\x1d\x58\xe3\x43\x18\x1a\xb1\x66\x63\xb9\xfe\x08\xd1\x34\x5a\xe5\xa3\xcd\x7c\xb8\x8b\x87\x43\x95\x86\x8d\xc6\xb7\x6e\xf1\x64\xa7\x90\x09\xbb\x65\x4d\x4a\x67\x3d\x29\xdf\xca\xfd\xa0\x8c\x6c\xef\x8c\xec\x3c\x55\xcd\x57\xdf\x81\x1c\x92\x36\xeb\x33\x26\x5c\x6e\xab\xcd\xe9\xe7\x7a\x7b\x6c\x8e\xb4\xd3\x9f\xbd\xf4\xda\x07\xea\x75\x0e\xd4\xeb\x1e\xa8\x77\x52\x3a\xa3\x2c\x1c\x8f\xab\xe7\xb9\x5b\xec\xd6\x34\x22\xeb\x80\x26\x73\x80\x99\xf6\xfb\x98\xe9\xbc\x8f\x99\xee\xfb\x98\x39\xd9\xcb\x4c\x45\x9a\x5c\x4a\xc7\x8d\x3f\x58\x33\x1e\x9e\x91\x74\x3f\x5a\x25\x44\xf4\x39\x28\x45\x9c\xfd\x56\x42\x0c\x01\xf8\xc3\xfd\x8d\xa8\x9d\x97\xf2\xcc\x98\x4a\xe9\x9f\x1f\x57\x2e\xca\xf9\x2c\x8d\x9a\x18\x32\xce\xab\xa0\x79\x4f\x8d\xca\xb0\xed\x65\xaa\xfd\x7e\xa6\x3a\xef\x67\xaa\xfb\x7e\xa6\x4e\xf6\x31\xb5\x26\xf7\xa2\xcc\xfa\xfb\x33\x27\xcb\xe0\xbf\x3d\x73\x7e\xaa\xa9\xcd\x99\xf3\x53\x4d\x6d\xce\x9c\x9f\x6a\x6a\x73\xe6\x14\x4c\xa1\xe4\xd3\x65\x55\xf6\x04\xd1\x97\x22\x2c\xf7\xda\x1f\xa4\xf9\xf2\xc7\x3a\x1f\x92\x7e\x16\x02\xf7\x58\x99\xf7\x64\x36\x91\x61\x56\x01\x33\xb2\xf6\xae\x64\xed\x1d\xc8\x3a\xbb\x92\x75\xfe\x2f\xe7\xbc\x9d\xac\xbb\x2b\x59\x77\x07\xb2\x93\x5d\xc9\x4e\x9e\x8a\x0d\x54\x04\x23\x11\x7e\xba\x20\x8c\xc6\xd7\x43\xf4\x3f\xd5\x1b\xad\x3c\x22\xdd\x51\x4b\xa0\x38\xbd\x51\x52\x50\x49\xc6\x32\x30\xe6\x13\x90\x97\x74\x4e\x38\xa3\xc9\x0b\x5b\xee\x48\xbc\x84\xd0\x36\xef\x2e\x73\x9e\x81\x5f\xd2\x09\xa1\xd0\x67\x2f\xd4\x63\xd8\xbd\x07\x9f\x95\x48\xd6\x01\xd7\x70\xe9\x5f\x3f\x5b\xed\x4e\xeb\x1f\xb5\xf8\xa3\x4a\x78\x4e\x9b\x7c\x53\xb9\xc2\x22\xba\xbe\x92\x9c\xd9\x9a\xa8\xe6\x69\x80\x78\xb0\x86\xce\xe3\x2c\xd7\xee\x0c\xa0\xe5\x92\x63\x3a\x01\x84\x8e\xe6\xe1\x57\x02\x13\x1d\xcd\xd5\xab\x3f\x3a\xff\xa3\x60\x26\x6f\x23\xd3\x27\xe3\x44\x77\xb5\x42\x26\xd2\x0f\x79\x35\x58\xe1\x77\xf5\x60\xc3\x83\x9f\xc7\xe8\x5e\x46\x79\x1c\xa1\x1a\x71\x6b\xe7\x15\x97\x6f\xae\x61\x11\x6a\x0d\xfa\xcb\x65\x6a\x39\x7d\x37\xd0\xff\xad\xcc\xb2\xd9\x70\x76\xda\xed\x3d\x6d\x35\x2e\x47\xe5\xc8\x49\x82\xe2\x00\x0f\x63\x12\x45\xa7\xf5\x58\x64\x29\xcd\x38\x0b\x8e\xb3\x2d\x38\xd5\x01\x0a\xbd\x75\x32\x13\x0f\xdc\xab\xa1\x9d\xe3\xa1\xf9\xf6\x70\x7f\xb3\x5c\xa6\x5e\x54\x06\x0a\xa1\xb2\x4f\xeb\x7c\x7d\xfa\xb0\x4e\x33\xaf\xf1\x84\x0a\x5f\x02\xaf\xb0\xf8\x17\xa1\x2e\x7b\x49\xf3\xb4\xf6\x12\xfd\x9e\xbb\x4e\x55\x2a\x9a\x2a\x90\x56\x30\xfa\xf0\x10\x0b\xf1\xc2\x78\xf9\x16\x59\x15\x48\xbf\xef\x3a\x01\x2a\x63\xe7\x72\x57\x17\xd2\x33\xc9\x78\x30\xb9\xed\x50\x56\x4b\xaf\x45\x6c\x45\xda\xcf\x41\x7a\x2d\xa8\x8f\x25\x76\x80\x4a\xe0\xcd\x17\x22\xa7\xcd\xf4\xc2\x9f\xa8\xd2\xd4\xfa\x81\xd2\x6e\x59\xad\x8e\xd5\x3e\xb3\xda\x9d\xb3\xf4\x0b\x1d\xa1\x13\x0f\xfe\x19\xb0\xe8\xf2\xaa\x51\x08\x52\xf4\xf1\x35\xfa\x14\x9c\x5d\x0e\x41\x47\x84\xfa\x81\xfc\x4c\x3c\x40\x7f\x20\xe3\x17\xfb\xdf\xf6\xd7\xcb\xdb\xfe\xfd\xe0\xf1\xf2\x97\xef\xdf\x2f\xde\x02\x0e\xca\xcf\xef\xdf\x23\x75\xf5\x73\x6b\x44\xa8\x81\x7e\x47\x47\x2c\x90\x7b\xaa\xda\x20\x03\x3f\x72\xa1\xe5\x8b\xb6\x62\xe9\x31\x7f\xd1\x1c\x48\x98\xe9\x9e\xe8\xd4\xbf\xa3\x01\x9d\xb3\x67\x68\x5e\xbe\xfa\x1c\x84\x0a\x42\xdd\x58\x5a\x2b\xb4\x6c\xaf\x0c\xd4\x1c\xeb\x60\x13\x1d\x61\x3e\x09\x54\x8b\x16\x0d\xf4\x3b\xaa\xa5\x69\x18\x86\xe2\x03\xfa\xf0\xbf\x00\x00\x00\xff\xff\x76\x75\x06\x38\xd0\x2d\x00\x00") func kubernetesmastervarsTBytes() ([]byte, error) { return bindataRead( @@ -963,7 +963,7 @@ func kubernetesparamsT() (*asset, error) { return a, nil } -var _kuberneteswinagentresourcesvmasT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x59\x5b\x6f\xdb\xb8\x12\x7e\x6e\x80\xfc\x07\x42\x38\x3d\x8c\x01\xd9\x41\xcf\xd3\x41\x16\x5b\x20\x88\x93\x56\x68\x9d\xb8\x55\x9a\x62\x91\xe4\x81\x16\xc7\x0e\x11\x89\xd4\x92\x94\x13\x37\xf0\x7f\x5f\x50\x17\x5b\xd4\xc5\x51\x36\x49\x9b\xa2\xf5\x8b\x21\x7b\x66\x38\xfc\x38\x97\x8f\x23\x84\x10\xba\xdb\xde\x42\xe9\xc7\x21\x31\x3b\x03\xa9\x98\xe0\xce\x1e\x72\xce\xe7\x44\x32\x32\x09\x41\xed\xe0\xf5\x3f\x43\x98\x92\x24\xd4\xb8\x77\xe9\xb8\x68\xa5\x19\x88\x78\xe1\xec\xad\x4d\xa5\x3f\x25\x5c\xa7\x76\x54\x32\xd9\x29\xd9\xba\xbb\x1b\x1c\x93\x08\x96\xcb\x03\x23\x81\x7b\x2e\x6a\xfa\xf3\x64\x3a\x55\xa0\x71\xcf\x5a\x07\x21\x87\x93\x08\x8c\xd5\x50\x88\xd8\x29\x7e\x5f\x96\x5c\xa1\x10\x03\xa7\xea\xc4\xec\xe1\x7c\x7b\xeb\xee\x8e\x4d\xd1\xc0\x53\x07\x89\xd2\x22\x3a\x3b\x3e\x3c\x5d\x2e\x57\xb2\xe5\x2d\x72\x35\xf3\x86\x66\x5b\xc8\x28\x41\xa8\xa0\x45\x70\xce\x41\x67\x92\xa9\x20\xa7\x6b\xb9\xcb\x92\x1f\xa1\x08\x88\x6e\x80\xb2\xf8\xbd\x82\x60\xb1\xaf\xf3\x40\xf0\x80\xe8\x46\xc0\xce\x46\xe6\x7b\x2c\x61\xca\x6e\x0d\x6e\x98\xb3\x20\xee\x63\x17\x19\xf8\x3d\x4e\xe1\xb6\x51\x6d\x05\xa5\xbd\x62\x2c\x45\x0c\x52\x33\x50\xd9\xc9\x35\x21\x85\x6a\x9f\xed\xad\x57\x99\xbf\xa0\x6f\x84\xbc\xf6\x21\x48\x24\xd3\x8b\x77\x52\x24\x71\x66\xe7\x55\x26\xc0\x68\x75\xe7\x2b\x84\x73\x1b\x4b\xb7\x06\xa0\xd1\x8b\x0f\x04\x9f\xb2\x59\x22\x53\x98\x54\x76\x8c\x6b\x07\xee\xca\x0f\x25\xe0\x58\x1c\xa4\x7a\x6f\x1c\xb7\x22\x51\xdd\xa8\xbd\x21\x27\x96\x6c\x4e\x34\x78\xe3\xfd\xb0\x38\x9b\x11\xe8\x2b\x91\xfa\x3f\x5c\x70\x12\xb1\xa0\x6a\x13\x21\x47\x25\x13\x0e\xba\xc9\x62\xe3\xe6\xd7\x87\xc8\x41\xfb\xa9\x6e\x01\x86\xa5\xba\xb4\x9f\xad\xc7\xd2\xc3\x65\xc9\x21\x07\xb8\x59\xc4\x1b\x1f\x09\x79\x43\x24\x65\x7c\xe6\xec\x21\x2d\x13\x68\xca\x0f\xbd\x88\x53\xbc\x46\x2c\x90\x42\x89\xa9\x1e\x1c\x67\x47\xb9\x9b\x1f\xa9\xc7\x35\xc8\x29\x09\x40\xe5\xbe\x2d\xf3\xb5\x1e\x56\x28\x7c\x2d\x24\x99\xc1\x43\x0a\x45\x13\x5c\xb9\x99\xfd\x20\x15\x53\x79\xcd\x78\x64\x51\x58\x29\x16\xd9\x86\xeb\x68\xc4\xc9\x24\x64\x81\x37\xde\xa7\x54\x82\x52\xa0\x76\xb1\x55\xa9\x22\xa2\x34\xc8\xb1\x2d\x65\x7c\x4e\x6b\xd6\xbf\xae\x08\x5d\x0a\x82\xb2\x30\xc9\xea\x01\x28\xdc\x3b\x8f\x04\xdd\x21\x94\xee\xac\xeb\x41\xcf\xbd\x1f\xd4\x55\x7d\x70\xef\x5d\x23\x87\xbf\x77\x79\xbf\x28\xee\x9d\x53\x36\xff\x01\xee\xac\xcc\xe6\xc2\xab\x33\x71\x5b\x4b\xdf\x2a\x1e\x48\xa6\x72\x9a\xe7\x88\x55\xf6\x23\x9f\x7d\x03\x35\x22\x31\xee\x35\x27\xf6\xc8\x08\xe0\xde\xe5\xc0\x76\xd6\x18\xbb\x6c\x8c\xca\x7a\x2a\xe6\x48\xec\xda\x16\xca\x89\x98\x55\xe9\xf7\x44\x0d\x99\xba\x56\x45\xe5\x7c\xf9\xa9\x49\x89\x26\x94\xa9\xeb\x8f\x3f\x7f\x8a\x76\x6a\xda\x0f\xc8\xd1\x92\x96\x41\xc9\x6f\xd0\xf4\x01\x68\x25\x23\x7e\x7c\x32\xbf\x28\xbf\x57\x66\x87\x44\x93\x5a\xe6\xb7\xb3\x9e\x9f\x2a\xf5\x4b\x5c\xe9\x29\x58\x7b\xb7\x68\x6f\x08\xf7\xc6\x6a\x3b\x27\x2c\x24\x13\x16\x32\xbd\xf0\xa1\xba\x94\x0d\xfb\x66\x24\x0e\x44\x14\x27\x1a\x76\x89\x6d\xf1\x71\x74\xe4\xa5\xdc\x5b\xe6\x91\xa9\x80\xc7\x82\xc2\x63\xab\x60\x4b\xc0\xec\xe2\x4e\xe9\x5c\x94\x21\x93\xd6\x1d\xaf\x0f\xae\x55\x5a\x6f\xcf\x46\x6a\x0c\xd2\xce\xe2\x17\x52\xa3\x7e\xc6\x4d\x6d\xa2\x2d\xcd\x4d\xff\x79\x03\xe3\x45\xe1\xf8\x80\xfe\xf2\x94\x71\xf4\x0b\x60\xb0\xb9\x6f\x36\x5d\xd0\x37\x10\xb2\xda\x0d\xb2\x42\xc8\x9e\x74\x92\xb1\xd9\xa5\xb6\x26\xd2\xe6\x51\xad\x7d\xb5\x30\x44\x4d\x66\xca\xd9\x2b\x1e\xad\xc6\x21\x21\xed\x9a\xbe\x48\x64\x00\x0e\x2a\xf1\x42\x4c\x02\x05\x7c\xc6\x38\xf4\x3b\x02\xd2\x1d\x87\x75\x17\xf9\x9e\xa3\xa7\x27\x99\x38\xad\xb9\x97\x0d\x7e\x75\xa8\x52\x8c\x53\x24\xa8\x14\x5b\x8f\x76\x39\x69\xdc\x5c\x5d\x37\x9c\xb3\xd5\x8a\x11\x72\xae\x88\xa4\x37\x44\xc2\x58\x8a\x29\x0b\xa1\xe6\x56\xc6\x0b\xdb\x27\x3d\x05\x2b\x6c\x5d\x20\xcf\x97\x36\xfb\xf5\x81\x4c\x65\x16\x56\x9b\x86\xdd\x3b\xed\xaa\x7f\x9c\x58\xb2\x88\xc8\x45\x65\x64\xd4\xfc\x59\xd6\xe7\x60\x1b\xcf\xa6\xb5\x30\x60\xf7\x39\xe7\x9c\xb5\xb1\x9a\x35\x46\xbb\x6c\x3b\x0e\xa1\xda\x4e\x22\xc8\x62\x4c\x3e\x73\xaa\x58\x73\xce\xbb\x77\xa0\x3f\x24\x13\x90\x1c\x34\xa8\xaf\x8c\x53\x71\xa3\xf6\x67\xc0\x75\x36\xa1\x35\x05\x7b\x69\x6d\xcc\x21\x34\x62\xfc\x8b\x2a\xf9\x59\x5a\xf2\x26\xb7\x50\x96\xc1\xd5\x55\x33\x13\x63\xa2\xd4\x8d\x90\xb5\x21\x66\xd9\x44\x21\xb3\x29\xbe\xf3\x3e\xd4\x82\x6a\xba\x43\xb3\x8b\x94\xd5\xa0\x41\x65\x33\x2c\x22\x33\xf8\x0c\x53\x90\xc0\x83\x9a\xb2\x09\x5c\x73\xb1\x57\x57\x20\x6b\xac\xdf\x80\x94\x03\x36\x2e\x84\x6a\x5b\x35\x07\x3e\x9d\x6e\xd6\x3e\x31\x02\x4d\x9a\xea\x3a\xd9\xa4\xe7\x5f\x27\x4d\x5a\xf3\x96\x5b\x4a\x49\x33\xbf\xae\x54\x27\xc3\x16\xae\x69\xa8\x1a\xd0\x1a\x40\x09\x48\x70\x95\x0d\x80\x9d\xcf\x40\xe8\x57\xc9\x34\x38\xb6\x72\xd1\xab\xe0\x24\x2e\xba\xc4\x91\x14\x91\x67\xf0\xae\x8b\x3e\x63\xc8\xbb\xb8\x2f\x14\x65\xea\xba\x3a\x35\xca\xc0\xba\xa2\x8d\xf3\xfa\x44\xb2\xb2\x3f\xb2\x88\x90\x9d\xdf\x57\xa4\x5f\xf3\x8a\xe4\x6e\x1e\x72\xf6\x06\x79\x87\x3b\xe4\x34\x16\x8c\x6b\x35\x98\x84\x62\xe2\xe2\x2c\xf6\xba\x52\xd4\xae\x60\xa1\x22\xa8\x07\xf3\x2b\x5a\x7f\xc1\xd3\xf6\x42\x67\xd9\x6d\x4a\x54\x90\x9d\x39\x93\x3a\x21\xe1\x28\xcd\xf6\xd2\x9b\x1a\xf4\x7b\x36\xb2\x01\xa6\x27\x3e\xeb\x2e\x43\xe4\x82\x17\xa5\x2f\x48\x77\x7a\x83\xe2\xcf\xef\xc5\xc0\x5d\x84\x77\x03\x55\x9d\xf5\xb7\x32\x71\xab\xa7\xd6\xf0\xb4\x2e\x5d\x45\x70\x66\x6c\xc4\x0f\x24\x8b\xf5\xe1\xad\x06\x9e\x06\x5b\x55\xf2\x3d\xe1\x34\x04\x59\x8a\xc5\x37\x83\xff\x5b\x52\x24\xd1\xe2\x4b\x3c\x93\x84\xc2\x88\x71\x51\x12\x35\xbc\xb4\x2c\x19\x4b\xa1\x21\xd0\x40\x7d\xd0\x9a\xf1\x59\x8d\xe9\x1a\xbe\x16\x11\x4e\x4f\xc5\xe1\x2d\x04\xc6\xf1\xf2\x65\x2c\x16\x37\x20\xd5\x15\x84\xe1\x00\x6e\x01\xf5\x33\x19\x26\xf8\x58\x84\x2c\x58\xa0\x2f\x5c\x82\xd2\x92\x99\x15\x50\x3f\x37\x85\x2e\x1c\xec\x22\xfc\x1f\x22\x67\x49\x04\x5c\x2b\xf4\x27\xb2\xa3\x49\x31\x3e\x0b\xe1\x53\x22\x34\x60\xd3\xda\x46\xe9\xdb\x07\x6f\x8c\xb0\x5b\x7b\x27\x91\x12\x61\x4e\xc2\x8f\x13\x2f\x36\xc2\xa8\x6f\x98\xde\x90\x2b\x1f\xe4\x9c\x05\xe0\xc5\xb6\xd6\x75\xe5\xdf\x4c\x27\x5b\xe1\xe8\xd3\xf0\x38\x0b\x8b\xa6\x95\x8e\xfe\xa6\x7c\x15\x34\x18\xf5\x3f\xe6\xf1\x67\xcb\xae\x6f\x86\x46\x26\x25\x99\x1f\x60\x61\xcb\x04\x21\x03\x53\xa0\xd3\xb7\xe5\x1f\x60\x91\xcb\x7e\x4b\x24\xbc\x17\x4a\x9b\x18\x46\xcd\x77\xae\x4a\xe8\x76\x66\x07\xa8\xbf\xbf\x3f\x3c\x48\x97\xf5\xa8\x6d\x5b\x65\x48\x8c\x25\xe3\x01\x8b\x49\x58\x48\x61\x5b\xcd\x87\x40\x82\xee\xa2\x9a\x49\x62\xbb\x35\x59\x27\x8a\x30\xfa\xa3\x72\xe4\x39\x1f\x2e\x67\x80\x9f\x4c\x8b\x5b\xcb\x85\x83\xde\xa2\xd7\xfe\x5f\xfe\xe9\xe1\x68\xf8\xd9\x3b\x3b\x7c\x7d\x71\x91\xc2\x65\x38\xef\xc5\xc5\x9a\xc5\xfb\xa0\x93\x38\x53\x1f\x84\x62\x86\xfe\xf7\xf6\xbf\x6f\x2a\xb4\xfa\x51\xdd\x61\x17\x8a\xb4\x5c\x35\x8a\xec\x6b\x7b\xeb\x9f\x00\x00\x00\xff\xff\xd1\xed\xa4\x8c\x01\x24\x00\x00") +var _kuberneteswinagentresourcesvmasT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x59\x5d\x6f\xda\x48\x17\xbe\x6e\xa4\xfc\x87\x91\xf5\xf6\x75\x90\x0c\xa8\x7b\xb5\xca\x6a\x2b\x45\x21\x69\xad\x96\x84\xd6\x69\xaa\x55\xc2\xc5\xe0\x39\xc0\x08\x7b\xc6\x3b\x33\x86\x50\xc4\x7f\x5f\x8d\x3f\xc0\xe3\x0f\x42\x36\xc9\x36\x55\xcb\x0d\x32\x3c\xe7\xcc\x99\x67\xce\xd7\x1c\x23\x84\xd0\xea\xf0\x00\x25\x1f\x0b\x47\xf4\x1a\x84\xa4\x9c\x59\xc7\xc8\xba\x99\x63\x41\xf1\x28\x00\x79\x64\x6f\xff\xe9\xc1\x18\xc7\x81\xb2\x5b\x43\xcb\x41\x1b\x49\x9f\x47\x4b\xeb\x78\xab\x2a\xf9\x29\x66\x2a\xd1\x23\xe3\xd1\x51\x41\xd7\x6a\xd5\xb9\xc0\x21\xac\xd7\xa7\x1a\x61\xb7\x1c\x54\xf7\xe7\xe5\x78\x2c\x41\xd9\x2d\x63\x1d\x84\x2c\x86\x43\xd0\x5a\x03\xce\x23\x2b\xff\x7d\x5d\x30\x85\x40\x04\x8c\xc8\x4b\xbd\x87\x9b\xc3\x83\xd5\x8a\x8e\x51\xc7\x95\xa7\xb1\x54\x3c\xbc\xbe\x38\xbb\x5a\xaf\x37\xd8\xe2\x16\x99\x9c\xb8\x3d\xbd\x2d\xa4\x85\x20\x90\xd0\x00\x9c\x33\x50\x29\x32\x01\x32\xb2\xc5\x0d\x0b\x76\x04\xdc\xc7\xaa\x86\xca\xfc\xf7\x12\x83\xf9\xbe\x6e\x7c\xce\x7c\xac\x6a\x09\xbb\xee\xeb\xef\x81\x80\x31\xbd\xd3\xbc\xd9\x8c\xfa\x51\xdb\x76\x90\xa6\xdf\x65\x04\xee\x6a\xc5\x36\x54\x9a\x2b\x46\x82\x47\x20\x14\x05\x99\x9e\x5c\x1d\x53\xa8\xf2\x39\x3c\x78\x95\xda\x0b\x6a\xc1\xc5\xcc\x03\x3f\x16\x54\x2d\xdf\x09\x1e\x47\xa9\x9e\x57\x29\x80\x92\xf2\xce\x37\x0c\x67\x3a\xd6\x4e\x85\x40\x2d\x17\x9d\x72\x36\xa6\x93\x58\x24\x34\xc9\xf4\x18\xb7\x06\xac\x8a\x0f\x05\xe2\x68\xe4\x27\x72\x6f\x2c\xa7\x84\x28\x6f\xd4\xdc\x90\x15\x09\x3a\xc7\x0a\xdc\xc1\x49\x90\x9f\x4d\x1f\xd4\x94\x27\xf6\xf7\x96\x0c\x87\xd4\x2f\xeb\x44\xc8\x92\xf1\x88\x81\xaa\xd3\x58\xbb\xf9\xed\x21\x32\x50\x5e\x22\x9b\x93\x61\x88\xae\xcd\x67\xe3\xb1\xf0\x30\x2c\x18\x64\x01\xd3\x8b\xb8\x83\x73\x2e\x16\x58\x10\xca\x26\xd6\x31\x52\x22\x86\xba\xf8\x50\xcb\x28\xe1\xab\x4f\x7d\xc1\x25\x1f\xab\xce\x45\x7a\x94\xdd\xec\x48\x5d\xa6\x40\x8c\xb1\x0f\x32\xb3\x6d\x9d\xad\xf5\xb0\x44\xe1\x29\x2e\xf0\x04\x1e\x92\x28\xea\xe8\xca\xd4\x9c\xf8\x09\x4c\x66\x39\xe3\x91\x49\x61\x23\x98\x47\x9b\x5d\x65\x23\x8a\x47\x01\xf5\xdd\xc1\x09\x21\x02\xa4\x04\xd9\xb5\x8d\x4c\x15\x62\xa9\x40\x0c\x4c\x94\xb6\x39\xc9\x59\xff\x3a\x23\xec\x93\x10\xa4\xc1\x49\x9a\x0f\x40\xda\xad\x9b\x90\x93\x23\x4c\xc8\xd1\x36\x1f\xb4\x9c\xfb\x49\xdd\xe4\x07\xe7\xde\x35\x32\xfa\x5b\xc3\xfb\xa1\x76\xeb\x86\xd0\xf9\x77\x30\x67\xa3\x36\x03\x6f\xce\xc4\x69\x4c\x7d\x1b\x7f\xc0\xa9\xc8\x55\x16\x23\x46\xda\x0f\x3d\xfa\x0d\x64\x1f\x47\x76\xab\x3e\xb0\xfb\x1a\x60\xb7\x86\x1d\xd3\x58\xad\x6c\x58\xeb\x95\xd5\x50\xcc\x98\xe8\x9a\x1a\x8a\x81\x98\x66\xe9\xf7\x58\xf6\xa8\x9c\xc9\x3c\x73\xbe\xfc\xd0\x24\x58\x61\x42\xe5\xec\xe3\x8f\x1f\xa2\x7b\x15\xed\x07\xc4\x68\x41\x4a\xb3\xe4\xd5\x48\x7a\x00\xa4\x14\x11\xdf\x3f\x98\x5f\x94\xdd\x1b\xb5\x3d\xac\x70\x25\xf2\x9b\xbb\x9e\x1f\x2a\xf4\x0b\xbd\xd2\x53\x74\xed\xfb\x79\x7b\x8d\xbb\xd7\x66\xdb\x39\xa6\x01\x1e\xd1\x80\xaa\xa5\x07\xe5\xa5\x4c\xda\x77\x33\x71\xca\xc3\x28\x56\xd0\xc5\xa6\xc6\xc7\xb5\x23\x2f\xe5\xde\x32\x0f\x75\x06\xbc\xe0\x04\x1e\x9b\x05\x1b\x1c\xa6\x6b\xef\x15\xce\x79\x1a\xd2\x61\xbd\xe7\xf5\xc1\x31\x52\xeb\xdd\x75\x5f\x0e\x40\x98\x51\xfc\x42\x72\xd4\x8f\xb8\xa9\x5d\x6d\x4b\x7d\xd1\x7f\x5e\xc7\x78\x51\x3c\x3e\xa0\xbe\x3c\xa5\x1f\xfd\x04\x1c\xec\xae\x9b\x75\x17\xf4\x1d\x0d\x59\xe5\x06\x59\x6a\xc8\x9e\x74\x92\xb1\xdb\xa4\xa6\x22\xd2\x64\x51\xa5\x7c\x35\x74\x88\x0a\x4f\xa4\x75\x9c\x3f\x1a\x85\x43\x40\x52\x35\x3d\x1e\x0b\x1f\x2c\x54\xe8\x0b\x6d\xec\x4b\x60\x13\xca\xa0\xbd\x27\x21\xfb\xf3\xb0\xad\x22\xff\xe5\xe8\xe9\x49\x26\x4e\xdb\xde\xcb\x24\xbf\x3c\x54\xc9\xc7\x29\x02\x64\xc2\xad\x4b\xf6\x39\x69\xbb\x3e\xbb\xee\x38\x67\xa3\x14\x23\x64\x4d\xb1\x20\x0b\x2c\x60\x20\xf8\x98\x06\x50\x31\x2b\xed\x0b\x9b\x27\x3d\x79\x57\xd8\xb8\x40\x16\x2f\x4d\xfa\xab\x03\x99\xd2\x2c\xac\x32\x0d\xbb\x77\xda\x55\xfd\x58\x91\xa0\x21\x16\xcb\xd2\xc8\xa8\xfe\xb3\xae\xce\xc1\x76\x9e\x4d\x63\x62\xb0\x9d\xe7\x9c\x73\x56\xc6\x6a\xc6\x18\x6d\xd8\x74\x1c\x5c\x36\x9d\x84\x9f\xfa\x98\x78\xe6\x50\x31\xe6\x9c\xab\x77\xa0\x3e\xc4\x23\x10\x0c\x14\xc8\xaf\x94\x11\xbe\x90\x27\x13\x60\x2a\x9d\xd0\xea\x84\xbd\x36\x36\x66\x61\x12\x52\xf6\x45\x16\xec\x2c\x2c\xb9\xc8\x34\x14\x31\x76\x79\xd5\x54\xc5\x00\x4b\xb9\xe0\xa2\x32\xc4\x2c\xaa\xc8\x31\xbb\xfc\x3b\xab\x43\x0d\xac\x26\x3b\xd4\xbb\x48\xba\x1a\xd4\x29\x6d\x86\x86\x78\x02\x9f\x61\x0c\x02\x98\x5f\x11\xd6\x8e\xab\x2f\xf6\x72\x0a\xa2\xd2\xf5\x6b\x92\x32\xc2\x06\x39\xa8\xb2\x55\x7d\xe0\xe3\xf1\x6e\xe9\x4b\x0d\xa8\x93\x94\xb3\x78\x97\x9c\x37\x8b\xeb\xa4\xe6\x0d\xb7\x94\x82\x64\x76\x5d\x29\x4f\x86\x0d\x5e\x13\x57\xd5\xa4\xd5\x90\xe2\x63\x7f\x9a\x0e\x80\xad\xcf\x80\xc9\x57\x41\x15\x58\xa6\x70\x5e\xab\xe0\x32\xca\xab\xc4\xb9\xe0\xa1\xab\xf9\xae\x42\x9f\xd1\xe5\x1d\xbb\xcd\x25\xa1\x72\x56\x9e\x1a\xa5\x64\x4d\x49\xed\xbc\x3e\x16\xb4\x68\x8f\xc8\x3d\xe4\xe8\xd7\x15\xe9\xe7\xbc\x22\x39\xbb\x87\x9c\xad\x4e\x56\xe1\xce\x18\x89\x38\x65\x4a\x76\x46\x01\x1f\x39\x76\xea\x7b\xfb\xb6\xa8\xfb\x92\x85\x72\xa7\xee\xcc\xa7\xa4\xfa\x82\xa7\xe9\x85\xce\x7a\xbf\x29\x51\xde\xec\xcc\xa9\x50\x31\x0e\xfa\x49\xb4\x17\xde\xd4\xa0\x5f\xb3\x91\x1d\x34\x3d\xf1\x59\x3f\xf7\x7b\x9e\x27\xf0\xc5\xae\x2f\xcd\x22\xdf\xdc\x84\x1b\xe5\xb4\x42\xa5\x71\xdf\xca\xfd\x32\x6d\x44\x3c\x5f\xd0\x48\x9d\xdd\x29\x60\x89\x9f\x95\x91\xef\x31\x23\x01\x88\x82\x1b\xbe\xe9\xfc\x6e\xa0\x70\xac\xf8\x97\x68\x22\x30\x81\x3e\x65\xbc\x00\xd5\x2d\x69\x11\x19\x09\xae\xc0\x57\x40\x3c\x50\x8a\xb2\x49\xa5\xc9\xd5\xad\x5a\x88\x19\xb9\xe2\x67\x77\xe0\x6b\xc3\x8b\xf7\xb0\x88\x2f\x40\xc8\x29\x04\x41\x07\xee\x00\xb5\x53\x0c\xe5\x6c\xc0\x03\xea\x2f\xd1\x17\x26\x40\x2a\x41\xf5\x0a\xa8\x9d\xa9\x42\xb7\x96\xed\x20\xfb\x7f\x58\x4c\xe2\x10\x98\x92\xe8\x4f\x64\x3a\x92\xa4\x6c\x12\xc0\xa7\x98\x2b\xb0\x75\x55\xeb\x27\x2f\x1e\xdc\x01\xb2\x9d\xca\xeb\x88\xa4\x07\x66\x38\xf8\x38\x72\x23\x0d\x46\x6d\xdd\xe4\xf5\x98\xf4\x40\xcc\xa9\x0f\x6e\x64\x4a\xcd\x4a\xff\xa6\x32\xe9\x0a\xe7\x9f\x7a\x17\xa9\x57\xd4\xad\x74\xfe\x37\x61\x1b\x9f\xb1\x51\xfb\x63\xe6\x7f\x26\x76\xeb\x95\x1a\x93\xf4\x97\x1f\x60\x69\x62\xfc\x80\x82\xce\xcd\xc9\x8b\xf2\x0f\xb0\xcc\xb0\xdf\x62\x01\xef\xb9\x54\xda\x85\x51\xfd\x75\xab\xe4\xb9\x7b\x37\x06\xa8\x7d\x72\xd2\x3b\x4d\x96\x75\x89\xa9\x5b\xa6\x4c\x0c\x04\x65\x3e\x8d\x70\x90\xa3\x6c\x53\xcc\x03\x5f\x80\xda\x47\x34\x45\xda\x66\x55\x32\x4e\x14\xd9\xe8\x8f\xd2\x91\x67\xad\x70\x31\x02\xbc\x78\x9c\x5f\x58\x6e\x2d\xf4\x16\xbd\xf6\xfe\xf2\xae\xce\xfa\xbd\xcf\xee\xf5\xd9\xeb\xdb\xdb\x84\x2e\xdd\xee\xde\xde\x6e\x1b\x78\x0f\x54\x1c\xa5\xe2\x9d\x80\x4f\xd0\x6f\x6f\xff\xff\xa6\xd4\x51\x3f\xaa\x30\x74\x21\x0f\xcb\x4d\x8d\x48\xbf\x0e\x0f\xfe\x09\x00\x00\xff\xff\x56\x4f\x26\xc4\xfc\x23\x00\x00") func kuberneteswinagentresourcesvmasTBytes() ([]byte, error) { return bindataRead( @@ -1023,7 +1023,7 @@ func masteroutputsT() (*asset, error) { return a, nil } -var _masterparamsT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x56\xd1\x4e\xe3\x3a\x10\x7d\xe7\x2b\x46\x11\x0f\x7b\xa5\x2a\x1f\x80\x74\x1f\xaa\x96\x0b\xd5\x2e\x55\x45\x96\xde\x67\x13\x4f\xa8\xb5\x8e\x1d\xec\x71\x4b\x88\xf2\xef\x2b\xdb\x69\x1b\x0a\xad\x1a\x76\x25\x78\x22\xb1\xe7\xcc\x9c\xc3\x99\x13\x00\x00\x12\x29\x94\x7b\x19\xf3\x52\xa8\x07\x8b\x46\xb1\x12\x93\x2b\x68\x2e\x20\xfc\x24\x25\x12\xe3\x8c\x58\xef\x1d\x40\xc2\xd1\xe6\x46\x54\x24\xb4\x4a\xae\x20\xf1\x85\xe0\x2b\xa1\xd0\x06\x68\x85\xf0\xc3\x83\xc2\x52\x18\x72\x4c\xc2\x1d\xcb\x57\x42\xa1\x85\x6f\x59\x76\x0b\xda\xc0\x82\x59\xbb\xd1\x86\xff\x93\x26\x1d\x68\x3b\x82\x6d\x4b\xaa\x2b\x3f\x42\x62\xc9\x08\xf5\x14\x2f\xb4\xa3\x8b\x38\x0e\xb3\x84\xe6\x5a\xf1\x4a\x0b\x45\xd3\x79\x36\x67\x25\x2e\x0c\x16\xe2\x65\xf0\xd4\x19\x92\x0d\xc3\x4e\x75\xc9\x84\x8a\x04\x24\x7b\x44\xb9\xa3\x11\xdb\xc1\x6c\x01\x63\xce\x0d\x5a\x9b\x02\xfc\x5c\x21\xe4\x5a\xe5\x8c\x50\x31\x8f\x05\xba\x08\x97\xf9\x3b\x18\xa6\x78\x38\x31\xf8\x24\xb4\x62\x12\xa6\xf3\x0c\x5e\xb5\xf2\xc0\xbf\x10\x5c\x15\x4e\x0b\x27\x65\x0d\xcf\x8e\x49\x51\x08\xe4\x6f\x70\x98\xb5\x3a\x17\x8c\x90\xc3\x46\xd0\x2a\xdc\xaf\xdc\xa3\x14\xb9\x1f\x8a\x75\x43\x9d\x2f\x62\xd3\x88\x02\xd2\xbb\x40\x6b\x61\x74\x21\x24\xa6\x33\x3b\x71\x96\x74\xb9\x9c\x5f\xff\x6c\xdb\xbe\xce\x4b\x85\x94\xb9\x47\x85\x34\x9b\x7e\x5e\xde\xb5\x42\x02\x1b\x60\xb6\x52\x45\xf8\x41\x73\xa3\xb4\xf8\x76\xba\x38\x59\x7f\x2e\x8e\x05\x73\x92\x96\x4c\xba\x00\xd2\x34\x07\x54\x63\x49\xdb\x26\xa3\xcf\x51\xf9\x88\x05\x28\xcd\xf1\x9b\x1d\x62\xe5\xa6\x41\xc5\xb7\x64\x0a\x61\x2c\x4d\xb4\xb2\x98\x3b\x12\x6b\xcc\x88\x91\xc8\x67\x8b\x41\xc4\xfe\x3b\x02\xf2\x07\x54\x03\x82\x77\x59\xc7\x36\xcc\xd9\x71\xfe\xd4\xd6\x2e\xef\x32\xf1\xda\x0f\x97\xa6\xb9\x41\x8a\x3c\xc6\x52\xea\x0d\x72\x7f\xc1\x76\xc2\x9c\x3b\xb1\xdf\x47\x2b\x5e\x71\x3b\xe7\x41\xe8\x9c\xff\x67\x89\xc7\x89\xb5\xab\xfb\x6c\xbc\x08\x4b\xf6\x1d\xeb\xe1\xbe\xcf\x6e\xb7\x2b\xfa\x0b\x6b\x70\x16\x79\xc8\x13\xe6\xfc\xfe\x6a\x60\x52\x76\xf1\x58\x76\xb1\x98\x02\xcc\x35\xc1\x3d\x3e\x3b\x61\x90\xa7\x00\xb3\x02\x94\x26\xb0\x48\x23\xa8\xb5\x83\xd2\x59\x82\xca\xe8\xb5\xe0\x08\x0c\xaa\x2e\x3e\x7d\x83\xa1\x09\xea\x63\x25\x73\xc5\x41\x60\xbe\x37\xd8\x0d\xd2\x83\x12\xcf\x0e\xe7\xbb\x82\xc1\x66\x1a\x43\x9c\x00\x56\xcc\xae\x0e\xb6\xc6\x47\x61\x88\x38\xd2\xe0\x42\x23\x59\x83\xe0\xa8\x48\x14\x75\xb8\x98\x4b\x77\x90\x12\xe7\xf0\x23\x66\x9e\x90\xae\xd5\x5a\x18\xad\x4a\x54\x27\x03\x62\xfc\xea\x0c\x4e\xa4\x76\x7c\x20\x33\x6f\x3a\xe6\x8b\x81\x63\x25\x75\x0d\xb8\x6f\x98\xc2\xc4\x19\x83\x8a\x64\x0d\xd6\x55\x95\x36\x74\x05\xfb\x4e\xa3\xee\xf7\x95\x50\x2c\xb6\x3e\x8f\x5f\xcc\x6e\xb8\x41\x9a\x48\x66\xad\xc8\xef\x34\xdf\x26\xe2\xa8\x69\x08\xcb\x4a\x32\x42\x48\xf2\x78\x5c\x31\xc3\x4a\x9b\x52\x02\x69\xdb\xee\x22\x27\x7e\x00\x82\xff\xb6\xd9\x71\xcb\x6c\x86\xb9\x41\x8a\x9b\xd7\x34\x86\xa9\x27\x04\xb8\x5c\xcf\x14\xc7\x97\x11\x5c\xae\xbd\x68\x70\xf5\xef\x41\x61\xbf\x0a\xa0\xd3\x3f\xfc\x3b\xf1\x1d\xeb\xa5\xaf\x99\x4d\x9b\xa6\x83\x69\xdb\xc1\x9b\xb4\x43\xe1\x3d\x14\xef\x17\xa1\x2c\xf9\x35\xca\xd1\x90\x28\x84\xff\x14\x5b\x28\x8c\x2e\x41\x2b\x90\x6f\x77\xeb\xdc\xf5\xb8\x88\x89\x14\xb9\x5f\xe6\x5b\xea\xbe\x85\x67\x1e\x35\x48\xc3\x3c\x93\x5e\xdb\x5d\x58\xed\xe1\x8f\x2b\xd0\x2b\x7c\xb8\xff\xd1\x34\x5d\x9b\x37\xd2\x1c\x13\xe7\xbd\x3c\x47\xd1\xfa\x12\x05\x55\x3e\x16\xf2\xb8\x56\x7d\xb5\x8e\xe8\xb5\x57\x6c\xfb\x29\xdb\x3b\xac\xef\xb4\x5b\x66\xff\x17\x8a\xeb\x8d\x6d\xdb\xf8\xa6\x7b\xfc\x8c\xfb\x0e\x4a\x3f\xf4\xdf\x26\xde\xf9\x4a\x07\x76\x23\x7c\xa5\x07\x4f\xa9\xf0\x77\x5d\xf8\x60\xa4\x17\xc4\x20\x19\x81\x6b\x84\x1e\x7a\xdf\x92\x27\x7c\xd8\x93\xf3\x94\x78\xe7\x99\x72\xb0\x04\x19\x69\x83\x7f\x71\x15\x03\x5e\x9f\xd3\x70\x41\xfe\x5c\x85\xd3\xab\xb9\x7b\xfe\x1d\x00\x00\xff\xff\x9a\xbe\x8d\xfe\x00\x0e\x00\x00") +var _masterparamsT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x56\xd1\x4e\xe3\x3a\x10\x7d\xe7\x2b\x46\x11\x0f\x7b\xa5\x2a\x1f\x80\x74\x1f\xaa\xc2\x85\x6a\xa1\xaa\xc8\xd2\xfb\x6c\xe2\x09\xb5\xd6\xb1\x83\x3d\x2e\x84\x28\xff\xbe\xb2\x9d\x94\x50\x68\xd5\x74\x57\x5a\x9e\x68\xed\x39\x33\xe7\xe4\xcc\x49\x01\x00\x12\x29\x94\x7b\x9d\xf2\x52\xa8\x07\x8b\x46\xb1\x12\x93\x0b\x68\xce\x20\xfc\x25\x25\x12\xe3\x8c\xd8\xe0\x3b\x80\x84\xa3\xcd\x8d\xa8\x48\x68\x95\x5c\x40\xe2\x0b\xc1\x57\x42\xa1\x0d\xd0\x1a\xe1\xd6\x83\xc2\x4a\x18\x72\x4c\xc2\x1d\xcb\xd7\x42\xa1\x85\x6f\x59\x76\x03\xda\xc0\x92\x59\xfb\xa2\x0d\xff\x27\x4d\x3a\xd0\x76\x02\x7d\x4b\xaa\x2b\x3f\x42\x62\xc9\x08\xf5\x14\x2f\xb4\x93\xb3\x38\x0e\xb3\x84\xe6\x4a\xf1\x4a\x0b\x45\x97\x8b\x6c\xc1\x4a\x5c\x1a\x2c\xc4\xeb\xe8\xa9\x33\x24\x1b\x86\xbd\xd4\x25\x13\x2a\x12\x90\xec\x11\xe5\x96\x46\x6c\x07\xf3\x25\x4c\x39\x37\x68\x6d\x0a\xf0\x63\x8d\x90\x6b\x95\x33\x42\xc5\x3c\x16\xe8\x22\x5c\xe6\x9f\x60\x98\xe2\xe1\xc4\xe0\x93\xd0\x8a\x49\xb8\x5c\x64\xf0\xa6\x95\x07\xfe\x89\xe0\xaa\x70\x5a\x38\x29\x6b\x78\x76\x4c\x8a\x42\x20\xff\x80\xc3\xac\xd5\xb9\x60\x84\x1c\x5e\x04\xad\xc3\xfd\xca\x3d\x4a\x91\xfb\xa1\x58\x37\xd4\xf1\x22\x36\x8d\x28\x20\xbd\x0b\xb4\x96\x46\x17\x42\x62\x3a\xb7\x33\x67\x49\x97\xab\xc5\xd5\x8f\xb6\x1d\xea\xbc\x52\x48\x99\x7b\x54\x48\xf3\xcb\xd3\xe5\xdd\x28\x24\xb0\x01\xa6\x97\x2a\xc2\x8f\x9a\x1b\xa5\xc5\x8f\xd3\xc5\xc9\x86\x73\x71\x2c\x98\x93\xb4\x62\xd2\x05\x90\xa6\xd9\xa1\x1a\x4b\xda\x36\x99\x9c\x46\xe5\x2b\x16\xa0\x34\xc7\x6f\x76\x8c\x95\x9b\x06\x15\xef\xc9\x14\xc2\x58\x9a\x69\x65\x31\x77\x24\x36\x98\x11\x23\x91\xcf\x97\xa3\x88\xfd\xb7\x07\xe4\x37\xa8\x06\x04\xef\xb2\x8e\x6d\x98\xb3\xe3\x7c\xd2\xd6\xae\xee\x32\xf1\x36\x0c\x97\xa6\xb9\x46\x8a\x3c\xa6\x52\xea\x17\xe4\xfe\x82\xed\x84\x39\x76\x62\xbf\x8f\x56\xbc\x61\x3f\xe7\x4e\xe8\x1c\xff\x58\xe2\x71\x62\xed\xfa\x3e\x9b\x2e\xc3\x92\x7d\xc7\x7a\xbc\xef\xb3\x9b\x7e\x45\x7f\x62\x0d\xce\x22\x0f\x79\xc2\x9c\xdf\x5f\x0d\x4c\xca\x2e\x1e\xcb\x2e\x16\x53\x80\x85\x26\xb8\xc7\x67\x27\x0c\xf2\x14\x60\x5e\x80\xd2\x04\x16\x69\x02\xb5\x76\x50\x3a\x4b\x50\x19\xbd\x11\x1c\x81\x41\xd5\xc5\xa7\x6f\x30\x36\x41\x7d\xac\x64\xae\xd8\x09\xcc\xcf\x06\xbb\x46\x7a\x50\xe2\xd9\xe1\x62\x5b\x30\xda\x4c\x53\x88\x13\xc0\x9a\xd9\xf5\xce\xd6\xf8\x28\x0c\x11\x47\x1a\x5c\x68\x24\x6b\x10\x1c\x15\x89\xa2\x0e\x17\x73\xe9\x76\x52\xe2\x18\x7e\xc4\xcc\x13\xd2\x95\xda\x08\xa3\x55\x89\xea\x60\x40\x4c\xdf\x9c\xc1\x99\xd4\x8e\x8f\x64\xe6\x4d\xc7\x7c\x31\x70\xac\xa4\xae\x01\xdf\x1b\xa6\x30\x73\xc6\xa0\x22\x59\x83\x75\x55\xa5\x0d\x5d\xc0\x7b\xa7\x49\xf7\xff\x5a\x28\x16\x5b\x8f\xe2\x27\x75\xce\xba\x29\x0e\x3f\xbd\xdb\xee\xe2\xe9\x11\xd0\xb7\x8a\xf6\x95\x12\x0c\x5a\xed\x4c\x8e\x16\x84\x1a\x3e\xa2\x23\x19\xc4\xb7\x0f\x5c\x23\xcd\x24\xb3\x56\xe4\x77\x9a\xf7\x99\x3e\x69\x1a\xc2\xb2\x92\x8c\x10\x92\x3c\x1e\x57\xcc\xb0\xd2\xa6\x94\x40\xda\xb6\xdb\xd0\x8c\xaf\xb0\xb0\x41\x7d\xfa\xdd\x30\x9b\x61\x6e\x90\x62\x76\x34\x8d\x61\xea\x09\x01\xce\x37\x73\xc5\xf1\x75\x02\xe7\x1b\xaf\x0f\x5c\xfc\xbb\x53\x38\xac\x02\xe8\x15\xf6\x37\xbe\x63\xbd\xf2\x35\xf3\xcb\xa6\xe9\x60\xda\x76\x74\x16\x6c\x51\xf8\x00\xc5\x3b\x5e\x28\x4b\x5e\xd1\x1c\x0d\x89\x42\xf8\x1f\x13\x16\x0a\xa3\x4b\xd0\x0a\xe4\xc7\x74\x38\x76\xc1\xcf\x62\xa6\x46\xee\xe7\x79\x4f\xdd\xb7\xf0\xcc\xa3\x06\x69\x98\x67\x36\x68\xbb\x8d\xdb\x77\xf8\xfd\x0a\x0c\x0a\x1f\xee\x6f\x9b\xa6\x6b\xf3\x41\x9a\x7d\xe2\x7c\x96\x67\x2f\xda\x50\xa2\xa0\xca\xd7\x42\xee\xd7\x6a\xa8\xd6\x1e\xbd\xde\x15\xeb\x5f\xc6\xef\x0e\x1b\x3a\xed\x86\xd9\xff\x85\xe2\xfa\xc5\xb6\x6d\xfc\xa6\xfb\x78\x8a\xfb\x76\x4a\xbf\xf4\xdf\x4b\xbc\xf3\x37\x1d\xd8\x8d\xf0\x37\x3d\x78\x48\x85\x3f\xeb\xc2\x07\x23\xbd\x20\x06\xc9\x08\xdc\x20\x0c\xd0\x87\x96\x3c\xe0\xc3\x81\x9c\x87\xc4\x3b\xce\x94\xa3\x25\xc8\x48\x1b\xfc\x83\xab\x18\xf0\x86\x9c\xc6\x0b\xf2\xfb\x2a\x1c\x5e\xcd\xed\xe7\x5f\x01\x00\x00\xff\xff\xac\xe4\x3e\x2f\xc2\x0e\x00\x00") func masterparamsTBytes() ([]byte, error) { return bindataRead( @@ -1043,7 +1043,7 @@ func masterparamsT() (*asset, error) { return a, nil } -var _swarmagentresourcesclassicT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\x5a\x4d\x6f\xdb\x38\x10\xbd\xe7\x57\x10\xba\xc8\x02\x54\x67\xfb\xb1\x97\xde\xf2\xd1\x2d\x8c\xc6\xa9\x10\xb7\xd9\x43\xa0\x03\x2d\x8e\x6d\x22\x12\x29\x90\x94\x5b\xaf\xa1\xff\xbe\xa0\x64\x59\xa2\x44\xd9\x4e\x6b\x67\xd7\x3e\x04\xb5\x29\xce\x0c\xdf\x3c\x0e\xe7\x51\x5d\xaf\xe9\x0c\x0d\x47\x72\xa2\xb8\xc0\x73\xb8\x8a\x22\x9e\x31\x95\xe7\x17\x08\x21\xb4\x2e\xfe\x22\xe4\xe0\x94\x3e\x82\x90\x94\x33\xe7\x23\x72\x9e\x96\x58\x50\x3c\x8d\x41\x0e\xdc\x7a\x64\x63\xc1\xf5\x42\xc7\x47\xd5\xc4\x88\xa7\x2b\xe7\xe3\xd6\x50\xf1\x4b\xc6\x54\xdb\xca\x7a\x3d\xbc\xc7\x09\xe4\xb9\x19\x86\xbc\xd1\x7f\x0d\x8b\x08\x39\x0c\x27\xa0\x0d\x2c\x93\x3b\xce\xd3\x7b\x4e\xc0\xd9\x0c\xe6\xb5\x63\x02\x29\x30\x22\xbf\xea\x80\x9f\xea\xb9\x4f\x11\x67\x11\x56\x03\x77\x4c\x23\xc1\x25\x9f\xa9\xe1\x3d\xa8\x1f\x5c\x3c\x5f\xa6\xd9\x34\xa6\xd1\x28\xb8\x22\x44\x80\x94\x20\x2f\x5d\x1f\x35\x62\x4c\xb0\x54\x20\x02\xf3\x29\x1d\xb5\xeb\x79\x61\x15\x41\x58\x47\x10\xf3\x08\xab\x0a\x31\x01\x92\x67\x22\x82\xcf\x82\x67\xe9\xc0\x1b\x56\x83\x4d\xac\xaa\x75\x55\x31\x36\x7c\x4b\x03\x96\x40\xc0\x8c\xfe\x04\xe9\x7a\x4f\x09\x27\x03\x8d\xf1\x88\x11\xf8\x39\xf0\xfc\xbd\x73\x36\x88\x7a\xe1\xfe\x47\x5d\xef\x89\xd0\xe5\xd1\xcd\x5f\x63\x09\x37\x31\x96\x92\x46\x25\x7a\x7e\xed\xe1\xad\x67\xb0\x27\x15\x3c\x05\xa1\x28\x48\x93\x43\xb8\xb4\xf4\x6d\x95\x42\x9b\x49\xcb\x64\x42\xff\x01\x39\xc6\xa9\xeb\x59\x19\xf6\x38\xd6\x0f\xb8\x5e\x38\x34\xc3\xd2\xc6\x42\x0b\x91\xd4\xc6\x49\x4d\x98\x0d\x47\x2f\xcd\xf9\xb2\x9c\x9b\xfb\x17\xeb\x35\x30\x92\xe7\x17\xc5\xd6\x1a\xc9\x92\x31\x68\x18\x70\xa1\xe4\xaf\x6c\xac\x5b\x98\xe1\x2c\x36\xb7\xc1\x6f\xb0\xcb\x06\x4a\x8b\xcf\x87\xe4\x80\x30\x39\x01\xa5\x28\x9b\x9b\x03\x7a\x88\x27\x98\x32\x6d\xea\x0e\x4f\x21\xee\xf5\xfa\x89\x91\x94\x53\xa6\x6e\xef\x27\xfa\x87\x92\x43\x6e\xbd\x99\x9a\x79\xd0\x91\x54\x5b\x2f\xae\xd6\x37\x06\xb5\xe0\x44\xdb\xbf\x5d\x31\x9c\xd0\xe8\xa0\xfc\xf5\x6e\xf8\x2a\x83\xe8\x48\x39\x3a\x7e\x0d\xea\x4b\xd8\x91\x0b\x90\xcd\xe3\xdd\xf4\x70\x6e\x4c\x71\xf4\x0c\x8c\x6c\x42\x0c\x38\x8f\xa5\x01\x01\x32\xf8\xb2\xdf\xf3\x75\x69\x4f\x1b\xaa\x82\x68\xcc\xcf\xb7\xff\x0e\x9b\x74\x99\x09\xce\x14\x30\x32\x0a\x6e\x38\x9b\xd1\x79\x26\x8a\x05\xff\x5e\x24\x95\xb1\x0e\x16\xbb\x11\x69\x33\xb8\x04\xc6\xf2\x08\x42\x0e\x25\x46\xc2\x46\xe4\x20\xa2\xb8\xfe\x8b\x68\xd2\xc5\xae\xfd\xad\x07\x55\xca\xa6\x3c\x63\xe4\x1e\xab\x87\x2c\x2e\x56\xf9\x64\x8c\xc7\x1c\x93\x6b\x1c\x63\x16\x51\x36\xdf\x3e\xd2\xc4\x7b\x3d\xf8\x0c\xea\xee\xba\x18\x43\x45\x9c\x9b\xda\xe8\xe5\x3d\x3e\x53\xc1\xa7\x3d\x76\x82\x62\xc8\x66\xe0\x25\x95\xa0\x0e\x1a\x44\xa3\x0a\x54\x85\xbc\xa4\x49\xd5\x29\x8d\x31\xc3\x73\x20\xb7\x54\x3e\xcb\xad\xc3\x97\x74\x48\x4d\x03\x05\x87\xb4\xa3\x58\x42\x9e\xa3\x5f\x2d\x39\x55\xa8\xe8\xbf\xeb\x7f\x76\x36\x92\xfa\xe3\xdb\x9c\xf7\x9c\xa5\x2d\xd7\x3b\xdb\x9f\x3f\x4e\xd1\xf4\x1c\xc7\x68\xb7\xd5\x79\x5b\x64\x6b\x57\x3a\x8e\x80\xc8\xdb\x53\x20\x72\x1c\xa3\x5d\x44\xde\xfd\x06\x22\x87\x02\xf2\xee\x14\x80\x1c\xc7\x68\x17\x90\xf7\xaf\x41\x91\xf7\xa7\x40\xe4\x38\x46\xbb\x88\x7c\x78\x0d\x44\x3e\x9c\x02\x91\xe3\x18\xed\x22\xf2\x67\x71\x92\x9b\x4a\x83\x71\xa5\xeb\xef\x4d\x26\x15\x4f\x1e\xef\x3f\x7d\xdb\xd6\x5e\xdf\x54\x48\x0c\xd4\xe8\xd6\x2d\x6b\xf6\x2e\xa5\xb2\x3d\x81\xfd\xde\x6e\xc8\x30\x83\xb6\x2d\xe8\xf6\xc4\xc5\x5a\x1c\x6c\xbe\x35\xef\x00\x04\x14\xbd\xd8\xa4\xe8\x70\x1c\xd4\x10\xbd\x2e\x8e\x24\xb0\x39\x65\xf0\xa6\xa7\xf5\x7d\x1c\x37\xc5\x82\x8f\xdc\x37\xcb\x44\xca\x46\x4f\x98\xfb\xa7\x90\xe0\x07\xf8\xdf\xdf\x18\x67\xe9\x5c\x60\x02\x01\x8f\x69\xb4\x6a\xcb\xa6\x84\x93\xc2\xf9\x55\xa6\x78\x82\x55\xad\x66\x5a\x3a\x68\x49\x85\xca\x70\x3c\xc6\xd1\x82\x32\x08\x04\x9f\xd1\x18\xda\xc6\x58\x79\xaa\xdb\x47\xeb\xf1\x11\x53\x20\x66\x38\x82\x9d\x3d\x32\xea\xf4\xc9\x06\x5a\x8c\x46\xed\x46\x78\x17\x0a\x8d\x27\x68\xba\xd7\x6f\x9f\xf7\x6e\x0c\x34\x8d\x0a\x63\xb6\x58\xec\x11\xed\x50\xe8\xd6\xe9\xcd\x3e\xf1\x7a\xaf\xc6\x39\x74\x0d\x15\x16\x64\x1f\xf3\xca\x0d\xe7\x23\xf7\xd2\x22\xb0\xfa\x94\xa2\x45\x3d\x75\x65\x40\xf3\xd3\xbf\xfe\xd0\x37\x5a\x62\xeb\x2a\x64\x36\x65\xa0\x7a\xf2\xdd\x5e\xab\x75\x7b\x31\x50\x93\xc2\xc8\xa6\xba\xbc\x34\x4e\xfb\xef\xb6\x5f\x43\x2b\x51\x9c\x54\xd0\x04\x0b\xbd\x3d\x1d\x25\x32\xe8\x46\xd0\xb6\x65\x7e\x0f\x9b\x22\xca\xf0\xe0\x70\xd9\xbb\x1f\x31\x49\x28\xfb\x2e\x41\xd8\x04\xa8\x31\x68\x93\x9d\x11\x4f\xd2\x4c\x81\xa8\x2b\x53\x3f\xbe\x63\xf3\xae\xa5\xd0\x39\xc5\x36\x98\xfc\xc0\x22\x19\x73\x02\xad\xfc\xae\xd7\x9f\x41\x5d\xcd\x81\xa9\xed\x13\xe5\x21\x73\x8b\x15\xd6\x65\xbf\x92\x2f\xbb\x66\x75\x66\x74\x68\xe4\xc4\x94\x65\x3f\x8d\x7a\x60\xd3\xd0\x84\x4a\xbd\xa4\x00\x4b\xf9\x83\x0b\x72\x95\xa9\x05\x30\x45\xeb\x42\x5f\xe4\xac\x93\x59\x47\xca\x85\x5d\x6f\x97\xba\xe7\x0b\xac\xfa\xf6\xaf\x9d\xc9\xce\x33\xac\xf4\x72\x0a\xa0\x53\x2c\x70\x02\x0a\x84\x3e\xbb\xe5\xe2\x61\x72\x15\x54\x56\x2d\xe9\xaa\x5d\x63\xb5\x68\x27\x4a\xca\xc5\x17\x58\x05\x58\x2d\x7a\xd8\xdf\x65\x72\x78\xb8\xa8\x37\xf9\xb8\x69\x33\x7a\x49\x49\x13\x3c\x87\x07\x98\x81\x00\x16\x75\xc7\x35\xa3\x67\x33\x10\xed\x25\x70\x39\xd2\x13\xbf\xea\x31\xeb\xf2\x4b\xcc\xe5\xa2\x77\x6a\x50\x8d\xdb\xa7\xcb\xe7\xac\x67\xe2\xe4\xcb\x77\xfb\x94\x65\x2d\xa7\x63\xac\x40\x2a\x13\xda\xdc\xef\x92\x57\x67\xb7\x10\xe9\x68\xd8\xa6\x2a\x97\x7a\xc0\x06\x48\x54\x9c\xca\x73\xed\xe7\x01\x30\xf9\x5b\x50\x65\x63\x63\xd1\x01\xc1\xd7\xb4\x22\xed\x5f\x82\x27\xc5\x02\x0e\x10\xd2\xe5\xc7\x6f\xbc\x07\x91\x92\x4b\xa2\x03\xb2\xac\x7b\x41\x6e\x38\x53\x98\x32\x10\x56\x82\x6f\x4f\x1c\x51\xe5\x79\x70\x0a\x09\x76\x66\x2a\xdd\x38\x4b\x2d\xef\xb8\x90\x37\xdc\x1c\x13\xd5\x25\xb6\x1c\x4e\x63\x3e\xf5\x91\x5b\xa6\xc2\x35\x34\xcb\xeb\x62\x7d\x66\xfa\x7f\x1f\xd6\xff\x67\xa8\xcf\xec\x66\xe1\x9c\xa1\x3e\xb3\x2b\x8b\x73\x86\xfa\xcc\xee\x42\x8e\x01\x75\x0b\xe9\xd0\xda\xa2\xda\xdf\x8f\xe4\xdd\x57\x0d\x65\x83\xd2\xbc\xf1\xc0\x29\x8e\xa8\x5a\xf5\xb6\xe5\x3b\xff\xa7\xc3\xee\x17\xd9\xc6\x14\x45\xcb\xa6\x6a\xa2\x30\x23\x58\x90\x83\xde\x88\xde\x94\xf2\xe1\xd2\xbc\x59\x98\x44\x38\x86\x09\x6c\xdf\x6c\x5f\xfc\x1b\x00\x00\xff\xff\x10\x67\xd0\x0c\x2c\x22\x00\x00") +var _swarmagentresourcesclassicT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\x5a\x4d\x73\xda\x38\x18\xbe\xe7\x57\x68\x7c\x71\x98\x71\xc9\xf6\x63\x2f\xbd\xe5\xa3\xdb\x61\x1a\x52\x4f\x68\xb3\x07\x86\x83\xb0\x5e\x40\x13\x5b\xf2\x48\x32\x2d\xcb\xf8\xbf\xef\x48\xc6\xd8\xb2\x65\x20\x2d\x64\x17\x0e\x4c\xb0\xfc\x7e\xe8\x79\x1f\x49\xef\x63\x67\xbd\xa6\x33\xd4\x1f\xc8\x91\xe2\x02\xcf\xe1\x3a\x8a\x78\xc6\x54\x9e\x5f\x20\x84\xd0\xda\x7c\x23\xe4\xe1\x94\x3e\x81\x90\x94\x33\xef\x23\xf2\xc6\x4b\x2c\x28\x9e\xc6\x20\x2f\xfd\x6a\x64\xe3\xc1\xef\x4d\xbc\x00\x95\x86\x11\x4f\x57\xde\xc7\xad\x23\x73\x25\x63\xaa\xe9\x65\xbd\xee\x3f\xe0\x04\xf2\xdc\x4e\x43\xde\xea\x6f\xcb\x23\x42\x1e\xc3\x09\x68\x07\xcb\xe4\x9e\xf3\xf4\x81\x13\xf0\x36\x83\x79\x15\x98\x40\x0a\x8c\xc8\xaf\x3a\xe1\x71\x65\x3b\x8e\x38\x8b\xb0\xba\xf4\x87\x34\x12\x5c\xf2\x99\xea\x3f\x80\xfa\xc1\xc5\xf3\x55\x9a\x4d\x63\x1a\x0d\xc2\x6b\x42\x04\x48\x09\xf2\xca\x0f\x50\x2d\xc7\x04\x4b\x05\x22\xb4\xef\xd2\x59\xfb\xbd\xde\xa4\xcc\x60\x52\x65\x10\xf3\x08\x2b\x07\x62\xe5\x75\x1b\xa8\x72\x52\x65\x82\x35\x03\x69\x61\x12\x0a\x98\xd1\x9f\x20\xfd\xde\x38\xe1\xe4\x52\x03\x3c\x60\x04\x7e\x5e\xf6\x82\xbd\x36\x1b\x38\x7b\x93\xfd\xb7\xfa\xbd\x31\xa1\xcb\xa3\xbb\xbf\xc1\x12\x6e\x63\x2c\x25\x8d\x0a\xe8\x82\x2a\xc2\xdb\x9e\x85\x48\x2a\x78\x0a\x42\x51\x90\x36\x81\x70\xe1\xe9\xdb\x2a\x85\x26\xb4\xcb\x64\x44\xff\x01\x39\xc4\xa9\xdf\x73\xd2\xeb\x69\xa8\x6f\xf0\x7b\x93\xbe\x9d\x96\x76\x36\x71\xb0\x48\x6d\x82\x54\x6c\xd9\x10\xf4\xca\xb6\x97\x85\x6d\x1e\x5c\xac\xd7\xc0\x48\x9e\x5f\x98\x75\x35\x90\x05\x5d\x50\x3f\xe4\x42\xc9\x5f\x59\x55\x77\x30\xc3\x59\x6c\xaf\x81\x5f\xa5\x96\x0b\x91\x06\x93\x0f\x29\x00\x61\x72\x04\x4a\x51\x36\xb7\x07\xf4\x10\x4f\x30\x65\xda\xd5\x3d\x9e\x42\xdc\x19\xf5\x13\x23\x29\xa7\x4c\xdd\x3d\x8c\xf4\x85\x82\x40\x7e\xb5\x8c\xea\x45\xd0\x99\x94\x8b\x2e\x2e\x67\x38\x04\xb5\xe0\x44\xfb\xbf\x5b\x31\x9c\xd0\xe8\xa0\xe2\x75\x2e\xf5\xb2\x7c\xe8\x48\x05\x3a\xfe\xee\xd3\x55\xb0\x63\x6e\x3d\xae\x70\xf7\xd3\xc3\x89\x31\xc5\xd1\x33\x30\xb2\xc9\x2f\xe4\x3c\x96\xd6\xfc\x91\x45\x96\xfd\x91\x6f\x0a\x7f\xda\x51\x99\x44\xcd\x3e\xdf\xfe\x3d\xa9\x73\x65\x26\x38\x53\xc0\xc8\x20\xbc\xe5\x6c\x46\xe7\x99\x30\x53\xfe\xbd\x4c\x4a\x67\x2d\x2c\x76\x23\xd2\xa4\x6f\x01\x8c\xe3\x16\x84\x3c\x6a\xd8\x3c\x16\x20\x79\x26\x22\x18\x90\x83\x58\xe2\x07\x2f\xe2\x48\x1b\xbb\xe6\xaf\x0e\x54\x29\x9b\xf2\x8c\x91\x07\xac\x1e\xb3\xd8\xcc\x72\x6c\x8d\xc7\x1c\x93\x1b\x1c\x63\x16\x51\x36\xdf\xde\x52\xc7\x7b\x7d\xf9\x19\xd4\xfd\x8d\x19\x43\x26\xcf\xcd\xae\xd8\xcb\x3b\x62\xa6\x82\x4f\x3b\xfc\x84\x66\xc8\xe5\xe0\x25\xdb\x40\x95\x34\x88\xda\x16\x50\x6e\xe1\x05\x4d\xca\x06\x69\x88\x19\x9e\x03\xb9\xa3\xf2\x59\x6e\x03\xbe\xa4\x31\xaa\x3b\x30\x1c\xd2\x81\x62\x09\x79\x8e\x7e\x75\xbf\x29\x53\x45\xff\x5d\xdb\xb3\xb3\x7f\xd4\x9f\xc0\x15\xbc\xe3\x14\x6d\x84\xde\xd9\xf8\xfc\x71\x8a\x76\xe7\x38\x4e\xdb\x4d\xce\x5b\x53\xad\x5d\xe5\x38\x02\x22\x6f\x4f\x81\xc8\x71\x9c\xb6\x11\x79\xf7\x1b\x88\x1c\x0a\xc8\xbb\x53\x00\x72\x1c\xa7\x6d\x40\xde\xbf\x06\x45\xde\x9f\x02\x91\xe3\x38\x6d\x23\xf2\xe1\x35\x10\xf9\x70\x0a\x44\x8e\xe3\xb4\x8d\xc8\x9f\xe6\x24\xb7\x35\x06\xe3\x4a\xef\xbf\xb7\x99\x54\x3c\x79\x7a\xf8\xf4\x6d\xbb\xf7\x06\xb6\x36\x62\xa0\x06\x77\x7e\xb1\x67\xef\xd2\x28\xdb\x13\x38\xe8\xec\x86\x2c\x37\x68\xdb\x7f\x6e\x4f\x5c\xac\x95\xc1\xe6\x57\x5d\xfa\x0b\x30\xbd\xd8\xc8\x74\x38\x1e\xaa\xc9\x5d\x1f\x47\x12\xd8\x9c\x32\x78\xd3\xd1\xf7\x3e\x0d\xeb\x4a\x21\x40\xfe\x9b\x65\x22\x65\xad\x27\xcc\x83\xa3\x2b\xef\x03\x82\xef\xef\x8a\xb3\x74\x2e\x30\x81\x90\xc7\x34\x5a\x35\x05\x53\xc2\x89\x09\x7e\x9d\x29\x9e\x60\x55\xe9\x98\x86\x02\x5a\x52\xa1\x32\x1c\x0f\x71\xb4\xa0\x0c\x42\xc1\x67\x34\x86\xa6\x33\x56\x1c\xe9\xee\xd1\x6a\x7c\xc0\x14\x88\x19\x8e\x60\x67\x83\x8c\x5a\x4d\xb2\x85\x16\xa3\x51\xb3\x0b\xde\x85\x42\xed\x0e\x9a\xee\x8d\xdb\x15\xbd\x9d\x03\x4d\x23\xe3\xcc\x95\x8b\x3b\xa3\x1d\xc2\xdc\x69\x5e\x6f\x12\x6f\xf6\x0a\x9c\x43\xe7\x50\x62\x41\xf6\x31\xaf\x58\x6d\x01\xf2\xaf\x1c\xea\xaa\x4b\x23\x3a\xa4\x53\x5b\x03\xd4\x3f\xdd\xf3\x9f\x04\x56\x3f\xec\x9c\x85\xcc\xa6\x0c\x54\x47\xbd\x9b\x73\x75\x2e\x2f\x06\x6a\x64\x9c\x6c\xb6\x96\x97\xe6\xe9\xbe\xee\xba\x3a\x71\x12\xc5\x4b\x05\x4d\xb0\xd0\xcb\xd3\x53\x22\x83\x76\x06\x4d\x5f\xf6\xef\x49\x5d\x41\x59\x11\x3c\x2e\x3b\xd7\x23\x26\x09\x65\xdf\x25\x08\x97\xfa\xb4\x06\x5d\x9a\x33\xe2\x49\x9a\x29\x10\xd5\xce\xd4\x8d\xef\xd0\x7e\xca\x62\x44\x8e\x59\x06\xa3\x1f\x58\x24\x43\x4e\xa0\x51\xdf\xf5\xfa\x33\xa8\xeb\x39\x30\xb5\xbd\xa3\x38\x61\xee\xb0\xc2\x7a\xcf\x2f\xb5\xcb\x2e\xab\x96\x45\x8b\x46\x5e\x4c\x59\xf6\xd3\xda\x0f\x5c\x02\x9a\x50\xa9\xa7\x14\x62\x29\x7f\x70\x41\xae\x33\xb5\x00\xa6\x68\xb5\xcb\x9b\x9a\xb5\x2a\xeb\x49\xb9\x70\x8b\xed\x42\xf4\x7c\x81\x55\xd7\xfa\x75\x33\xd9\x7b\x86\x95\x9e\x8e\x01\x3a\xc5\x02\x27\xa0\x40\xe8\x83\x5b\x2e\x1e\x47\xd7\x61\xe9\xd5\x51\xae\x2a\x34\x56\x8b\x66\xa1\xa4\x5c\x7c\x81\x55\x88\xd5\xa2\x83\xfd\x6d\x26\x4f\x0e\x57\xf4\x36\x1f\x37\x3d\x46\x27\x29\x69\x82\xe7\xf0\x08\x33\x10\xc0\xa2\xf6\xb8\x66\xf4\x6c\x06\xa2\x39\x05\x2e\x07\xda\xf0\xab\x1e\x73\x4e\xbf\xc0\x5c\x2e\x3a\x4d\xc3\x72\xdc\x6d\x2e\x9f\xb3\x0e\xc3\xd1\x97\xef\x6e\x93\x65\xa5\xa5\x63\xac\x40\x2a\x1b\xda\x3c\x68\x93\x57\x57\xd7\x28\x74\xd4\x6f\x52\x95\x4b\x3d\xe0\x02\x24\x32\xa7\xf2\x5c\xc7\x79\x04\x4c\xfe\x16\x54\xb9\xd8\x68\xda\x1f\xf8\x9a\x96\xa4\xfd\x4b\xf0\xc4\x4c\xe0\x00\x15\x5d\x7c\x82\xda\xbb\x0f\x29\xb9\x24\x3a\x21\xc7\xbc\x17\xe4\x96\x33\x85\x29\x03\xe1\x24\xf8\xf6\xc4\x11\x65\x9d\x2f\x4f\xa1\xbf\xce\x4c\xa2\x5b\x67\xa9\xe3\xbd\x16\xea\xf5\x37\xc7\x44\xf9\xf8\x5a\xf6\xa7\x31\x9f\x06\xc8\x2f\x4a\xe1\x5b\x82\xe5\x75\xb1\x3e\x33\xf1\xbf\x0f\xeb\xff\x33\xd4\x67\xf6\x58\xe1\x9c\xa1\x3e\xb3\xe7\x15\xe7\x0c\xf5\x99\x3d\x08\x39\x06\xd4\x0d\xa4\x27\xce\x16\xd5\xfd\x72\x24\x6f\xbf\x67\x28\x1a\x94\xfa\xe3\x0e\x9c\xe2\x88\xaa\x55\x67\x5b\xbe\xf3\xbf\x1b\x76\xbf\xbf\xb6\x4c\x14\x2d\x9a\xaa\x91\xc2\x8c\x60\x41\x0e\x7a\x17\x7a\x5b\xc8\x87\x2b\xfb\xc9\xc2\x28\xc2\x31\x8c\x60\xfb\x42\xfb\xe2\xdf\x00\x00\x00\xff\xff\xb9\x29\x08\x6b\x20\x22\x00\x00") func swarmagentresourcesclassicTBytes() ([]byte, error) { return bindataRead( @@ -1063,7 +1063,7 @@ func swarmagentresourcesclassicT() (*asset, error) { return a, nil } -var _swarmagentresourcesvmasT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\xcf\x6f\xe2\xbe\x12\x3f\x77\xa5\xfd\x1f\x2c\x2e\x01\x29\x0b\x87\x77\xfb\xde\xba\xed\xfe\x40\x5b\x5a\x54\x76\x7b\xa9\x38\x98\x78\x00\xab\x89\x1d\xd9\x0e\x2d\x0f\xf1\xbf\x3f\xd9\x49\x20\x4e\xec\x14\x5a\xba\xdb\xa7\xfd\xe6\x82\x12\x7b\xc6\xe3\xf9\xf1\xf1\xcc\x18\x84\x10\xda\x7c\xfc\x80\xcc\xd3\xc1\x29\xbd\x03\x21\x29\x67\x9d\x7f\x50\xe7\x7e\x85\x05\xc5\xb3\x18\x64\x37\xd8\x8f\x5c\xc2\x1c\x67\xb1\x0a\x7a\xd3\x4e\xb8\x23\x8c\x78\xba\xee\xfc\xb3\xe7\x64\x3e\x65\x4c\xd5\xd9\x6c\x36\xfd\x6b\x9c\xc0\x76\x7b\xa1\x47\x2d\x1e\x08\x75\x18\x4e\x40\x53\xc4\x9c\xa7\x9d\xf2\xfb\x76\xbf\x0a\x81\x14\x18\x91\x37\x5a\xba\xfb\x8f\x1f\x36\x1b\x3a\x47\x8c\x2b\xd4\x1f\xca\x8b\x4c\x2a\x9e\xdc\x5d\x7f\xf9\xb9\xdd\xee\xe6\x57\x57\x5e\x31\x50\xc3\x4b\xbd\xa2\x26\x04\x46\xf4\x3c\xc3\x61\x28\xc7\xd9\x2c\xa6\x11\xea\x8f\xb9\x50\x52\x7f\x3f\x43\x28\x74\xcb\x7d\x35\x6b\x30\xc9\x17\x9b\xee\xc5\x8c\x79\x84\x55\xa9\x43\x01\x92\x67\x22\x82\x6f\x82\x67\x69\xb7\xd7\x2f\x07\xab\xda\x2b\xf7\x7d\x1f\x71\x16\x61\xd5\x75\x2d\x7c\x37\xd2\xbf\x63\x01\x73\xfa\x14\xf4\x42\x14\x30\x1a\x7d\x0a\x42\xa4\x35\x3f\x64\x04\x9e\x9c\x54\x37\xf3\xb9\x04\x15\xf4\x7a\x96\xb5\x52\xc1\x53\x10\x8a\x82\xac\xd9\x8c\xa6\x17\x9c\xcd\xe9\x22\x13\x46\x46\x99\xeb\x19\xed\x9e\x4d\xf5\xa5\x22\x78\x49\x77\xcd\x09\x54\x2d\xea\x5c\xcd\xa7\x74\x64\x3d\x9d\x98\x63\xf2\x19\xc7\x98\x45\x20\x3e\xe3\xe8\x01\x18\x39\x27\x44\x80\x94\x63\xce\xe3\x42\xb4\xb3\xb3\x8a\x68\xe5\xcb\x99\xde\x09\xa9\x2a\x34\x18\xc8\x6c\x26\x23\x41\x53\xb3\xad\x41\x10\xa2\xea\x87\x6e\xaf\x5f\x7d\x1d\x92\x30\x18\x58\x76\x33\x14\x75\x4b\xea\xcd\x87\x28\x18\xa4\x82\xaf\x28\x01\x21\x07\x23\x1a\x09\x2e\xf9\x5c\xf5\xaf\x41\x3d\x72\xf1\x30\xa8\x6e\xc2\x30\x71\xfb\x94\xfe\x35\x46\x1d\xcc\x9a\x3b\x1d\x04\xa1\x9b\xaa\xd0\x8a\x9e\x94\x33\x30\x7e\xb9\x57\xc9\x76\xff\xa2\xbd\xb3\xe6\xb0\x15\xfb\xd0\x15\x56\x30\x1c\x9f\xc7\xa5\x73\x8e\x40\x2d\xb9\xd1\xe0\xe5\x9a\xe1\x84\x46\x75\xa3\x22\xd4\x91\xd9\x8c\x81\xb2\x1d\x68\xef\x48\xc4\x1b\xf9\x77\x0c\xd4\xc4\xd0\x96\x91\x64\x91\xd6\xe4\xb3\x5e\x2b\x2f\x53\x07\x3c\xa8\x75\x6a\xbc\xb1\x69\x06\x96\xff\x0e\x99\x02\x31\xc7\x11\xc8\x62\xd5\x6d\x58\xb8\x63\x7f\x28\x47\x98\xe1\x05\x90\x4b\x2a\x1f\x76\xee\x78\x1c\x32\x4e\x14\x17\x78\x01\x55\x46\x36\x4a\xbe\x1c\x18\x5c\x8a\x3c\x5f\x61\x1a\xe3\x19\x8d\xa9\x5a\x4f\xa0\x06\xc8\xde\x10\x4f\x63\xac\xe6\x5c\x24\x5f\x35\x88\x5f\xf2\x04\x53\x76\x51\x22\xf5\x7f\x2c\x34\x2e\x67\xfe\x4a\x09\x56\xd0\x3a\x35\xc9\xb7\xac\x07\x94\xc8\xc0\x85\xdd\x4d\xe3\x5c\xf0\x24\xcd\x14\x0c\xb0\xbd\x0f\xdb\x36\x10\x4b\x40\xb9\x81\x0a\xf5\x9e\x47\xe6\x64\x79\x95\x89\x5e\x79\x78\xd9\x92\xc8\xd6\xb3\x6c\x95\x5c\x71\x9e\x1a\x60\x7c\xfe\x44\xdb\x51\xef\x80\xab\xe9\xcb\xa9\xc1\xcd\xe1\xb8\x80\x08\xa8\xc3\x4a\x82\xa5\x02\x31\xb6\x67\x55\xf0\xa1\x88\x9f\xb7\x39\xae\xa4\xa5\x99\xfc\xb4\x02\x19\xf4\xee\x13\x4e\xba\x98\x90\xee\xfe\xb8\xea\x39\x51\xcd\x56\xed\xee\xf8\x0a\x9f\x5d\xa3\x30\x42\x6f\xfa\xfc\xd4\xa0\x77\x4f\xe8\xea\x0f\x88\xb3\x0f\xdd\x7c\xf2\xce\x2a\x07\xc4\x2d\xce\x49\x7e\x16\x61\x64\xa5\x36\xc9\x84\xfe\x17\xe4\x08\xa7\x41\xcf\x0d\xb9\x23\x3d\x21\xe8\x4d\xfb\xb6\xb0\x9a\xd9\xf4\xb0\x60\x2d\x14\x31\xb0\x19\x54\x63\xd5\x04\xa3\xc1\xd2\xef\x58\x5a\x28\x8a\xea\x99\xc3\x8b\x43\xd5\x13\xae\xa7\x09\x59\xcb\xb7\x09\x56\x98\x50\xf9\x70\x55\x4d\x45\x6d\x2d\xb5\x05\xf0\xef\x09\x62\x3b\x90\x5f\x14\xcc\x27\x0c\xe8\x0a\x95\xd6\xde\xc4\x41\x39\x01\x20\xb5\xf0\xf9\xf3\x91\xff\xae\xe4\xde\xb1\xbd\xc4\x0a\x7b\x61\xa2\x15\x2a\x7e\x13\x5c\x38\x82\xe1\x58\xd8\xb0\xa1\xa3\x92\x9d\x9e\xa0\x22\xfd\x63\xb9\xd6\x09\x72\x9e\xf6\xe2\xf4\x5d\x2a\xa8\x06\x52\x07\x1d\x69\x84\xc9\x09\x28\x45\xd9\xa2\xe1\xc1\x1d\x62\xd2\x4d\xcd\xec\x0a\xcf\x20\xf6\xae\xfb\x85\x91\x94\x53\xa6\x2e\xaf\x27\xd5\xfa\x78\xea\xf0\xb0\x5c\x98\x12\x52\x5b\x6a\x9d\xa3\x4a\x8b\x06\x92\xd7\x8f\xc4\xd7\x5b\xea\x0d\x92\x44\x9f\xdd\x4e\x9d\x21\xb6\x95\xbb\x07\xf9\x88\xa3\x1e\x3e\xb4\x29\xe1\x59\xbc\x51\x35\xd7\x20\xad\x52\x63\x56\x1d\x67\x2e\x38\x53\xc0\xc8\x70\xfc\xb2\x16\x89\xaf\x9b\x54\xb0\x6b\xa8\xe4\x19\xc5\xd4\xdd\x39\xd7\x4f\x7b\x35\x5e\x5a\x6e\x48\x0e\x72\x19\x77\xdb\xa1\x3d\x1b\x41\x47\x54\xf0\x55\xed\x52\x36\xe3\x19\x23\xd7\x58\xdd\x66\xb1\xd9\xeb\xbd\x35\xbe\xef\xa3\x50\xb6\xd8\x4d\xb1\xf4\xbe\xe9\x7e\x03\x75\xf5\xd9\x0c\x22\x23\x6c\x81\x99\xbd\xad\x6f\xd5\x54\xf0\x99\x8f\xd3\xd8\x8c\x39\x59\x1c\x85\x0f\x56\x07\xc8\x05\xf3\x85\xd3\xb4\xb5\x21\x5e\xd9\x7d\xc8\xab\xe8\xa3\x98\xd9\x38\x54\xeb\x1c\x9d\xb8\xdb\x7b\x54\x85\x5c\xaa\xc9\xdd\x0c\x40\x1e\x58\xf4\xa4\x21\x76\x67\xed\xd9\x54\x57\xa7\x8e\x07\xb6\x5b\x43\x2b\x97\x7f\xba\x1b\xc9\x31\x08\x5b\xe6\x77\x92\x07\xff\x3f\x6e\xaa\xbd\x8e\xf6\x17\xa1\x6f\xe9\x1c\xef\x4a\x97\x47\xd4\x31\xa7\xf4\xa5\xbf\x40\x07\xcf\xd7\x67\x95\xfc\xbd\xd6\x6f\x6f\x4b\xd8\x1a\x1d\x6a\x5f\xc2\x76\xc2\x7b\x20\xb7\x44\xbe\x12\xc5\x27\x50\xa3\x34\x72\xe7\x90\x0a\xeb\x2c\xbf\x7c\xb5\x8e\x0e\x01\x26\x95\x9a\x98\xe4\xa4\x83\xaa\xf7\x36\x38\x92\xc0\x16\x94\xc1\xa7\x03\xd5\x71\xb8\x1a\x1c\x67\xcd\x6f\xb9\xb8\x3b\xe9\x85\x5d\xcd\x48\x8d\x32\xaa\x35\xf3\xf3\x59\xda\x9d\xf8\xb5\xd9\xb9\x56\x64\x2d\xb1\x20\x8f\x58\xc0\x58\xf0\x39\x8d\xa1\x21\x55\xde\x81\xf0\xdf\x10\x95\xfd\x07\x1f\xff\x22\x58\x7c\xec\x9b\xb7\x3d\x8d\xde\x5c\x33\x93\x3e\x28\x47\x6e\x70\x0e\xc2\x37\xbc\xb2\x6d\xe4\xd6\xd6\x51\x36\xf5\x28\x87\x4b\x9f\x5e\x30\x49\x28\xfb\x25\x41\xb8\x6a\x12\x6b\xd0\xd5\x74\x35\xbe\x22\xde\xdc\xe3\x8b\xae\xc7\xe4\x11\x8b\x64\xc4\x09\xd4\x2f\x2c\x37\x9b\x6f\xa0\xce\x17\xc0\xd4\x6e\x4a\x7e\xf7\xaf\x01\x79\xbb\x45\xf5\x74\xd7\x43\xd7\xa4\xa9\xdf\x8d\x76\x62\xca\xb2\x27\xab\xd8\x73\x96\x60\x84\x4a\xbd\xa5\x31\x96\xf2\x91\x0b\x72\x9e\xa9\x25\x30\x45\xf7\x48\x62\x6e\xc4\x1c\xf7\xa7\x72\xe9\x29\xd7\xf2\x4a\xec\x07\xac\x1d\x8e\xeb\x71\xdf\x82\xf2\x01\xd6\x7a\x4b\xc6\x40\x29\x16\x38\x01\x05\x42\x1f\x70\x72\x79\x3b\x39\x1f\x97\x7c\x1d\x85\xe6\x7e\x71\xac\x96\x75\xdf\x90\x72\xf9\x03\xd6\x63\xac\x96\x8e\x0b\x5b\xf3\x34\x6e\x95\x2d\xff\x74\xce\x69\xd8\x87\xce\xd1\x77\x2c\xaf\xb4\xd6\x27\x10\x09\x70\xfd\x2b\xc0\xa1\xc6\x7c\x6a\x5d\x64\x63\xbc\x22\x10\x0a\x6e\x4d\xd9\x1b\x56\xb7\x02\xa9\xc8\x0a\x3c\xd1\x64\xfc\x49\x2b\xdb\x64\x99\xa8\x5f\x73\x1e\x9a\xe0\x05\xdc\xc2\x1c\x04\xb0\xa8\x41\xac\xc3\x74\x3e\x07\x51\x97\x9a\xcb\xa1\xa6\xbb\xd1\x63\xce\x6e\x80\xb6\xa0\x5c\x7a\x09\xc7\xe5\xb8\x8b\x58\x3e\x64\x1e\xb2\xc9\x8f\x5f\x2e\x82\x95\xbb\x4a\x2c\x88\x8a\x4a\xd1\xd1\x3f\x79\xbe\x46\x43\x28\xec\x70\x93\x9f\xbb\x2e\x72\x70\xb4\xa4\x6c\xa1\x97\xbd\x05\x4c\x6e\x58\xbc\x6e\x88\x66\x72\x06\xb8\x49\xcb\x18\xfb\x2a\x78\x62\xa4\xf2\x5e\xe8\xbc\x01\x60\x85\xc1\x27\x2e\x09\x95\x0f\x4e\xe5\x2d\x89\x13\x2e\x32\x41\xab\xe2\x88\xd2\x45\xba\xff\x56\xad\x7f\x67\xd5\x1a\xb6\xdf\x7e\xf6\xfa\xa9\xa0\x09\x16\xeb\xb2\xd3\x2d\xfb\xb3\x98\xcf\xc2\x20\x77\xbd\x43\xcb\x84\x43\x95\x85\x4a\x9f\xee\xaf\x96\xa4\x89\x98\xf5\x66\x5e\x13\x41\x0f\x6a\x8e\x95\x99\xe7\x8a\x0a\x95\xe1\x78\x64\x22\x7e\xdf\x3a\xff\xf8\xe1\x7f\x01\x00\x00\xff\xff\x20\xbe\x5b\xf9\x97\x28\x00\x00") +var _swarmagentresourcesvmasT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\x4d\x6f\xe2\xbc\x13\x3f\x77\xa5\xfd\x0e\x16\x97\x80\x94\x85\xc3\xff\xb6\xb7\x6e\xbb\x2f\x68\x4b\x8b\xca\x6e\x2f\x15\x07\x13\x0f\x60\x35\xb1\x23\xdb\xa1\xe5\x8f\xf8\xee\x8f\xec\x24\x10\x27\x76\x0a\x5b\xba\xdb\x47\xfb\x70\xa9\x92\x78\xc6\xe3\x79\xf9\x79\x5e\x8a\x10\x42\x9b\xf7\xef\x90\xf9\x75\x70\x4a\xef\x40\x48\xca\x59\xe7\x23\xea\xdc\xaf\xb0\xa0\x78\x16\x83\xec\x06\xfb\x2f\x97\x30\xc7\x59\xac\x82\xde\xb4\x13\xee\x08\x23\x9e\xae\x3b\x1f\xf7\x9c\xcc\xab\x8c\xa9\x3a\x9b\xcd\xa6\x7f\x8d\x13\xd8\x6e\x2f\xf4\x57\x8b\x07\x42\x1d\x86\x13\xd0\x14\x31\xe7\x69\xa7\x7c\xbf\xdd\xef\x42\x20\x05\x46\xe4\x8d\x96\xee\xfe\xfd\xbb\xcd\x86\xce\x11\xe3\x0a\xf5\x87\xf2\x22\x93\x8a\x27\x77\xd7\x9f\x7f\x6c\xb7\xbb\xf5\xd5\x9d\x57\x0c\xd4\xf0\x52\xef\xa8\x09\x81\x11\xbd\xce\x70\x18\xca\x71\x36\x8b\x69\x84\xfa\x63\x2e\x94\xd4\xef\xcf\x10\x0a\xdd\x72\x5f\xcd\x1a\x4c\xf2\xcd\xa6\x7b\x31\x63\x1e\x61\xe5\xd0\x61\xf9\xde\x56\x5d\x79\xe8\xfb\x88\xb3\x08\xab\xae\x6b\xd7\xbb\x91\xfe\x3b\x16\x30\xa7\x4f\x41\x2f\x44\x01\xa3\xd1\x87\x20\x44\x5a\xed\x43\x46\xe0\xc9\x49\x75\x33\x9f\x4b\x50\x41\xaf\x67\xed\x97\x0a\x9e\x82\x50\x14\x64\xcd\x60\x34\xbd\xe0\x6c\x4e\x17\x99\x30\x52\xca\x5c\xc9\x68\xf7\xdb\x54\x1f\x2a\x82\x97\x74\xd7\x9c\x40\xd5\x9c\xce\xdd\x7c\x1a\x47\xd6\xaf\x13\x73\x4c\x3e\xe1\x18\xb3\x08\xc4\x27\x1c\x3d\x00\x23\xe7\x84\x08\x90\x72\xcc\x79\x5c\x88\x76\x76\x56\x11\xad\x7c\x38\xd3\x27\x21\x55\x85\x06\x03\x99\xcd\x64\x24\x68\x6a\x8e\x35\x08\x42\x54\x7d\xd1\xed\xf5\xab\x8f\x43\x12\x06\x03\x01\x92\x67\x22\x82\xaf\x82\x67\xa9\xa1\xb0\xde\x74\x7b\x7d\x7d\xf8\x10\x05\x83\x54\xf0\x15\x25\x20\xe4\x60\x44\x23\xc1\x25\x9f\xab\xfe\x35\xa8\x47\x2e\x1e\x06\xd5\x43\x18\x26\x6e\x87\xd2\x7f\x8d\x51\x07\xb3\xe6\x49\x07\x41\xe8\xa6\x2a\xb4\xa2\x17\xe5\x0c\x8c\x53\xee\x55\xb2\xdd\x3f\x68\xd7\xac\x79\x6b\xc5\x3e\x74\x85\x15\x0c\xc7\xe7\x71\xe9\x9e\x23\x50\x4b\x6e\x34\x78\xb9\x66\x38\xa1\x51\xdd\xa8\x08\x75\x64\x36\x63\xa0\x6c\x07\xda\x3b\x12\xf1\x86\xfd\x1d\x03\x35\x31\xb4\x65\x18\x59\xa4\x35\xf9\xac\xc7\xca\xc3\xd4\x81\x0d\x6a\x9d\x1a\x6f\x6c\x9a\x81\xe5\x7f\x87\x4c\x81\x98\xe3\x08\x64\xb1\xeb\x36\x2c\xdc\xb1\x3f\x94\x23\xcc\xf0\x02\xc8\x25\x95\x0f\x3b\x77\x3c\x0e\x16\x27\x8a\x0b\xbc\x80\x2a\x23\x3b\xce\x7f\x11\x15\x5c\x5a\x3c\x5f\x61\x1a\xe3\x19\x8d\xa9\x5a\x4f\xa0\x06\xc5\xde\xf8\x4e\x63\xac\xe6\x5c\x24\x5f\x34\x7c\x5f\xf2\x04\x53\x76\x51\x62\xf4\xff\x2c\x1c\x2e\x57\xfe\x4c\x09\x56\xd0\xba\x34\xc9\xcf\xab\x3f\x28\x91\x81\x0b\xb5\x9b\x96\xb9\xe0\x49\x9a\x29\x18\x60\xfb\x1c\xb6\x61\x20\x96\x80\x72\xeb\x14\xba\x3d\x8f\xcc\x9d\xf2\x22\xfb\xbc\xf0\xda\xb2\x25\x91\xad\xb7\xd8\x2a\xb9\xe2\x3c\x35\xa8\xf8\xfc\x5d\xb6\xa3\xde\xa1\x56\xd3\x91\x53\x03\x9a\xc3\x71\x81\x0f\x50\xc7\x94\x04\x4b\x05\x62\x6c\xaf\xaa\x80\x43\x11\x3c\xaf\x70\x51\x49\x4b\x2d\xf9\x3d\x05\x32\xe8\xdd\x27\x9c\x74\x31\x21\xdd\xfd\x45\xd5\x73\xe2\x99\xad\xd7\xdd\xc5\x15\x3e\xbb\x47\x61\x81\xde\xf4\xf9\xa5\x41\xef\x9e\xd0\xd5\x1f\x10\x67\x1f\xb7\xf9\xe2\x9d\x49\x0e\x08\x5a\x9c\x93\xfc\x28\x62\xc8\xca\x68\x92\x09\xfd\x3f\xc8\x11\x4e\x83\x9e\x1b\x6c\x47\x7a\x41\xd0\x9b\xf6\x6d\x61\x35\xb3\xe9\x61\x91\x5a\x28\x62\x60\x33\xa8\x06\xaa\x89\x44\x83\xa2\xdf\xb0\xb4\xf0\x13\xd5\x73\x86\x5f\x8e\x53\x4f\xac\x9e\x26\x5e\x2d\xdf\x26\x58\x61\x42\xe5\xc3\x55\x35\x03\xb5\xb5\xd4\x16\xbd\xbf\x27\x82\xed\x28\x3e\x3e\x92\x4f\x18\xcd\x15\x2a\xad\xba\x89\x83\x72\x02\x40\x6a\xb1\xf3\xe7\xc3\xfe\x4d\xc9\xbd\x63\x7b\x89\x15\xf6\x62\x44\x2b\x4e\xfc\x26\xac\x70\x44\xc2\xb1\x98\x61\xe3\x46\x25\x29\x3d\x41\x15\xfa\x67\x52\xac\x13\xa4\x3a\xed\xd5\xe8\xdb\xd3\x4e\x0d\x9b\x0e\xba\xc9\x08\x93\x13\x50\x8a\xb2\x45\xc3\x77\x3b\xc4\xa4\x98\x9a\xd9\x15\x9e\x41\xec\xdd\xf7\x33\x23\x29\xa7\x4c\x5d\x5e\x4f\xaa\x05\xf1\xd4\xe1\x5b\xb9\x30\x25\x92\xb6\x14\x37\x47\xd5\x12\x0d\x00\xaf\xdf\x84\x2f\x37\xd3\x2b\x24\x86\x3e\xbb\x9d\x34\x2b\x6c\x2b\x6e\x0f\x72\x10\x47\xf5\x7b\x68\x0b\xc2\xb3\x79\xa3\x46\xae\x21\x59\xa5\xa2\xac\x7a\xcd\x5c\x70\xa6\x80\x91\xe1\xf8\xd7\x1a\x22\xbe\xc6\x51\xc1\xae\xa1\x92\x67\x14\x53\xf7\xe5\x5c\x3f\xed\xb5\x77\xd9\xae\x18\x92\x83\xfc\xc5\xdd\x64\x68\xcf\x40\xd0\x11\xf5\x7a\x55\xbb\x94\xcd\x78\xc6\xc8\x35\x56\xb7\x59\x6c\xce\x7a\x6f\x7d\xdf\x77\x4d\x28\x5b\xec\x96\x58\x7a\xdf\x74\xbf\x82\xba\xfa\x64\x3e\x22\x23\x6c\x81\x96\xbd\xad\x6f\xd7\x54\xf0\x99\x8f\xd3\xd8\x7c\x73\xb2\x38\x0a\x1c\xac\x7e\x8f\x0b\xe0\x0b\xa7\x69\x6b\x3a\xbc\xb0\xd7\x90\x97\xcd\x47\x31\xb3\x41\xa8\xd6\x27\x3a\x71\x63\xf7\xa8\x92\xb8\x54\x93\xbb\xfa\x47\x1e\x4c\xf4\x64\x1f\x76\x1f\xed\xd9\x0c\x57\x67\x8c\x07\x36\x57\x43\x2b\x7f\x7f\xba\x1b\xc9\x31\x08\x5b\xe6\x37\x92\xfe\xfe\x1b\x0f\xd5\x5e\x3b\xfb\x0b\xcf\xd7\x74\x8e\x37\xa5\xcb\x23\xca\x97\x53\xfa\xd2\x5f\xa0\x83\xe7\xcb\xb2\x4a\xe6\x5e\xeb\xae\xb7\x65\x6b\x8d\x7e\xb4\x2f\x5b\x3b\xe1\xd4\xc7\x2d\x91\xaf\x38\xf1\x09\xd4\x28\x8a\xdc\x09\xa4\xc2\x3a\xc5\x2f\x1f\xad\xab\x43\x80\x49\xa5\x26\x26\x39\xe9\xa0\xea\x94\x06\x47\x12\xd8\x82\x32\xf8\x70\xa0\x3a\x0e\x57\x83\xe3\xae\x79\xfd\x19\xdd\x49\x67\x73\x35\x0b\x35\x0a\xa8\xd6\xb4\xcf\x67\x66\x77\xd6\xd7\x66\xe4\x5a\x79\xb5\xc4\x82\x3c\x62\x01\x63\xc1\xe7\x34\x86\x86\x54\x79\xd7\xc1\x3f\x0c\x2a\x7b\x0e\x3e\xfe\x45\xa4\xf8\xd8\x37\x07\x3b\x8d\x66\x5c\x33\x8d\x3e\x28\x41\x6e\x70\x0e\xc2\x57\x9c\xce\x36\x12\x6b\xeb\x1e\x9b\x7a\x94\xc3\xa5\x4f\x2f\x98\x24\x94\xfd\x94\x20\x5c\x05\x89\xf5\xd1\xd5\x65\x35\xbe\x22\x5e\xdd\xe3\x8b\x66\xc7\xe4\x11\x8b\x64\xc4\x09\xd4\x67\x93\x9b\xcd\x57\x50\xe7\x0b\x60\x6a\xb7\x24\x9f\xf1\x6b\x34\xde\x6e\x51\x3d\xd7\xf5\xd0\x35\x69\xea\x63\xd0\x4e\x4c\x59\xf6\x64\x55\x7a\xce\xfa\x8b\x50\xa9\x8f\x34\xc6\x52\x3e\x72\x41\xce\x33\xb5\x04\xa6\xe8\x1e\x46\xcc\xfc\xcb\x31\x2a\x95\x4b\x4f\xad\x96\x97\x61\xdf\x61\xed\x70\x5c\x8f\xfb\x16\x94\x0f\xb0\xd6\x47\x32\x06\x4a\xb1\xc0\x09\x28\x10\xfa\x76\x93\xcb\xdb\xc9\xf9\xb8\xe4\xeb\xa8\x32\xf7\x9b\x63\xb5\xac\xfb\x86\x94\xcb\xef\xb0\x1e\x63\xb5\x74\xcc\x66\xcd\xaf\x31\x40\xb6\xfc\xd3\xb9\xa6\x61\x1f\x3a\x47\xdf\xb0\xbc\xd2\x5a\x9f\x40\x24\xc0\xf5\x0f\x00\x0e\x35\xe6\x4b\x1b\x78\xad\xd9\x14\x81\x50\x70\x6b\xca\xde\xb0\xba\x15\x48\x45\x4a\xe0\x89\x26\xe3\x4f\x5a\xd9\x26\xc5\x44\xfd\x9a\xf3\xd0\x04\x2f\xe0\x16\xe6\x20\x80\x45\x0d\x62\x1d\xa6\xf3\x39\x88\xba\xd4\x5c\x0e\x35\xdd\x8d\xfe\xe6\x6c\x05\x68\x0b\xca\xa5\x97\x70\x5c\x7e\x77\x11\xcb\x87\xcc\x43\x36\xf9\xfe\xd3\x45\xb0\x72\x97\x88\x05\x51\x51\x26\x3a\x9a\x27\xcf\x17\x68\x08\x85\x1d\x6e\x92\x73\xd7\xe4\x06\x47\x4b\xca\x16\x7a\xdb\x5b\xc0\xe4\x86\xc5\xeb\x86\x68\x26\x61\x80\x9b\xb4\x8c\xb1\x2f\x82\x27\x46\x2a\xef\x04\xe7\x15\x00\x2b\x0c\x3e\x70\x49\xa8\x7c\x70\x2a\x6f\x49\x9c\x70\x91\x09\x5a\x15\x47\x94\x2e\xd2\xfd\xaf\x64\xfd\x3b\x4b\xd6\xb0\x7d\xdc\xd9\xeb\xa7\x82\x26\x58\xac\xcb\x1e\xb7\xec\xcf\x62\x3e\x0b\x83\xdc\xf5\x0e\xad\x11\x0e\x55\x16\x2a\x7d\xba\xbf\x5a\x92\x26\x62\xd6\x3b\x79\x4d\x04\x3d\xa8\x33\x56\x66\x9e\x2b\x2a\x54\x86\xe3\x91\x89\xf8\x7d\xd3\xfc\xfd\xbb\x7f\x02\x00\x00\xff\xff\xbc\xa8\x50\xdb\x7f\x28\x00\x00") func swarmagentresourcesvmasTBytes() ([]byte, error) { return bindataRead( @@ -1083,7 +1083,7 @@ func swarmagentresourcesvmasT() (*asset, error) { return a, nil } -var _swarmagentresourcesvmssT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\x4b\x6f\xdb\x38\x10\x3e\x37\xbf\x82\xd0\x45\x16\xe0\x3a\xfb\x3a\xf5\x96\x47\xb7\x6b\x34\x4e\x84\xb8\xcd\x1e\x02\x1f\x68\x71\x64\x13\x91\x48\x81\xa4\xdc\x78\x0d\xfd\xf7\x05\xf5\xb2\x28\x51\xb6\xd3\x4d\x13\x17\x59\x1f\x82\xd8\xe4\xcc\x7c\xfc\x66\x86\x9a\x19\x7b\xb3\xa1\x21\x1a\x8d\xe5\x54\x71\x81\x17\x70\x16\x04\x3c\x65\x2a\xcb\x4e\x10\x42\x68\x93\xff\x45\xc8\xc1\x09\xbd\x03\x21\x29\x67\xce\x07\xe4\xdc\xaf\xb0\xa0\x78\x1e\x81\x1c\xb8\xdb\x95\x52\x83\xeb\xcd\x9c\x61\x25\x17\xf0\x64\xed\x7c\xa8\xf5\xe4\x9f\xa4\x4c\xb5\x95\x6c\x36\xa3\x6b\x1c\x43\x96\x99\x28\xe4\x85\xfe\xdb\x54\x88\x90\xc3\x70\x0c\x5a\x7e\x15\x5f\x71\x9e\x5c\x73\x02\x4e\xb9\x98\xd5\x66\x09\x24\xc0\x88\xbc\xd1\x68\xef\xb7\xa2\xf7\x01\x67\x01\x56\x03\x77\x42\x03\xc1\x25\x0f\xd5\xe8\x1a\xd4\x37\x2e\x1e\x4e\x93\x74\x1e\xd1\x60\xec\x9f\x11\x22\x40\x4a\x90\xa7\xee\x10\x35\x10\xc6\x58\x2a\x10\xbe\xb9\x4b\x63\x76\x3d\x6f\x56\x01\x98\xd5\x00\x22\x1e\x60\x55\xb1\x25\x40\xf2\x54\x04\xf0\x49\xf0\x34\x19\x78\xa3\x6a\xb1\xc1\x53\x75\xa8\x0a\x61\xc3\xb2\x34\x28\xf1\x05\x84\xf4\x11\xa4\xeb\xdd\xc7\x9c\x0c\x30\x21\x03\xcd\xf1\x98\x11\x78\x1c\x78\xc3\xfd\x9c\xde\x84\xa1\x04\xe5\x7a\xc6\x5e\xbb\x8d\x92\x7d\x6f\xb6\x7f\xab\xeb\xdd\x13\xba\x7a\x05\x38\xb5\xda\x72\x73\xed\x92\x9a\xda\x44\xf0\x04\x84\xa2\x20\xcd\x40\xc4\x85\xc0\x97\x75\x02\xed\x70\x5c\xc5\x53\xfa\x0f\xc8\x09\x4e\x5c\xcf\x1a\xa6\x77\x13\xbd\xc1\xf5\x66\x23\x13\xaa\x56\x36\xeb\x86\xa3\x2a\x6d\x6c\xc3\xae\x24\xe1\xd4\x14\x97\x85\x68\x36\x3c\xd9\x6c\x80\x91\x2c\x3b\xc9\xb3\x73\x2c\x8b\xb8\x43\x23\x9f\x0b\x25\xbf\x27\x37\x2f\x21\xc4\x69\x64\xa4\xd2\xf7\xc7\xa8\x8d\x91\x56\x4e\x1c\xc0\x3f\x61\x72\x0a\x4a\x51\xb6\x30\x17\xf4\x12\x8f\x31\x65\x5a\xd3\x15\x9e\x43\xd4\x6b\xf4\x23\x23\x09\xa7\x4c\x5d\x5e\x4f\xf5\x07\x45\xa0\xb8\xdb\x7c\x6c\xf8\x40\x03\xa9\x92\x37\xaa\x0e\x37\x01\xb5\xe4\x44\xab\xbf\x5c\x33\x1c\xd3\xe0\x10\xd7\xf5\xde\x18\xb5\xf3\x9e\xc5\x3b\xcf\x7f\x85\xf5\xf9\xea\x59\xef\x2f\x9b\xbd\xab\xf9\xc1\x41\x31\xc7\xc1\x03\x30\x52\xe2\xf3\x39\x8f\xa4\x71\x7e\x64\x04\xca\x7e\xc3\xe7\x85\x3e\xad\xa8\xc2\xd0\x90\xcf\xea\xff\x67\x8d\x38\x09\x05\x67\x0a\x18\x19\xfb\x17\x9c\x85\x74\x91\x8a\xfc\xb4\xff\x0d\x48\xa5\xac\xcd\xc4\x6e\x3e\xda\x91\x5b\xd0\x62\xd9\x82\x90\x43\x89\xe1\xac\x31\x39\x28\x46\x5c\xeb\x65\xda\x1b\x21\x5d\xe6\xda\xef\xec\x9c\x52\x36\xe7\x29\x23\xd7\x58\xdd\xa6\x51\x7e\xc8\xfb\xe6\x72\xc4\x31\x39\xc7\x11\x66\x01\x65\x8b\x7a\x47\x93\xec\xcd\xe0\x13\xa8\xab\xf3\x7c\x0d\xe5\x28\xcb\xdb\xd0\xcb\xec\x16\x13\xc1\xe7\x3d\x6a\xfc\x7c\xc9\x26\xff\x84\xf4\xdf\x42\x06\xd1\xbd\xb7\x8b\x00\xa9\x6a\xab\x09\x66\x78\x01\xe4\x92\xca\x07\x59\x9b\x7b\x4a\x4d\xd5\x54\x50\x44\xcf\x66\x03\x91\x84\xa7\x29\x33\xae\x99\x26\xd2\xd7\xa8\x98\x76\xd6\x9d\xfa\x35\xb4\x19\xef\x79\x6e\xb6\x4c\xef\x2d\x99\x7e\x39\x86\x42\xe9\x25\x40\xec\x2d\x8f\xec\x3e\x7e\x26\x9a\x7f\x3d\x06\x9a\x5f\x02\xc4\x0e\x9a\xdf\xbd\xfb\x81\x04\xff\x76\x0c\x04\xbf\x04\x88\xd7\x8d\xe3\xdf\x8f\x81\xe6\x97\x00\xf1\xba\x34\xff\x71\x0c\x34\xbf\x04\x88\x5e\x9a\xcd\xbe\x8f\x71\xa5\x9f\x90\x17\xa9\x54\x3c\xbe\xbb\xfe\xf8\xa5\x7e\x3a\x0e\xcd\x76\x95\x81\x1a\x5f\xba\x1d\x79\x7b\xdf\xd8\x11\x6f\x56\xa9\xa6\x96\x56\x55\xe5\x28\xac\x7b\xb5\xf2\x5d\x73\xa6\x23\x20\x2f\x91\xa7\x79\xe5\xe9\xa0\xc6\x20\xc3\xc5\x81\x04\xb6\xa0\x0c\xde\xf7\x74\x23\x77\x93\x66\xef\x36\x44\xee\xfb\x55\x2c\x65\xa3\x52\xcf\x7e\xc4\x54\xe5\x00\xf3\x7b\x9b\x95\x34\x59\x08\x4c\xc0\xe7\x11\x0d\xd6\xed\x1e\x36\xe6\x24\xb7\x7d\x96\x2a\x1e\x63\xb5\xed\x2d\xcd\xa6\x74\x45\x85\x4a\x71\x34\xc1\xc1\x92\x32\xf0\x05\x0f\x69\x04\x6d\x5d\xac\x28\xb9\xec\xab\xdb\xf5\x31\x53\x20\x42\x1c\xc0\xce\xbe\x05\x75\x7a\x17\x83\x2b\x46\x83\x56\x73\xb2\x8b\x83\xc6\x0e\x9a\xec\x35\xdb\x67\xbc\x0b\x81\x26\x41\xae\xcc\x02\xc5\x0e\x68\x77\xc0\x77\xc5\x9b\xe5\xfb\xf9\xde\xa6\xf3\xd0\x23\x54\x54\x90\x7d\x51\x57\xa4\xda\x10\xb9\xa7\x96\x8e\xb7\xaf\x6f\xb7\xb4\xb3\xdd\xce\xac\xf9\xea\x3f\xff\xac\xdd\x00\x58\x4e\x21\xd3\x39\x03\xd5\xe3\xee\xf6\x59\xad\xa9\xc5\x40\x4d\x73\x25\xe5\xbd\xf2\x54\x9c\xf6\xcf\x6d\x9f\xce\x6c\x71\xe2\x24\x82\xc6\x58\xe8\xd4\x74\x94\x48\xa1\x0b\xa0\xad\xca\x7c\x3f\x6b\xb6\xb5\x4d\x03\x0e\x97\xbd\xb9\x88\x49\x4c\xd9\x57\x09\xc2\x36\x10\x30\x16\x2d\x63\x80\x80\xc7\x49\xaa\x40\x6c\xaf\xa4\x7e\x72\x27\xe6\xc8\x6b\x58\xa5\xc0\xf4\x1b\x16\xf1\x84\x13\x68\xf9\x76\xb3\xf9\x04\xea\x6c\x01\x4c\xd5\x3b\x8a\x27\xcb\x25\x56\x38\xcb\x50\xbb\xa5\xb4\x4a\x75\x24\x3a\x21\xe4\x44\x94\xa5\x8f\xc6\x55\x60\x1b\x69\x10\x2a\xf5\x89\x7c\x2c\xe5\x37\x2e\xc8\x59\xaa\x96\xc0\x14\xdd\xde\xef\xb9\xc3\xda\x5e\x75\xa4\x5c\xda\xa7\x1f\x45\x37\xfa\x19\xd6\x7d\xa9\x6b\x0f\x62\xe7\x01\xd6\xfa\x34\x39\xcd\x09\x16\x38\x06\x05\x42\x3f\xcd\xe5\xf2\x76\x7a\xe6\x57\x5a\xbb\xbe\xda\x5a\xc6\x6a\xd9\xf6\x92\x94\xcb\xcf\xb0\xf6\xb1\x5a\xf6\xc4\x7d\x37\x86\x67\x07\x4f\x58\xb4\x53\x68\x88\xfe\xc2\xf2\x4a\x53\x3d\x85\x40\x80\xe5\xb2\xeb\x72\x57\x6c\x6c\x63\xcd\xfd\x55\x86\x73\xa9\xab\x03\xba\xeb\x68\x33\x1f\xca\xda\xa7\x37\x29\x68\x8c\x17\x70\x0b\x21\x08\x60\x41\x77\x5d\x67\x54\x18\x82\x68\x43\xe3\x72\xac\x05\x6f\xf4\x9a\xcd\x03\x85\xd7\xe5\xb2\x57\xd2\xaf\xd6\xad\xd2\xf2\x21\xed\x91\x9b\x7e\xfe\x6a\x95\x58\x6d\x47\x2c\x11\x56\x20\x95\x49\x53\x36\xec\xe6\x8e\x8e\xae\x7c\x6e\x83\x46\xed\x4c\xe1\x52\x2f\xd8\xd8\x08\xf2\x72\x60\xa1\xed\xdc\x02\x26\x7f\x0b\xaa\x2c\xc9\x90\x97\x5d\x70\x93\x54\x29\xf3\xa7\xe0\x71\x0e\xff\x80\xe9\x4a\xf1\x1a\x36\xbe\x4d\x93\x92\x4b\xa2\xf1\x74\x4f\xbd\x24\x17\x9c\x29\x4c\x19\x08\x7b\x7a\xd5\xcf\x3a\x51\xf9\x78\xf0\x94\x2e\xe1\xff\xd1\xcd\xe1\x4d\x82\x51\x1a\x58\xbe\x7c\x45\xde\xa8\x7c\xec\x55\xdf\x8e\xc8\xd1\x3c\xe2\xf3\x21\x72\x0b\xff\xda\xaf\xb2\x17\xf4\xe0\x5b\x9f\x0a\xed\xf3\xe0\xd1\x3b\xf0\xad\x4f\x9d\x7e\x7a\x07\xbe\xf5\x79\xd6\x4f\xef\xc0\xb7\x3e\x29\x7b\x0e\x07\xb6\xfc\x37\xb3\x76\x33\xf6\x6f\x36\xb3\xce\x64\xaa\x28\x25\x9b\x23\x31\x9c\xe0\x80\xaa\x75\x6f\xff\xb6\xeb\xa7\x4d\xbb\x7f\x73\xd2\x94\x50\xb4\xa8\x7d\xa7\x0a\x33\x82\x05\x39\xe4\x07\x0c\x17\x45\x93\x79\x6a\x8e\x9e\xa6\x01\xd6\xf5\x7f\xfd\x1b\x94\x93\x7f\x03\x00\x00\xff\xff\x0a\x1e\x86\x82\x19\x26\x00\x00") +var _swarmagentresourcesvmssT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\x4b\x6f\xdb\xb8\x13\x3f\x37\x9f\x42\xd0\x45\x31\xe0\x3a\xff\xff\xee\x9e\x7a\xcb\xa3\xdb\x35\x1a\x27\x42\xdc\x66\x0f\x86\x0f\x63\x71\x64\x13\x91\x48\x81\xa4\xdc\x7a\x0d\x7d\xf7\x05\xf5\xb2\x28\x51\xb6\xd3\xcd\x26\x29\xb2\x3e\x04\xb1\x86\xf3\xe0\x6f\x66\xc8\x99\xb1\xb6\x5b\x1a\x3a\xa3\xb1\x9c\x2a\x2e\x60\x89\xe7\x41\xc0\x53\xa6\xb2\xec\xc4\x71\x1c\x67\x9b\xff\x75\x1c\x17\x12\x7a\x8f\x42\x52\xce\xdc\x0f\x8e\x3b\x5b\x83\xa0\xb0\x88\x50\x9e\x7a\x3b\x4a\x29\xc1\x1b\xcc\xdd\x61\xc5\x17\xf0\x64\xe3\x7e\xa8\xe5\xe4\x4f\x52\xa6\xda\x42\xb6\xdb\xd1\x0d\xc4\x98\x65\xa6\x15\xf2\x52\xff\x6d\x0a\x74\x1c\x97\x41\x8c\x9a\x7f\x1d\x5f\x73\x9e\xdc\x70\x82\x6e\x49\xcc\x6a\xb5\x04\x13\x64\x44\xde\x6a\x6b\x67\x3b\xd6\x59\xc0\x59\x00\xea\xd4\x9b\xd0\x40\x70\xc9\x43\x35\xba\x41\xf5\x8d\x8b\x87\xb3\x24\x5d\x44\x34\x18\xfb\xe7\x84\x08\x94\x12\xe5\x99\x37\x74\x1a\x16\xc6\x20\x15\x0a\xdf\x5c\xa5\x6d\xf6\x06\x83\x79\x65\xc0\xbc\x36\x20\xe2\x01\x28\x0b\x5a\xd5\x73\x03\xa4\x6a\x47\x95\x79\x8d\xf5\xd2\xc0\xc3\x17\x18\xd2\xef\x28\xbd\xc1\x2c\xe6\xe4\x14\x08\x39\xd5\x00\x8f\x19\xc1\xef\xa7\x83\xe1\x61\x40\x6f\xc3\x50\xa2\xf2\x06\xc6\x5a\xbb\x8e\x12\xfa\xc1\xfc\xf0\x52\x6f\x30\x23\x74\xfd\x02\xe6\xd4\x62\xcb\xc5\xb5\x3f\x6a\x68\x13\xc1\x13\x14\x8a\xa2\x34\xa3\x10\x0a\x86\x2f\x9b\x04\xdb\x2e\x5a\xc7\x53\xfa\x17\xca\x09\x24\xde\xc0\x1a\xa3\xf7\x13\xbd\xc0\x1b\xcc\x47\xa6\xa9\x5a\xd8\xbc\x1b\x8b\xaa\xd4\xb1\x8b\xb9\x12\x84\x33\x93\x5d\x16\xac\xd9\xf0\x64\xbb\x45\x46\xb2\xec\x24\x4f\xcd\xb1\x2c\x82\xce\x19\xf9\x5c\x28\xf9\x23\x89\x79\x85\x21\xa4\x91\x91\x47\x3f\x18\xa0\x36\x38\x5a\xd9\x70\x04\xf8\x84\xc9\x29\x2a\x45\xd9\xd2\x24\x68\x12\x8f\x81\x32\x2d\xe9\x1a\x16\x18\xf5\x2a\xfd\xc8\x48\xc2\x29\x53\x57\x37\x53\xfd\xa0\x88\x12\x6f\x97\x89\x0d\x07\x68\x43\xaa\xb4\x8d\xaa\xed\x4d\x50\xad\x38\xd1\xe2\xaf\x36\x0c\x62\x1a\x1c\xe3\xb7\xde\xb3\xa2\xf6\xdc\x93\xb8\xe6\xe9\x0f\xaf\x3e\x5f\x3d\xdd\xc9\x65\x53\x76\xbd\x38\x3a\x22\x16\x10\x3c\x20\x23\xa5\x71\x3e\xe7\x91\x34\x36\xef\x18\x51\x72\x58\xf1\x45\x21\x4f\x0b\xaa\x6c\x68\xf0\x67\xf5\xff\xf3\x46\x90\x84\x82\x33\x85\x8c\x8c\xfd\x4b\xce\x42\xba\x4c\x45\xbe\xdf\x7f\x66\x48\x25\xac\x8d\xc4\x7e\x3c\xda\x61\x5b\xc0\x62\x59\xe2\x38\x2e\xcd\xa3\x78\x26\x50\xf2\x54\x04\x38\x26\x47\x05\x88\x67\x3d\x46\x7b\xc3\xa3\x8b\x5c\xfb\x9b\x1d\x53\xca\x16\x3c\x65\xe4\x06\xd4\x5d\x1a\xe5\x9b\x9c\x35\xc9\x11\x07\x72\x01\x11\xb0\x80\xb2\x65\xbd\xa2\x09\xf6\xf6\xf4\x13\xaa\xeb\x8b\x9c\xe6\xe4\x56\x96\xe7\xe0\x20\xb3\x6b\x4c\x04\x5f\xf4\x88\xf1\x73\x92\x8d\xff\x11\xb9\xbf\x33\x19\x45\xf7\xc4\x2e\x02\xa4\x2a\xa9\x26\xc0\x60\x89\xe4\x8a\xca\x07\x59\xab\x7b\x4c\x29\xd5\x14\x50\x44\xcf\x76\x8b\x91\xc4\xc7\x09\x33\xce\x98\xa6\xa5\x2f\x51\x28\xed\x2d\x37\xf5\x67\x68\x53\xde\x73\x63\xb6\x54\x1f\x2c\x96\xfe\xf7\x1a\x4a\xa4\xe7\x30\xe2\x60\x61\x64\xf7\xf1\x13\xc1\xfc\xff\xd7\x00\xf3\x73\x18\xb1\x07\xe6\x77\xef\xfe\x45\x80\x7f\x79\x0d\x00\x3f\x87\x11\x2f\x1b\xc7\xbf\xbe\x06\x98\x9f\xc3\x88\x97\x85\xf9\xb7\xd7\x00\xf3\x73\x18\xd1\x0b\xb3\xd9\xf1\x31\xae\xf4\x0d\x79\x99\x4a\xc5\xe3\xfb\x9b\x8f\x5f\xea\xdb\x71\x68\x36\xaa\x0c\xd5\xf8\xca\xeb\xf0\xdb\x3b\xc6\x0e\x7b\xb3\x4a\x35\xa5\xb4\xaa\x2a\x57\x81\x6e\xd4\xca\x6f\xcd\x51\x8e\xc0\xbc\x44\x9e\xe6\x95\xa7\xeb\x34\x46\x18\x1e\x04\x12\xd9\x92\x32\x7c\xdf\xd3\x8a\xdc\x4f\x9a\x8d\xdb\xd0\xf1\xde\xaf\x63\x29\x1b\x95\x7a\xf6\xe4\xc3\x94\x23\x74\x1f\xec\x54\xd2\x64\x29\x80\xa0\xcf\x23\x1a\x6c\xda\xdd\x6b\xcc\x49\xae\xfb\x3c\x55\x3c\x06\xb5\xeb\x2a\xcd\x76\x74\x4d\x85\x4a\x21\x9a\x40\xb0\xa2\x0c\x7d\xc1\x43\x1a\x61\x5b\x16\x2b\xea\x2d\x3b\x75\x47\x1f\x33\x85\x22\x84\x00\xf7\x36\x2d\x4e\xa7\x71\x31\xb0\x62\x34\x68\x75\x26\xfb\x30\x68\xac\xa0\xc9\x41\xb5\x7d\xca\xbb\x26\xd0\x24\xc8\x85\x59\x4c\xb1\x1b\xb4\x3f\xda\xbb\xec\xcd\xda\xfd\xe2\x60\xc7\x79\xec\x16\x2a\x28\xc8\xa1\xa8\x2b\xf2\x6c\xe8\x78\x67\x96\x76\xb7\xaf\x63\xb7\xf4\xb2\xdd\xb6\xac\xf9\xe9\xdf\xff\xbc\x5d\xfd\x5b\x76\x21\xd3\x05\x43\xd5\xe3\xee\xf6\x5e\xad\xa9\xc5\x50\x4d\x73\x21\xe5\xa1\xf2\x58\x3b\xed\xcf\x6d\x4f\xe7\xb6\x38\x71\x13\x41\x63\x10\x3a\x35\x5d\x25\x52\xec\x1a\xd0\x16\x65\x7e\x9f\x37\x7b\xda\xa6\x02\x97\xcb\xde\x5c\x04\x12\x53\xf6\x55\xa2\xb0\x4d\x03\x0c\xa2\x65\x06\x10\xf0\x38\x49\x15\x8a\xdd\x91\xd4\x0f\xee\xc4\x1c\x76\x0d\xab\x14\x98\x7e\x03\x11\x4f\x38\xc1\x96\x6f\xb7\xdb\x4f\xa8\xce\x97\xc8\x54\xbd\xa2\xb8\x56\xae\x40\x41\x96\x39\xed\x7e\xd2\xca\xd5\xe1\xe8\x84\x90\x1b\x51\x96\x7e\x37\x8e\x02\xdb\x3c\x83\x50\xa9\x77\xe4\x83\x94\xdf\xb8\x20\xe7\xa9\x5a\x21\x53\x74\x77\xb8\xe7\x0e\x6b\x7b\xd5\x95\x72\x65\x1f\x7d\x14\xad\xe8\x67\xdc\xf4\xa5\xae\x3d\x88\xdd\x07\xdc\xe8\xdd\xe4\x30\x27\x20\x20\x46\x85\x42\x5f\xe5\x72\x75\x37\x3d\xf7\x2b\xa9\x5d\x5f\xed\x34\x83\x5a\xb5\xbd\x24\xe5\xea\x33\x6e\x7c\x50\xab\x9e\xb8\xef\xc6\xf0\xfc\xe8\xf1\x8a\x76\x0a\x0d\x9d\x3f\x40\x5e\x6b\xa8\xa7\x18\x08\xb4\x1c\x76\x5d\xec\x8a\x85\x9d\x9b\x53\x0b\x29\xc3\xb9\x94\xd5\x31\xba\xeb\x68\x33\x1f\xca\xc2\xa7\x37\x29\x68\x0c\x4b\xbc\xc3\x10\x05\xb2\xa0\x4b\xd7\x19\x15\x86\x28\xda\xa6\x71\x39\xd6\x8c\xb7\x9a\x66\xf3\x40\xe1\x75\xb9\xea\xe5\xf4\x2b\xba\x95\x5b\x3e\xa4\x3d\x7c\xd3\xcf\x5f\xad\x1c\xeb\xdd\x7c\x25\x02\x85\x52\x99\x30\x65\xc3\x6e\xee\xe8\xe8\xca\x87\x36\xce\xa8\x9d\x29\x5c\x6a\x82\x0d\x8d\x20\x2f\x07\x96\x5a\xcf\x1d\x02\xf9\x53\x50\x65\x49\x86\xbc\xe6\xc2\xdb\xa4\x4a\x99\xdf\x05\x8f\x73\xf3\x8f\x18\xad\x14\x9f\x61\xe3\x17\x34\x29\xb9\x24\xda\x9e\xee\xae\x57\xe4\x92\x33\x05\x94\xa1\xb0\xa7\x57\x7d\xd7\x89\xca\xc7\xa7\x8f\x69\x11\xfe\x9b\xdb\x1c\xdf\x21\x18\xa5\x81\xe5\x07\x57\x67\x30\x2a\xaf\xbd\xea\x77\x11\x39\x5a\x44\x7c\x31\x74\xbc\xc2\xbf\xf6\xa3\xec\x19\x3d\xf8\xd6\x47\x42\x87\x3c\xf8\xea\x1d\xf8\xd6\x47\x4e\x3f\xbd\x03\xdf\xfa\x30\xeb\xa7\x77\xe0\x5b\x1f\x93\x3d\x85\x03\x5b\xfe\x9b\x5b\xbb\x19\xfb\xcf\x9a\x59\x67\x2c\x55\x94\x92\xcd\x79\x18\x24\x10\x50\xb5\xe9\xed\xdf\xf6\xbd\xce\xb4\xff\x55\x93\x26\x87\xa2\x45\xed\x3b\x55\xc0\x08\x08\x72\xcc\xab\x0b\x97\x45\x93\x79\x66\x8e\x9e\xa6\x01\xe8\xfa\xbf\x7e\xf5\xe4\xe4\xef\x00\x00\x00\xff\xff\xf6\xf4\x3f\x13\x0d\x26\x00\x00") func swarmagentresourcesvmssTBytes() ([]byte, error) { return bindataRead( @@ -1143,7 +1143,7 @@ func swarmbaseT() (*asset, error) { return a, nil } -var _swarmmasterresourcesT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xdc\x59\x4f\x53\xdb\xbc\x13\xbe\xf3\x29\x3c\xbe\x18\xcf\xa4\x49\x7f\x99\x9e\xb8\x51\xfe\xb4\x99\x12\xc8\x60\xca\xef\xc0\x70\x50\xa4\x0d\xd6\x60\x4b\x1e\x49\x0e\xe4\x65\xf2\xdd\xdf\x91\xff\x24\x96\x2c\x07\xa7\xd0\xbe\x6d\xb9\xb4\x20\x69\x25\xed\x3e\xfb\xec\xa3\xb5\xe7\x79\xde\xcb\x81\x57\xfc\xf8\x28\xa3\xb7\x20\x24\xe5\xcc\x3f\xf2\xfc\xbb\x25\x12\x14\xcd\x13\x90\x87\xc1\x76\x24\x52\x5c\xa0\x07\x08\xc2\x7b\x7f\x50\xaf\x23\x90\x01\x23\xf2\x4a\x2f\xbb\xab\xfe\xe8\x79\xfe\x1d\xe6\x0c\x23\x75\x18\x4c\x29\x16\x5c\xf2\x85\x1a\x5e\x82\x7a\xe2\xe2\x71\x94\xe5\xf3\x84\xe2\xc9\xec\x98\x10\x01\x52\x82\x1c\x05\x03\xaf\xb1\x5f\x8a\xa4\x02\x31\x33\x67\x5d\xa2\x14\x82\x30\xbc\xf7\xab\x2d\xee\x37\x07\x48\x38\x46\xaa\x3e\xb6\x00\xc9\x73\x81\xe1\x8b\xe0\x79\x76\x18\x0e\xeb\xc1\xc6\x81\x19\x4a\xc1\xbe\x62\xb9\x65\x75\xbd\x63\x8c\x79\xce\x54\xb9\x63\x63\x61\x26\x78\x06\x42\x51\x90\xfe\xd1\xc6\x6f\xda\x73\xe5\xfc\x9b\x55\xd6\xb2\xbb\x4c\x23\xfa\x0f\xc8\x29\xca\x82\xb0\xbd\xdf\xed\x54\x8f\x06\xe1\xfd\x50\x1a\x3b\x6b\x4b\x9b\x8b\xae\x37\xfb\xab\x6a\x83\xad\x47\xab\x03\x8f\xcc\xe5\xb2\x5c\xba\x1e\x1c\xbc\xbc\xd0\x85\xc7\xb8\xf2\x86\xd3\xd2\xa7\x82\x2f\x68\x02\xc3\x89\x3c\xc9\xa5\xe2\xe9\xed\xe5\xd9\xcd\x7a\x7d\xb0\x37\x0e\x4e\x61\x81\xf2\x44\x19\xde\x79\x8f\x30\x2c\xa9\x50\x39\x4a\x2a\xa0\xf4\x0f\x40\x09\x91\x28\x43\x18\x8c\x91\xed\xd8\x4c\xc0\x82\x3e\x17\x0b\xef\x1a\xc3\x9e\xf7\xf2\xf2\x05\x94\xf6\xc3\xb1\x39\xb1\x72\x4b\x05\xb6\xcd\xff\x37\xd1\xf0\x3c\x5f\xe6\x73\x06\xca\x36\xb9\x31\x18\x95\xc3\xde\x02\x25\x12\x1a\xe6\xee\x7b\x04\xb6\x4e\x15\xd3\x21\xcd\xc0\x02\x23\xbf\x53\xe4\x4a\x40\x1f\x2f\x11\x4d\xd0\x9c\x26\x54\xad\x22\x50\x3b\x82\xb7\xeb\xf2\x27\x3c\xcd\x72\x05\x23\x64\x5a\xdb\xde\xfe\x37\xbb\xb5\x93\xa9\x7a\xc0\x96\x30\x19\x81\x52\x94\x3d\x48\x1b\xb5\x84\xa7\x88\x32\x6d\xe9\x02\xcd\x21\x71\xef\x7b\xc6\x48\xc6\x29\x53\xa7\x97\x91\x9e\x59\x22\x37\xd8\x52\xa4\x89\xd6\x0d\xeb\x26\xf5\xe5\xa6\xa0\x62\x4e\xb4\xed\xd3\x15\x43\x29\xc5\x7d\x28\xa7\x93\xc4\xdf\x37\x3a\x7f\x51\x55\xb9\x98\xf7\x46\xc4\x1c\xe1\x47\x60\xa4\xa6\x22\xce\x93\x16\xbb\x18\xe4\xb5\x73\xd7\xcf\xa5\x31\x6d\xa5\x3e\x40\x63\x71\x83\x8f\x1a\x20\x59\x08\xce\x14\x30\x32\x99\x9d\x70\xb6\xa0\x0f\xb9\x28\xee\xf9\x86\x53\xd4\x96\x6c\x1f\xec\xf6\x84\x8d\xd9\xd2\x21\x8e\x29\x9e\xe7\x53\x62\xc4\x68\x42\x7a\xa1\x23\x18\xec\x8b\x8d\xb6\xe7\xec\xdf\x7e\x8c\xe3\x13\x8e\xc8\x67\x94\x20\x86\x41\xbc\x73\x16\x61\x9e\xad\x4c\x84\x15\x02\xc1\x1d\xab\x13\x3d\x64\x86\x68\x13\xd9\x3a\x9a\x17\x9c\x67\x97\x9c\x40\x9b\x29\xba\x12\xd6\x05\x89\xd3\xe0\x5d\x33\xae\xe2\x84\xce\xc4\x1b\x78\x81\xe6\x82\x20\x8a\xbe\x7e\x70\x71\xc2\xed\xb4\x49\x9f\x03\x4f\x7b\x6d\xc2\x08\x3c\x1f\x86\x7b\x24\xed\x8c\x0b\xed\xd8\xf1\xb8\xe1\x3e\x60\x7a\xa3\xf3\x84\x23\xcd\xf2\x93\x99\x7f\x54\xaa\x81\xd7\x33\xce\x2e\x08\x15\xc8\x77\x24\x98\xe1\x55\x93\xfa\xeb\x3d\xaa\x23\x6a\x8f\xd5\x37\x1c\x8f\x3f\x7e\x34\x43\x9e\x09\xae\x38\xe6\x45\xcd\x51\x38\xdb\xa7\x26\x18\x48\x1e\x51\x36\xe7\x39\x23\x97\x48\x5d\xe7\xc9\xaf\xaa\x0f\xff\x21\xdc\x22\x19\x6b\x07\x8f\xc7\x13\xe3\xe2\x26\xb6\x82\x8f\xfb\x14\x82\x0d\xa6\xfe\x04\x54\x8d\xc7\x7f\x1e\x8c\xde\x8d\x20\x19\xc5\x7d\xb9\x71\x8f\x47\x59\x0b\xd3\x4b\x06\xaa\x0c\x89\xf9\x06\x78\x05\xfc\x83\xb6\x82\xea\x0b\xdf\x09\xd9\x80\xd7\xc4\xee\x2b\xb6\x3a\xad\x98\xec\x5a\xdb\xfa\xf9\xe9\x69\xb3\x7c\xc0\x28\xd6\xe5\x60\x4f\xb6\xa7\xd9\x8f\x28\xa3\x7a\x55\x81\x8f\xbd\x24\x50\x33\x19\x3e\xbf\x2a\x0f\x5d\x87\xa8\x0f\x4e\x5e\x29\x96\x1a\x2a\xba\x54\x3a\x44\xa8\x53\x4a\x3b\x14\x66\x5b\x2c\xd9\x72\xc9\x90\x9b\x8e\x2b\x4e\xac\x6c\xef\xa2\x27\x73\x5a\x10\x36\x4a\x5a\x78\x6f\xab\xcc\xc2\xc9\x74\x89\x14\x34\xa5\x64\xb7\x2f\xce\xa9\x90\x4a\x4f\x74\x69\x02\xca\x76\xad\xb8\xc2\x0a\xd4\xa7\x20\x0c\xc3\x96\xd6\x35\x4e\xe1\x78\x84\x45\x0a\x29\x8a\xdb\x8b\xca\x36\xc3\x4e\xed\xdb\x06\x3b\x03\x55\xf6\x1f\x2c\x02\x77\xc5\xe4\xed\x12\x96\x95\xff\x4e\x98\x02\xb1\x40\xf8\xb7\x65\xe9\x65\xba\xbf\x80\xed\x7e\x71\xb6\x6e\xed\x4c\x93\xfd\x78\xc7\xbd\x63\x57\x47\x64\xe4\x78\xc5\xb4\x7a\x30\x96\xf5\x9e\x5d\xcf\x16\x21\x2b\xf4\x20\xfd\xa3\xea\xb7\x66\x28\x04\x14\x40\x8e\x0a\x86\xf6\xbd\x46\x62\x05\x08\x4b\x60\x0f\x94\xc1\x0f\xe8\xee\x56\x80\x7e\x7a\x45\xd8\xb3\x12\x58\xc1\xe8\xd0\x56\xee\x67\x69\x57\x40\x7b\xc6\xd3\xa9\xc7\x62\x24\xc8\x13\x12\x50\xe9\x09\xfb\x3c\x65\x2b\xba\x83\x2e\xea\x46\xb4\xdb\x72\x05\xf4\x0e\xc3\xed\xe4\x6f\xf5\x58\x6d\x4a\xeb\xf5\x64\x6f\xd9\x0d\x06\x6f\xa9\xed\x36\x0b\xbe\xde\xdf\xe5\xb2\xe3\xc6\x88\xa4\x94\x7d\x97\x20\x5c\x8d\x0f\x63\xd0\xee\x78\xf8\xb8\x0c\xbc\x78\x27\x70\x16\xde\xd5\x7a\x72\x78\x25\x70\x0c\x52\x09\xa4\x78\x43\x51\x46\x4f\x48\xa4\x53\x4e\x60\x6d\x52\x7e\xd1\xa4\x2e\xe5\xe7\x66\x4a\xa9\x3e\x4f\x91\x42\xc6\xe4\x97\x17\x30\xfb\xd7\xae\xf5\xdd\x6b\x0d\x89\xaa\xb3\x98\xb2\xfc\x79\xd7\xa3\x44\x53\x31\x95\xda\x17\x33\x24\xe5\x13\x17\xe4\x38\x57\x31\x30\x45\xb7\xe9\xaf\x44\xde\x92\x51\x52\xc6\xee\x1a\x59\xb6\x7e\xbe\xc1\xca\x2d\x96\xbc\x0e\xc1\x54\xad\x7e\x84\x95\xbe\x96\x1d\x65\x29\xe3\xeb\xe8\x78\x56\x9b\x6e\x77\xb6\xcc\x23\x20\x15\x3b\x2c\x7c\x83\xd5\x0c\xa9\xd8\x51\xa0\xcb\x1f\x5b\x3a\x35\x81\x6a\x8f\xaf\x5b\x88\xb8\xd0\x9e\xae\xa1\xf0\x15\xc9\x08\xb0\x00\x65\x7e\xd8\x30\xb0\x29\xcb\x09\xf6\x41\x93\x86\x9d\xca\x86\x75\x62\x3b\xcc\xc6\x47\x92\xb2\xba\x74\x64\x12\x4d\xd1\x03\x5c\xc3\x02\x04\xb0\xd6\xb7\x1b\x9d\x82\x8b\x05\x08\xfb\x40\x5c\x4e\xf4\xb2\x2b\x3d\xe6\x6a\x29\xea\xa0\xc8\xb8\x73\xdd\xac\x1e\x77\xac\x95\x8f\x79\xc7\xaa\xe8\xdb\x77\xc7\xfc\xa5\x5b\xce\x54\x6b\x2a\x49\x63\x77\x5e\x0d\xa7\x73\x79\x4a\xe5\x63\xfb\xe6\x18\xe1\x98\xb2\x07\x6d\xf9\x1a\x10\xf9\xbf\xa0\xaa\x05\xf9\xa2\xf4\xc2\x55\x56\xa7\xc5\xb9\xe0\x69\xb1\xb1\x3d\xf1\x2d\x6c\x33\x08\x3e\x70\x49\xa8\x7c\x74\x5d\x3f\x26\xae\x37\x4b\x2e\x68\x73\x37\x51\xc7\xf7\xb0\xad\x6c\x3a\xbe\x60\x3a\x95\x94\x4b\xa8\x84\xc6\x3c\xc7\x97\xea\x70\x98\x09\x9a\x22\xb1\xaa\xbf\x96\xc8\xe1\x3c\xe1\xf3\x81\x17\x2c\x63\xd2\x4f\xb1\x35\x9d\xe1\xd5\xde\x18\x2e\x63\xd2\x4a\x5c\x77\x42\xae\x7b\x28\xe9\x5a\x10\x54\x1f\xfc\xa6\x45\xf4\xff\x22\x1d\xbd\x5b\xd7\x5a\xb7\x1e\x15\xa5\x7b\xff\xba\xf8\x4b\xda\x7c\xbb\xd1\x31\xc2\x55\x69\x83\x72\x76\xaf\x6e\x9f\xc1\x58\x5b\xef\x5c\x45\x37\x27\x67\xcf\x0a\x98\x2c\x1a\x0d\x4d\x52\xed\xf8\x6c\x88\x79\x9a\x22\x46\x6e\xf8\xd9\x33\xe0\x5c\x75\xa8\xbd\xb2\x58\x47\x58\xd0\x4c\xb5\x04\x8a\x66\xe9\xef\x82\x16\xb5\xd2\x2d\x8b\x6a\xf0\x36\xcd\x9c\x73\x51\x94\x1b\xdf\x9a\xf7\x15\x31\x92\x80\x68\xa0\xf5\x7f\xc3\x4f\x7d\x7a\x81\x5d\xc8\x80\xad\x3f\xca\xd4\x38\xf8\x37\x00\x00\xff\xff\x2a\x06\xa2\xf5\xc5\x22\x00\x00") +var _swarmmasterresourcesT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xdc\x59\xcb\x53\xdb\xbe\x16\xde\xf3\x57\x78\xbc\x31\x99\x49\x93\xde\x4c\x57\xec\x28\x8f\xdb\x4c\x09\x64\x30\xe5\x2e\x18\x16\x8a\x74\x82\x35\xd8\x92\x47\x92\x03\xb9\x0c\xff\xfb\x1d\xf9\x91\x58\x0f\x07\xa7\xd0\xfb\x6b\xcb\xa6\x05\x49\x47\xd2\x39\xdf\xf9\xce\xa7\xe3\x20\x08\x82\x97\x83\xa0\xfc\x09\x51\x4e\x6f\x41\x48\xca\x59\x78\x14\x84\x77\x2b\x24\x28\x5a\xa4\x20\x0f\xa3\xed\x48\xac\xb8\x40\x0f\x10\x0d\xee\xc3\x61\xb3\x8e\x40\x0e\x8c\xc8\x2b\xbd\xec\xae\xfe\x63\x10\x84\x77\x98\x33\x8c\xd4\x61\x34\xa3\x58\x70\xc9\x97\x6a\x74\x09\xea\x89\x8b\xc7\x71\x5e\x2c\x52\x8a\xa7\xf3\x63\x42\x04\x48\x09\x72\x1c\x0d\x83\xd6\x7e\x19\x92\x0a\xc4\xdc\x9c\x75\x89\x32\x88\x06\x83\xfb\xb0\xde\xe2\x7e\x73\x80\x94\x63\xa4\x3c\xc7\x6e\xfe\x6e\x9c\x96\xa1\x0c\xec\x89\xd5\x7e\xf5\xdd\x8e\x31\xe6\x05\x53\xd5\x76\xad\x85\xb9\xe0\x39\x08\x45\x41\x86\x47\x1b\xa7\x69\xb7\x55\xf3\x6f\xd6\xb9\x63\x77\x95\xc5\xf4\xbf\x20\x67\x28\x8f\x06\xee\x7e\xb7\x33\x3d\x1a\x0d\xee\x47\xd2\xd8\x59\x5b\xda\xdc\xf2\x75\xb3\xbf\xaa\x37\xd8\xba\xb3\x3e\xf0\xd8\x5c\x2e\xab\xa5\xaf\xc3\x83\x97\x17\xba\x0c\x18\x57\xc1\x68\x56\x39\x54\xf0\x25\x4d\x61\x34\x95\x27\x85\x54\x3c\xbb\xbd\x3c\xbb\x79\x7d\x3d\xd8\x1b\x04\xa7\xb0\x44\x45\xaa\x0c\xef\xbc\x3b\x06\x2b\x2a\x54\x81\xd2\x1a\x22\xfd\xbd\x5f\x81\x23\xce\x11\x06\x63\x64\x3b\x36\x17\xb0\xa4\xcf\xe5\xc2\xbb\xd6\x70\x10\xbc\xbc\xfc\x1b\x94\x76\xc2\xb1\x39\xb1\xf6\x49\x0d\xb3\xcd\xff\x37\xa1\x08\x82\x50\x16\x0b\x06\xca\x36\xb9\x31\x18\x57\xc3\xc1\x12\xa5\x12\x5a\xe6\xee\x7b\x44\xb5\x49\x12\xd3\x21\xed\xa8\x02\x23\xbf\x4d\xd8\x2a\x28\x1f\xaf\x10\x4d\xd1\x82\xa6\x54\xad\x63\x50\x3b\x22\xb7\xeb\xe6\x27\x3c\xcb\x0b\x05\x63\x64\x5a\xdb\x5e\xfd\x77\xba\xb2\x97\x9d\x7a\x00\x96\x30\x19\x83\x52\x94\x3d\x48\x1b\xaf\x84\x67\x88\x32\x6d\xe9\x02\x2d\x20\xf5\xef\x7b\xc6\x48\xce\x29\x53\xa7\x97\xb1\x9e\x59\x61\x36\xda\xd2\xa2\x89\xd3\x0d\xd3\xa6\xcd\xf5\x66\xa0\x12\x4e\xb4\xed\xd3\x35\x43\x19\xc5\x7d\x98\xa6\x93\xb8\x3f\x36\x34\x7f\x4b\x25\xb9\x58\xf4\x86\xc3\x02\xe1\x47\x60\xa4\x61\x20\xce\x53\x87\x54\x0c\xce\xda\xb9\xeb\xd7\xca\x98\xb6\xd2\x1c\xa0\xb5\xb8\x45\x43\x2d\x84\x2c\x05\x67\x0a\x18\x99\xce\x4f\x38\x5b\xd2\x87\x42\x94\x37\x7d\xc7\x29\x1a\x4b\xb6\x0f\x76\x7b\xc2\x06\x6c\xe5\x10\xcf\x94\x20\x08\x69\x89\xdf\x3b\x01\x92\x17\x02\xc3\x94\xf4\x82\x46\x34\xdc\x17\x18\xae\xe7\xec\xdf\x7e\x8e\xda\x53\x8e\xc8\x57\x94\x22\x86\x41\x7c\x70\x0a\x61\x9e\xaf\x4d\x84\x95\xa2\xc0\x1f\xab\x13\x3d\x64\x86\x68\x13\xd9\x26\x9a\x17\x9c\xe7\x97\x9c\x80\x4b\x13\x5d\xd9\xea\x83\xc4\x69\xf4\x71\xe9\x56\xb3\x41\x67\xd6\x0d\x83\x48\xb3\x40\x14\xc7\xdf\x3e\xf9\xd8\xe0\x76\xd6\x26\xce\x61\xa0\x5d\x36\x65\x04\x9e\x0f\x07\x7b\x64\xec\x9c\x0b\xed\xd5\xc9\xa4\xe5\x3b\x60\x7a\xa3\xf3\x94\x23\xcd\xef\xd3\x79\x78\x54\x29\x80\xb7\xd3\xcd\x2e\x05\x35\xc2\x77\x64\x97\xe1\x52\x93\xf4\x9b\x3d\xea\x23\x6a\x8f\x35\x37\x9c\x4c\x3e\x7f\x36\xe3\x9d\x0b\xae\x38\xe6\x65\xb5\x51\x38\xdf\xa7\x1a\x18\x30\x1e\x53\xb6\xe0\x05\x23\x97\x48\x5d\x17\xe9\xff\xab\x32\xfc\x53\x58\x8b\x65\xa2\xbd\x3b\x99\x4c\x8d\x5b\x9b\xc0\x8a\x3e\xef\x53\x02\x36\x80\xfa\x13\x20\x35\x99\xfc\x79\x18\xfa\x30\x6a\x64\x14\xf7\x65\xc5\x3d\x9e\x60\x0e\xa0\x57\x0c\x54\x15\x12\x53\xf4\xbf\x81\xfc\xa1\x2b\x9c\xfa\xc2\x77\x4a\x36\xe0\x35\xb1\xfb\x86\xad\x4e\x2b\x26\xb5\x36\xb6\x7e\x71\x6e\xda\xfc\x1e\x31\x8a\x75\x21\xd8\x93\xe7\x69\xfe\x33\x82\xa8\x59\x55\x82\x63\x2f\xe5\xd3\xce\x84\xaf\x6f\xaa\x42\xdf\x21\x9a\x83\x93\x37\xca\xa4\xc6\x89\x2e\x92\x1e\xed\xe9\x95\xcf\x1e\x61\xe9\x6a\x24\x5b\x25\x19\x2a\xd3\x73\xc5\xa9\x95\xea\x5d\xdc\x64\x4e\x8b\x06\xad\x62\x36\xb8\xb7\xc5\x65\xe9\x64\xba\x42\x0a\xda\x0a\xb2\xdb\x17\xe7\x54\x48\xa5\x27\xfa\xd4\x00\x65\xbb\x56\x5c\x61\x05\xea\x4b\x34\x18\x0c\x1c\x89\x6b\x9c\xc2\xf3\xf0\x8a\x15\x52\x14\xbb\x8b\xaa\xa6\xc2\x4e\xc9\xeb\x82\x9d\x81\xaa\xba\x0d\x16\x7b\xfb\x62\xf2\x7e\xe5\xca\xaa\x7f\xa7\x4c\x81\x58\x22\xfc\xdb\x52\xf4\x2a\xdb\x5f\xb7\x76\xbf\x32\x9d\x5b\x7b\xd3\x64\x3f\xde\xf1\xef\xd8\xd5\x02\x19\x7b\x1e\x2f\x4e\xd3\xc5\xb2\xde\xb3\xc1\xe9\xb0\xb1\x42\x0f\x32\x3c\xaa\x7f\x6b\x87\x42\x40\x09\xe4\xb8\x7c\x74\x85\x41\x2b\xb1\x22\x84\x25\xb0\x07\xca\xe0\x27\x14\xb7\x13\xa0\x5f\x5b\x0e\xf6\x2c\x03\x56\x24\x3a\x54\x95\xff\x29\xda\x15\xcd\x9e\xc1\xf4\x2a\xb1\x04\x09\xf2\x84\x04\xd4\x4a\xc2\x3e\x4f\xd5\x72\xee\xe0\x8a\xa6\xe1\xec\xb7\x5c\xa3\xbc\xc3\xb0\x9b\xf9\x4e\x3b\xd5\xe6\xb3\x5e\xcf\x74\xc7\x6e\x34\x7c\x4f\x61\xb7\x29\xf0\xed\x56\x2e\x97\x1d\x37\x46\x24\xa3\xec\x87\x04\xe1\x6b\x76\x18\x83\x76\x97\x23\xc4\x55\xe0\xc5\x07\x81\xb3\xf4\xae\x56\x92\xa3\x2b\x81\x13\x90\x4a\x20\xc5\x5b\x5a\x32\x7e\x42\x22\x9b\x71\x02\xaf\x26\xdf\x97\xfd\xe8\x4a\x78\x6e\xa6\x54\xba\xf3\x14\x29\x64\x4c\x7e\x79\x01\xb3\x55\xed\x5b\xdf\xbd\xd6\x10\xa7\x3a\x85\x29\x2b\x9e\x77\x3d\x47\x34\x0f\x53\xa9\x7d\x31\x47\x52\x3e\x71\x41\x8e\x0b\x95\x00\x53\x74\x9b\xfb\x4a\x14\x8e\x86\x92\x32\xf1\x17\xc8\xaa\xdd\xf3\x1d\xd6\x7e\xa5\x14\x74\xa8\xa5\x7a\xf5\x23\xac\xf5\xb5\xec\x28\x4b\x99\x5c\xc7\xc7\xf3\xc6\xb4\xdb\xcd\x32\x8f\x80\x54\xe2\xb1\xf0\x1d\xd6\x73\xa4\x12\x4f\x75\xae\x7e\x6c\xdd\xd4\x06\xaa\x3d\xfe\xea\x20\xe2\x42\x7b\xba\x81\xc2\x37\x24\x63\xc0\x02\x94\xf9\x0d\xc3\xc0\xa6\xac\x26\x38\xe4\xda\xb2\x53\xdb\xb0\x4e\x6c\x87\xd9\xf8\x1e\x52\x95\x96\x8e\x4c\xa2\x19\x7a\x80\x6b\x58\x82\x00\xe6\x7c\xa6\xd1\x29\xb8\x5c\x82\xb0\x0f\xc4\xe5\x54\x2f\xbb\xd2\x63\xbe\x36\xa2\x0e\x8a\x4c\x3a\xd7\xcd\x9b\x71\xcf\x5a\xf9\x58\x74\xac\x8a\xbf\xff\xf0\xcc\x5f\xf9\xb5\x4c\xbd\xa6\xd6\x33\x76\xb7\xd5\x70\x3a\x97\xa7\x54\x3e\xba\x37\xc7\x08\x27\x94\x3d\x68\xcb\xd7\x80\xc8\x7f\x04\x55\x0e\xe4\xcb\xba\x0b\x57\x79\x93\x16\xe7\x82\x67\xe5\xc6\xf6\xc4\xf7\xb0\xcd\x30\xfa\xc4\x25\xa1\xf2\xd1\x77\xfd\x84\xf8\x1e\x2c\x85\xa0\xed\xdd\x44\x13\xdf\x43\x57\xd6\x74\x7c\xa9\xf4\xca\x28\x9f\x4a\x19\x18\xf3\x3c\x9f\xa3\x07\xa3\x5c\xd0\x0c\x89\x75\xf3\x79\x44\x8e\x16\x29\x5f\x0c\x83\x68\x95\x90\x7e\x72\xad\xed\x8c\xa0\xf1\xc6\x68\x95\x10\x27\x71\xfd\x09\xf9\xda\x43\x46\x37\x82\xa0\xfe\xb6\x37\x2b\xa3\xff\x17\x89\xe8\xdd\xa2\xd6\xba\xf5\xb8\x2c\xdd\xfb\xd7\xc5\x5f\xdf\xdd\xdb\x0d\x8d\x31\xae\xeb\x1a\x54\xb3\x7b\x35\xf9\x0c\xba\xda\xba\xe6\x2a\xbe\x39\x39\x7b\x56\xc0\x64\xd9\x62\x68\x33\x6a\xc7\x47\x42\xcc\xb3\x0c\x31\x72\xc3\xcf\x9e\x01\x17\xaa\x43\xea\x55\x95\x3a\xc6\x82\xe6\xca\x51\x27\x9a\xa2\x7f\x08\x5a\x16\x4a\xbf\x26\x6a\x90\xdb\x36\x73\xce\x45\x59\x6b\x42\x6b\xde\x37\xc4\x48\x0a\xa2\x05\xd5\x7f\x8d\xbe\xf4\x69\x01\x76\xc1\x02\xb6\xfe\xa8\xf2\xe2\xe0\x7f\x01\x00\x00\xff\xff\x6d\xa6\x9d\xcc\xa7\x22\x00\x00") func swarmmasterresourcesTBytes() ([]byte, error) { return bindataRead( @@ -1163,7 +1163,7 @@ func swarmmasterresourcesT() (*asset, error) { return a, nil } -var _swarmmastervarsT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x59\x7b\x6f\x1b\xb9\x11\xff\xdf\x9f\x82\xdd\xfa\xb2\x12\xa0\x95\xe4\x47\x92\x8b\x8a\x04\x70\x64\x27\x11\x12\xdb\xaa\x37\x76\xd1\x5a\x46\x41\xed\x52\x12\xcf\x2b\x72\x8f\xe4\x4a\xb6\x75\xfa\xee\xc5\x70\x1f\xe2\xbe\xe4\xc7\xf5\x52\xb4\xa8\xff\x18\x58\xcb\x99\xf9\xcd\x0c\x87\x43\x0e\x89\x10\x42\x16\xf6\xe7\x94\x5d\x4a\x22\x18\x9e\x13\xab\x87\xac\xeb\x10\x0b\x3c\x27\x8a\x08\xd9\xb0\x03\xca\xa2\xbb\x23\x93\xc5\x6e\xde\x58\xad\x1d\x2d\x3a\xc7\x77\x57\xa7\x72\x48\xc4\x90\xf3\xc0\xea\xa1\xbd\x6e\xb7\x38\xe2\x2a\x2e\xf0\x94\x1c\x79\x1e\x8f\x98\xb2\x7a\x68\xdf\x60\xc9\x0f\x02\xfb\xd1\x94\x68\x2e\xeb\xda\xa7\x8b\xc6\x02\x0b\x8a\xc7\x01\x91\x0d\x3b\x07\x65\x37\x5b\x55\x43\x79\x75\x76\x73\x63\xa8\x8f\x15\xce\x8f\x0e\x05\x99\xd0\x3b\x97\x10\xdf\xea\xa1\x77\x6f\x5b\x28\x66\xc4\x21\xbd\x22\x42\x52\xce\x8e\xc9\x04\x47\x81\xb6\x65\xbf\xbb\xf7\xc6\xe9\x1e\x38\x07\x5d\xab\xcc\x97\xa8\x4d\xf8\x5e\x3b\xdd\x37\xce\xde\x6b\xab\xb5\xb3\x5a\xd1\x09\x6a\x7f\xc1\xf2\x14\x33\x3c\x25\xfe\x31\x95\xb7\x72\xbd\xae\x11\x37\x99\x36\x90\x87\xce\x41\xd7\x09\x05\x59\x50\xb2\xd4\x2a\x09\xf3\xd7\xeb\x44\xf5\xb9\xf0\x66\x44\x2a\x81\x15\x17\x43\xc1\x27\x34\x20\xed\x81\x74\x97\x58\xcc\x4f\xb9\x4f\x52\x28\x8f\xb3\x09\x9d\x46\x82\xf4\x83\x48\x2a\x22\x5c\x4f\xd0\x50\x7d\xa2\x81\x36\x39\x1b\x75\x24\x08\xce\xb9\x4f\x1c\x2f\x66\x6c\xcb\x59\x8c\x19\xc8\x97\x29\x2b\x29\xd2\xc6\xc7\xfe\xc3\x34\xf7\x23\xa9\xf8\x3c\x56\xa1\xa7\xdc\xe3\xcc\xc3\xaa\x61\x77\x22\x29\x3a\x63\xca\x3a\x8c\xcf\xa2\x10\xe9\x7f\xc7\x58\xce\x90\xe3\xa1\x91\xb5\xf9\xd9\xe1\xa1\xea\xe0\x87\x48\x90\x8e\xc7\x99\xc2\x94\x11\x21\x3b\xb6\x99\x1b\xf5\x06\xdb\xcd\x16\xb2\x51\x9e\x39\xe6\x19\x30\xa9\x70\x10\x0c\xb3\x55\x60\x37\x5b\x36\xfa\xf0\x01\x75\x16\x58\x74\x02\x3e\x4d\x31\x63\x76\x67\xcc\xb9\x82\x79\x08\xdb\x01\x9f\xa2\xfd\x0f\xaf\xf6\xd0\xab\x91\x85\x5e\x19\x0b\x45\xfb\x7b\x11\xb1\xfe\xdc\xcf\x79\x2a\x22\xe6\xcd\xfd\xde\x88\x21\x07\xa1\xeb\x8d\xa7\xad\x1a\xdf\x68\x6c\x9a\x11\x59\x74\x33\x62\x23\xa6\xa1\x50\x09\x2b\x9d\x98\x0c\x0f\x60\x40\x1d\x61\xaa\x87\x7e\x1b\x31\x94\xfc\xfd\xf9\x4f\x19\xf4\xe6\xa3\xdd\xb2\x65\xe4\x73\x34\xbf\xf5\xa9\x40\x4e\x58\xf0\xdf\x64\x34\x82\x58\x9a\x5a\x88\x5e\xcc\x1b\x62\x35\xeb\x3d\xd9\xb3\x44\x86\x88\x39\x95\xb0\x52\x64\x0f\x8d\xac\xee\xdb\xc3\xc3\x91\x95\x38\x6c\xf8\x7b\xaa\x6b\x40\xae\x04\xd5\xcd\xa6\x19\x90\x5c\x15\x01\xee\x7e\x5c\x39\x4a\xa9\x11\x8f\x5e\x9d\x9e\xe1\x39\x89\x4b\x47\x2d\xd3\x27\x2a\xa4\x3a\xf2\x7d\x71\xee\x29\xa2\x0e\x2b\xf8\x70\xbe\x9c\xb6\x0a\xc3\x21\x97\x2a\xb1\x3a\x8e\xe0\xe5\xc5\xa0\xcc\x55\x00\x4b\x8d\xd2\x71\x89\x0b\xc4\x37\x28\xdd\x69\x65\xf8\x82\xa5\x4b\x3c\x41\x54\x56\x83\x02\x63\x38\x19\xb2\x50\x6f\x27\x9e\xd2\xeb\x1d\x94\xfd\xad\x56\x02\xb3\x29\x41\x68\x77\x31\x60\x3e\xb9\x6b\xa1\xdd\x05\x94\x46\xd4\x7b\x5f\x00\xc9\x23\x6c\xe4\xe9\x24\x95\x5d\xaf\x51\x0b\x99\xa5\xc0\x60\x2b\xfc\x46\xc8\x92\x3c\x12\x1e\xb9\x8a\xeb\x70\x79\x1c\x21\x8b\xfa\x56\xaf\x62\xc3\xfa\x4a\xee\xb5\xd4\xe0\x78\xb5\xca\x90\x21\x67\x4a\x3a\xd6\xad\x32\xac\xf6\xae\x4f\x84\xa2\x13\xea\x61\x45\xa4\xd5\xbb\x2e\x71\xa5\x51\xd9\xf5\xd2\xa0\x78\x44\xe8\x98\xc4\xd1\x69\x5f\x15\xb5\x94\x3c\xde\x04\xc7\x7b\x2c\x38\xd5\x01\xd2\xd6\x7a\x1b\x88\x4b\x11\x58\xe8\xc9\xf1\x30\x6c\xbb\xbc\xf8\xb6\x5a\x65\x56\x54\x06\x0a\xa1\xb2\x4d\x75\xb6\xde\xec\xd4\x49\xe6\x25\x6e\x5a\x28\xbf\x2f\xc4\x49\x7d\xb4\xc0\x34\xc0\x63\x1a\x50\x75\xef\x12\x55\xb3\x60\xb9\xb1\xff\x9d\xc5\x0b\x09\xd9\x4e\xac\xc1\xc1\x79\x15\x8e\xdd\x42\x86\x28\xac\x3b\x37\x9a\x64\x0b\x06\xc5\x2b\x06\x7d\x26\xaa\x1f\x60\x29\xa9\x67\xee\xa0\x46\x65\x28\x1d\x8f\x72\x55\xe3\xa6\xb4\x5f\xe6\x45\x57\xab\xf6\xa9\xfe\x90\xae\x17\x3d\xb0\x5e\x6f\xa2\x80\x72\x62\xb5\xfb\xe3\x7f\xdd\x86\x38\xb2\xcc\x1d\x2a\x76\xef\x84\xf9\x21\xa7\x4c\x1d\x9f\xb9\x9b\xaa\xaa\xfd\x54\x3c\xe0\x4b\x22\x1a\xe5\x40\x57\xca\xa4\x73\x68\xe8\xfe\x36\xfe\x88\xbd\x5b\xc2\x7c\x38\x2d\x9e\xa5\xe7\xda\x67\xe6\x50\xc8\x79\xf0\x68\xe2\xe4\x40\x07\xc7\x1a\x47\x90\xb8\x70\x0d\xfc\x86\x7d\x4a\x3d\xc1\x25\x9f\xa8\xf6\x19\x51\x4b\x2e\x6e\x3b\x01\xc7\xfe\x47\x1c\x60\xe6\x41\x24\xcb\x25\xfd\xdb\x38\xb6\xa4\x4a\xff\xb0\xaf\xa7\x2f\xc1\xa9\xdb\xc4\xc0\x10\x98\xa2\xce\x44\xe8\xbd\xde\x4f\xe5\x22\x81\x15\xec\xa4\x9d\xbc\x57\x45\xf5\x8f\xe2\xbf\x34\xa2\xc1\xf8\x13\x58\x74\xc2\xfc\xe7\xc5\xf5\xe5\x78\xcf\xc1\x19\x46\xe3\x80\x7a\x83\x21\x6c\xa7\x44\xca\x97\x82\xd2\xd0\xa9\x0a\x6f\x4d\xea\x82\xe0\x76\x1b\x93\xdd\x3c\x5f\x39\x06\x32\x29\x54\xf9\xae\x26\xad\x3b\x32\xf7\xf5\x23\x96\x24\x61\x2f\x3a\x15\x31\xfa\x6b\x44\x5c\x25\x28\x9b\x36\xea\xf2\xa9\xce\xf4\x34\xcf\x3f\x0b\x1e\x85\x8d\x66\x3b\xe0\x9e\xce\xaf\x66\x33\xe7\x50\x39\x5a\x66\x07\xa9\x8b\x50\xce\xdc\x2d\x81\xdf\xea\x97\x0e\x66\xb7\xbe\x0c\xff\x0e\x94\x0a\xf5\x71\xb9\xae\x99\x1b\x5d\xb9\xaf\xce\x4e\xbe\xe7\x2d\xb8\x62\x44\xb9\xd1\x98\x11\x95\xac\xe0\x72\x85\x33\x59\xb6\xb8\xa2\x39\x6a\x54\xc4\x83\x76\x29\xc8\xfa\xf3\x0b\xb3\xba\xa4\x73\xb1\x71\x62\x7b\xb9\x5b\x50\xa1\x22\x1c\x24\x3f\xf3\x05\x2f\x3f\x56\x9d\x1b\xa5\x98\x95\x0d\x5f\x24\xd1\x6a\xd9\x1d\xa9\x39\x0b\x7b\x5e\xd1\x7f\x13\xa4\x6c\xc2\xb3\xa2\x03\xd0\x8f\xaf\xdf\xd2\x09\x27\xdf\x23\xc4\x2d\x89\x0c\x03\xaa\x72\x7b\xde\x04\xb8\xfa\x9c\x49\xe2\x45\x8a\x2e\x88\xab\xb0\x82\x02\x05\x9e\xb6\x4b\xf3\x5b\xe8\x3b\xb4\xce\x47\x9a\x13\x69\x37\xaf\x0f\x6e\xea\xf4\x18\x3b\x72\x5d\x65\x28\xab\xeb\xde\x80\x6d\x8f\x75\x45\xc0\xb9\xf7\x64\xce\xfd\x9b\x2a\x7f\xcd\x66\xec\x25\x75\xba\x7e\xd6\x74\x4d\x2e\x6d\x0f\x57\xa7\x2e\x7d\x28\x5f\x90\x99\x83\xa6\xd0\x46\x61\x49\xc4\xc4\x2a\xa2\xb8\x72\x36\x60\x63\x1e\x31\xff\x0c\xab\x8b\x28\x20\x03\xff\x09\xf3\x90\xed\xf8\x34\x27\x2b\x3b\xae\xfb\xc5\x79\xb4\x91\x2d\x55\x0a\x39\x1b\x72\xa1\xf6\xf7\xf3\x96\x3c\x1a\xee\xfc\xf9\xa5\x65\x03\x7a\xac\xe8\xdf\x66\xc3\xef\x8e\xc6\xb3\xed\x31\x4e\x3f\x79\x6d\x9b\xa6\x70\xd3\x1c\x9a\x2d\x9a\xee\x4d\xb7\x58\x59\x3b\xd3\x60\x7a\x37\xd7\x83\x19\x4d\xea\x33\x11\xb6\xc5\xb0\x02\x27\xeb\xcb\xfe\x38\xcf\xf6\x7e\x38\xe2\xfe\x0f\x47\x3c\xf8\xe1\x88\x87\xd5\x88\x3b\x06\xae\xc5\xe5\x60\x8e\xa7\xe4\x7c\x32\x21\x02\x90\x2e\xc7\x11\x53\x91\x4b\xc4\x82\x88\xac\x0a\x25\x4c\xfa\x2c\x2c\x67\x31\x63\x1f\x33\xce\xa8\x87\x83\xac\x53\x7e\xea\xe5\x73\xb1\x00\x83\xb6\xf8\xa2\xb9\x08\xe8\x7e\xbd\x84\xc1\xbd\x37\xed\xee\x61\xbb\xeb\x7c\xfb\xee\xc6\x60\xe6\xd9\xa7\x56\x5b\x9d\xb2\x43\x50\x76\x68\x28\xdb\xec\xc3\x09\x67\x72\x0b\x0f\xdc\x01\x56\x44\xaa\x4c\x55\xd5\x2d\x1c\xb0\xf9\x54\xc2\xb4\xf8\x19\xa3\x94\xb3\xaf\xe4\x7e\x88\xd5\x2c\xdf\xa4\xcf\xf8\x9c\x14\x1a\xad\xe2\xc5\x1f\xb2\x3b\x6d\x29\x67\x1d\x1c\xa9\x19\x17\xf4\x81\xf8\xff\xbc\x25\xf7\xd2\xdc\x15\xa4\x9c\x5d\xb8\x47\x71\x6b\xf2\x95\xdc\x97\xf6\x92\xc2\xb8\xb1\x4b\x56\x9f\x62\xb5\x82\x3f\xe8\xd4\x5f\x03\x1d\x4b\x42\xc1\x44\xd7\xc8\xea\x5a\x2d\x64\xbd\x01\xe2\x01\xa1\x40\x38\x90\x08\xc8\x1e\x90\xb7\x40\x20\xc0\xd6\x2f\x40\x42\x20\x0b\x20\xfb\x40\x7e\x06\x42\x80\xdc\x02\xf9\x15\xc8\x12\xc8\x01\x90\x77\x40\x26\x40\x20\x5b\x2d\x48\x6c\xeb\x0e\xc8\x21\x10\x0c\x64\x0a\x04\x72\xc6\x92\x40\xee\x81\xbc\x06\x32\x06\x32\x03\xc2\x80\x40\x2e\x58\x0f\x56\xb6\x7e\xaa\xbd\xda\xdc\x0b\x05\x84\x4d\xd5\xac\xbe\x91\x48\x25\x72\xad\xe7\x62\x5e\xf3\x4a\xb6\x79\x40\xfa\x1b\x65\x3e\x5f\xa6\xd7\x87\x2d\x6b\x19\xff\x3e\xda\xfa\x6e\x57\xc5\x64\x24\x87\x39\x3c\xc4\x52\x2e\xb9\xf0\xb7\xea\x48\x99\x8a\x17\xef\x89\x71\xb9\x7a\x91\x35\x01\xc9\x60\x5a\x62\xca\x62\x59\x2d\x7a\x94\xd3\xbd\x8d\xb2\x77\xb1\x63\xac\xb0\x47\x18\x1c\xe2\x96\x54\xcd\x9c\x7e\x76\xd7\x55\x25\x59\xb1\xc4\x93\xf9\xa4\x6c\x1a\x90\xbf\x46\x5c\xe9\xf0\xd9\x85\xd8\x98\xd7\x6f\x47\x62\x1a\xcd\x09\x53\xb9\xc7\x03\x7b\x17\xa7\x9f\xd1\x7b\x94\x5f\xe9\x86\x6e\x28\xcf\x4e\x5c\x19\xf5\xba\x1a\x0c\x51\xd5\xfd\x40\xe9\x26\x7f\x1b\xcf\xe6\x69\xa1\x16\x13\xd9\xe8\x2f\xa8\x3c\xe3\xa6\x57\x9b\xe3\x29\xda\xa5\x2c\x8c\xf4\x35\x20\xb8\xf2\x93\xfb\x77\xf7\xfb\xc9\xe9\xf1\xc5\xe0\xea\xe4\xa7\xd1\xe8\xe8\x21\x12\x04\x82\x3e\x1a\xc5\xe2\xf0\x7f\x7b\x4c\x19\x40\xec\xf2\x48\x3d\x53\xd4\x25\x2a\x0a\x63\x13\xda\xa1\xdc\xd3\x5a\x34\xbe\xab\x04\xc1\x73\xf4\x1e\x9d\x91\xa5\x73\x3e\xfe\x85\x78\x0a\xb9\xf7\x52\x91\x79\x7b\x70\xde\x06\x88\x84\x63\x63\x6e\x0b\x35\xae\x93\x31\xd8\x78\x6e\x7a\xbd\xf3\x90\xb0\xa6\xf1\xf9\xc8\xf3\x88\x94\x37\xbd\xde\x05\xc1\xbe\x39\xe0\xce\xb0\x20\xe9\x77\xb0\x41\x8a\x3a\xe8\x18\x16\x18\x89\x68\x54\x72\xf4\xf9\x3c\x14\x44\x3f\x54\xb5\x3f\xff\x83\x86\xb1\x44\xc3\xf4\xab\x85\xae\xab\xf9\x8d\xff\x13\x1f\x8e\x89\x97\x7c\x6b\x26\x96\xb5\x01\xfc\x3b\x3f\x61\x7e\xa3\x89\x7e\x43\xe7\x91\x72\xc0\x87\x86\x11\x7e\xe0\x1c\xb0\x05\xbf\x25\xce\xc9\x5d\xaa\xb0\x61\xaf\xba\x6b\xb4\xda\x5b\xdb\xc8\x99\x98\x93\xd5\x42\x9b\xf4\x05\xc9\x2d\x79\x92\x4b\xfa\x90\x2f\x89\x90\x33\x12\x04\x6d\x72\x47\x90\x73\x72\xa7\xbb\x53\xce\x86\x3c\xa0\xde\x3d\xba\x64\x02\xf6\x68\xea\x29\xe2\x23\xc7\xe3\xf3\x39\x66\x3e\x1a\x59\xf9\x9c\xdf\xb6\xc6\x0a\x69\x5d\x9b\xb8\x3a\xc9\x47\x16\xfa\x80\x9e\x9b\x74\xe9\xb5\x74\x4d\x31\xcb\xee\x8e\x05\xb8\x7e\x70\xf0\xf3\x3b\xcd\x13\x17\xe4\xb4\xe0\xd5\xbd\xab\xe5\xc3\xf8\xbf\xf7\xbe\x96\x38\xf6\xff\x17\xb6\x27\x45\x64\xeb\x1b\x5b\x39\x30\x45\x38\x38\x17\x90\x97\x02\x6a\xe1\xff\xc8\xb3\x1e\xda\xc9\x7f\xce\x86\xff\x15\x00\x00\xff\xff\xc2\x53\x60\xeb\x71\x24\x00\x00") +var _swarmmastervarsT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x59\x7b\x73\xdb\xb8\x11\xff\xdf\x9f\x02\x65\x7d\x47\x69\x86\x94\xe4\xc7\x25\x17\x75\x92\x19\xc7\x76\x12\x4d\x62\x5b\x35\x63\x77\x5a\xcb\xd3\x81\x48\x48\xc2\x99\x02\x78\x00\x28\xdb\xd1\xf9\xbb\x77\x16\x7c\x81\x2f\xf9\x71\xbd\x74\xda\xa9\xff\xd8\xb1\x88\xdd\xfd\xed\x2e\x80\x5d\x2c\x80\x10\x42\x16\x0e\x96\x94\x5d\x48\x22\x18\x5e\x12\x6b\x88\xac\xab\x08\x0b\xbc\x24\x8a\x08\xd9\xb1\x43\xca\xe2\xbb\x03\x93\xc5\xee\x5e\x5b\xce\x96\x16\x5d\xe2\xbb\xcb\x13\x39\x26\x62\xcc\x79\x68\x0d\xd1\xce\x60\x50\x1d\xf1\x14\x17\x78\x4e\x0e\x7c\x9f\xc7\x4c\x59\x43\xb4\x6b\xb0\x94\x07\x81\xfd\x60\x4e\x34\x97\x75\x15\xd0\x55\x67\x85\x05\xc5\xd3\x90\xc8\x8e\x5d\x82\xb2\xbb\x4e\xd3\x50\x59\x9d\xdd\x2d\x0c\x0d\xb0\xc2\xe5\xd1\xb1\x20\x33\x7a\xe7\x11\x12\x58\x43\xf4\xe6\xb5\x83\x12\x46\x1c\xd1\x4b\x22\x24\xe5\xec\x88\xcc\x70\x1c\x6a\x5b\x76\x07\x3b\xaf\xdc\xc1\x9e\xbb\x37\xb0\xea\x7c\xa9\xda\x94\xef\x27\x77\xf0\xca\xdd\xf9\xc9\x72\xb6\xd6\x6b\x3a\x43\xbd\x4f\x58\x9e\x60\x86\xe7\x24\x38\xa2\xf2\x46\x3e\x3c\xb4\x88\x9b\x4c\x05\xe4\xbe\xbb\x37\x70\x23\x41\x56\x94\xdc\x6a\x95\x84\x05\x0f\x0f\xa9\xea\x33\xe1\x2f\x88\x54\x02\x2b\x2e\xc6\x82\xcf\x68\x48\x7a\x23\xe9\xdd\x62\xb1\x3c\xe1\x01\xc9\xa0\x7c\xce\x66\x74\x1e\x0b\x72\x18\xc6\x52\x11\xe1\xf9\x82\x46\xea\x03\x0d\xb5\xc9\xf9\xa8\x2b\x41\x70\xc9\x03\xe2\xfa\x09\x63\x4f\x2e\x12\xcc\x50\xbe\x4c\x59\x4d\x91\x36\x3e\xf1\x1f\xa6\xf9\x30\x96\x8a\x2f\x13\x15\x7a\xca\x7d\xce\x7c\xac\x3a\x76\x3f\x96\xa2\x3f\xa5\xac\xcf\xf8\x22\x8e\x90\xfe\x77\x8a\xe5\x02\xb9\x3e\x9a\x58\xc5\xcf\x3e\x8f\x54\x1f\x7f\x8b\x05\xe9\xfb\x9c\x29\x4c\x19\x11\xb2\x6f\x9b\x6b\xa3\xdd\x60\xbb\xeb\x20\x1b\x95\x99\x13\x9e\x11\x93\x0a\x87\xe1\x38\xdf\x05\x76\xd7\xb1\xd1\xbb\x77\xa8\xbf\xc2\xa2\x1f\xf2\x79\x86\x99\xb0\xbb\x53\xce\x15\xcc\x43\xd4\x0b\xf9\x1c\xed\xbe\xfb\x71\x07\xfd\x38\xb1\xd0\x8f\xc6\x46\xd1\xfe\x9e\xc7\xec\x70\x19\x94\x3c\x15\x31\xf3\x97\xc1\x70\xc2\x90\x8b\xd0\x55\xe1\xa9\xd3\xe2\x1b\x4d\x4c\x33\x22\x8b\xae\x27\x6c\xc2\x34\x14\xaa\x61\x65\x13\x93\xe3\x01\x0c\xa8\x23\x4c\x0d\xd1\x6f\x13\x86\xd2\xbf\x3f\xff\x29\x87\x2e\x3e\xda\x8e\x2d\xe3\x80\xa3\xe5\x4d\x40\x05\x72\xa3\x8a\xff\x26\xa3\x11\xc4\xda\xd4\x42\xf4\x12\xde\x08\xab\xc5\xf0\xc9\x9e\xa5\x32\x44\x2c\xa9\x84\x9d\x22\x87\x68\x62\x0d\x5e\xef\xef\x4f\xac\xd4\x61\xc3\xdf\x13\x9d\x03\x4a\x29\xa8\x6d\x36\xcd\x80\x94\xb2\x08\x70\x1f\x26\x99\xa3\xb6\x34\x92\xd1\xcb\x93\x53\xbc\x24\x49\xea\x68\x65\xfa\x40\x85\x54\x07\x41\x20\xce\x7c\x45\xd4\x7e\x03\x1f\x2e\xa7\x53\xa7\x32\x1c\x71\xa9\x52\xab\x93\x08\x5e\x9c\x8f\xea\x5c\x15\xb0\xcc\x28\x1d\x97\x24\x41\x7c\x81\xd4\x9d\x65\x86\x4f\x58\x7a\xc4\x17\x44\xe5\x39\x28\x34\x86\xd3\x21\x0b\x0d\xb7\x92\x29\xbd\xda\x42\xf9\xdf\x7a\x2d\x30\x9b\x13\x84\xb6\x57\x23\x16\x90\x3b\x07\x6d\xaf\x20\x35\xa2\xe1\xdb\x0a\x48\x19\xa1\x90\xa7\xb3\x4c\xf6\xe1\x01\x39\xc8\x4c\x05\x06\x5b\xe5\x37\x42\x96\xe4\xb1\xf0\xc9\x65\x92\x87\xeb\xe3\x08\x59\x34\xb0\x86\x0d\x05\xeb\x33\xb9\xd7\x52\xa3\xa3\xf5\x3a\x47\x86\x35\x53\xd3\xf1\xe0\xd4\x61\xb5\x77\x87\x44\x28\x3a\xa3\x3e\x56\x44\x5a\xc3\xab\x1a\x57\x16\x95\x6d\x3f\x0b\x8a\x4f\x84\x8e\x49\x12\x9d\xde\x65\x55\x4b\xcd\xe3\x22\x38\xfe\x63\xc1\x69\x0e\x90\xb6\xd6\x2f\x20\x2e\x44\x68\xa1\x27\xc7\xc3\xb0\xed\xe2\xfc\xcb\x7a\x9d\x5b\xd1\x18\x28\x84\xea\x36\xb5\xd9\x7a\xbd\xd5\x26\x59\x96\xb8\x76\x50\xb9\x2e\x24\x8b\xfa\x60\x85\x69\x88\xa7\x34\xa4\xea\xde\x23\xaa\x65\xc3\x72\xa3\xfe\x9d\x26\x1b\x09\xd9\x6e\xa2\xc1\xc5\x65\x15\xae\xed\x20\x43\x14\xf6\x9d\x17\xcf\xf2\x0d\x83\x92\x1d\x83\x3e\x12\x75\x18\x62\x29\xa9\x6f\x56\x50\x23\x33\xd4\x8e\x47\xa5\xac\x71\x5d\xab\x97\x65\xd1\xf5\xba\x77\xa2\x3f\x64\xfb\x45\x0f\x3c\x3c\x14\x51\x40\x25\xb1\xd6\xfa\xf8\x5f\x57\x10\x27\x96\x59\xa1\x12\xf7\x8e\x59\x10\x71\xca\xd4\xd1\xa9\x57\x64\x55\xed\xa7\xe2\x21\xbf\x25\xa2\x53\x0f\x74\xa3\x4c\x36\x87\x86\xee\x2f\xd3\xf7\xd8\xbf\x21\x2c\x80\xd3\xe2\x69\x76\xae\x7d\xe6\x1a\x8a\x38\x0f\x1f\x5d\x38\x25\xd0\xd1\x91\xc6\x11\x24\x49\x5c\xa3\xa0\x63\x9f\x50\x5f\x70\xc9\x67\xaa\x77\x4a\xd4\x2d\x17\x37\xfd\x90\xe3\xe0\x3d\x0e\x31\xf3\x21\x92\xf5\x94\xfe\x65\x9a\x58\xd2\xa4\x7f\x7c\xa8\xa7\x2f\xc5\x69\x2b\x62\x60\x08\x4c\x51\x7f\x26\x74\xad\x0f\x32\xb9\x58\x60\x05\x95\xb4\x5f\xf6\xaa\xaa\xfe\x51\xfc\x97\x46\x34\x9c\x7e\x00\x8b\x8e\x59\xf0\xbc\xb8\xbe\x1c\xef\x39\x38\xe3\x78\x1a\x52\x7f\x34\x86\x72\x4a\xa4\x7c\x29\x28\x8d\xdc\xa6\xf0\xb6\x2c\x5d\x10\xdc\x6c\x63\x5a\xcd\xcb\x99\x63\x24\xd3\x44\x55\xee\x6a\xb2\xbc\x23\x4b\x5f\xdf\x63\x49\x52\xf6\xaa\x53\x31\xa3\xbf\xc6\xc4\x53\x82\xb2\x79\xa7\x6d\x3d\xb5\x99\x6e\x30\x86\xdc\xd7\x4b\xcb\xee\x76\xbb\x25\x6f\xea\xa1\x32\xdb\x47\x9d\x81\x4a\xb6\x6e\x88\xfa\x46\xa7\x74\x24\x07\xed\x39\xf8\x77\xa0\x34\xa8\x4f\x72\x75\xcb\xc4\xe8\xb4\x7d\x79\x7a\xfc\xb5\x6c\xc1\x25\x23\xca\x8b\xa7\x8c\xa8\x74\xfb\xd6\xd3\x9b\xc9\xb2\xc1\x15\xcd\xd1\xa2\x22\x19\xb4\x6b\x41\xd6\x9f\x5f\xb8\xa4\x6b\x3a\x57\x85\x13\x9b\x73\xdd\x8a\x0a\x15\xe3\x30\xfd\x59\xce\x76\xe5\xb1\xe6\xb5\x51\x8b\x59\xdd\xf0\x55\x1a\x2d\xc7\xee\x4b\xcd\x59\x29\x78\x55\xff\x4d\x90\xba\x09\xcf\x8a\x0e\x40\x3f\xbe\x79\x6b\xc7\x9b\x72\x83\x90\xf4\x23\x32\x0a\xa9\x2a\x15\xbc\x19\x70\x1d\x72\x26\x89\x1f\x2b\xba\x22\x9e\xc2\x0a\xb2\x13\x78\xda\xab\xcd\x6f\xa5\xe9\xd0\x3a\x1f\xe9\x4c\xa4\xdd\xbd\xda\xbb\x6e\xd3\x63\x94\xe3\xb6\xb4\x50\x57\x37\xb8\x06\xdb\x1e\x6b\x89\x80\x73\xe7\xc9\x9c\xbb\xd7\x4d\xfe\x9a\x9d\xd8\x4b\x92\x74\xfb\xac\xe9\x84\x5c\xab\x0d\x97\x27\x1e\xfd\x56\xbf\x1d\x33\x07\x4d\xa1\x42\x61\x4d\xc4\xc4\xaa\xa2\x78\x72\x31\x62\x53\x1e\xb3\xe0\x14\xab\xf3\x38\x24\xa3\xe0\x09\xf3\x90\x97\x7b\x5a\x92\x95\x7d\xcf\xfb\xe4\x3e\xda\xc5\xd6\x32\x85\x5c\x8c\xb9\x50\xbb\xbb\x65\x4b\x1e\x0d\x77\xf9\xf0\xe2\xd8\x80\x9e\x28\xfa\xb7\xd9\xf0\xbb\xa3\xf1\x6c\x7b\x8c\xa3\x4f\x59\x5b\xd1\x11\x16\x9d\xa1\xd9\x9f\xe9\xc6\x74\x83\x95\xad\x33\x0d\xa6\x0f\x4a\x0d\x98\xd1\xa1\x3e\x13\x61\x53\x0c\x1b\x70\xf2\xa6\xec\x8f\xf3\x6c\xe7\xbb\x23\xee\x7e\x77\xc4\xbd\xef\x8e\xb8\xdf\x8c\xb8\x65\xe0\x5a\x5c\x8e\x96\x78\x4e\xce\x66\x33\x22\x00\xe9\x62\x1a\x33\x15\x7b\x44\xac\x88\xc8\xb3\x50\xca\xa4\x0f\xc2\x72\x91\x30\x1e\x62\xc6\x19\xf5\x71\x98\xb7\xc9\x4f\xbd\x79\xae\x26\x60\xd0\x96\xdc\x32\x57\x01\xbd\xcf\x17\x30\xb8\xf3\xaa\x37\xd8\xef\x0d\xdc\x2f\x5f\xbd\x04\xcc\x3c\xfb\xb4\x6a\x6b\x53\xb6\x0f\xca\xf6\x0d\x65\x45\x1d\x4e\x39\xd3\x2b\x78\xe0\x0e\xb1\x22\x52\xe5\xaa\xb2\xe3\x2c\x14\x67\xe3\xea\xa7\x38\xee\x7c\x14\x3c\x8e\x3a\xdd\x5e\xc6\x98\x27\x8c\x84\xad\x74\x01\x93\x1f\x8d\xd3\x49\xca\xa6\x24\x1b\xa8\x16\xeb\x1c\xdc\xee\x5e\x2d\x79\xd0\xc1\x41\xd0\xd9\x75\x42\xc2\xe6\x6a\xd1\x69\xd6\xdc\xed\x3a\xc0\xb5\xf3\x18\x57\xb7\xa8\xf7\x4d\xb7\x8c\x60\x49\x40\x25\xd8\x11\xe4\xb1\x90\x72\xf1\x99\xdc\x8f\xb1\x5a\x94\x2f\x21\x16\x7c\x49\x2a\x8d\x64\xf5\x62\x13\xd9\xfd\x9e\x94\x8b\x3e\x8e\xd5\x82\x0b\xfa\x8d\x04\xff\xbc\x21\xf7\xd2\x2c\x7c\x52\x2e\xce\xbd\x83\xa4\xf5\xfa\x4c\xee\x6b\xe5\xb2\x32\x6e\x1c\x04\x9a\x0f\xea\x5a\xc1\x1f\xd1\xd5\xb4\xe0\x26\x62\x44\x2f\x14\x64\x0d\x2c\x07\x59\xaf\x80\xf8\x40\x28\x10\x0e\x24\x06\xb2\x03\xe4\x35\x10\x88\xae\xf5\x0b\x90\x08\xc8\x0a\xc8\x2e\x90\x9f\x81\x10\x20\x37\x40\x7e\x05\x72\x0b\x64\x0f\xc8\x1b\x20\x33\x20\xb0\x1b\x2d\xd8\xb8\xd6\x1d\x90\x7d\x20\x18\xc8\x1c\x08\xec\x09\x4b\x02\xb9\x07\xf2\x13\x90\x29\x90\x05\x10\x06\x04\xd6\xba\xf5\xcd\xca\x17\x63\xb3\x57\xc5\xa5\x57\xba\xb0\x5a\x1b\xa5\x4c\xa2\xd4\x57\xaf\x96\x2d\x4f\x80\xc5\xeb\xd8\xdf\x28\x0b\xf8\x6d\x76\x37\xea\x58\xb7\xc9\xef\x83\x8d\x8f\x92\x4d\x4c\xc6\xca\x30\x87\xc7\x58\xca\x5b\x2e\x82\x8d\x3a\x32\xa6\xea\xab\x42\x6a\x5c\x29\x1f\xe6\x4d\x4e\x3a\x98\xa5\xd0\xba\x58\x9e\x6b\x1f\xe5\xf4\x6e\xe2\xfc\xd1\xef\x08\x2b\xec\x13\x06\x87\xd4\x5b\xaa\x16\xee\x61\x7e\x91\xd7\x24\xd9\x90\xc2\xd2\xf9\xa4\x6c\x1e\x92\xbf\xc6\x5c\xe9\xf0\xd9\x95\xd8\x98\x77\x8b\x07\x62\x1e\x2f\x09\x53\xa5\x97\x11\x7b\x1b\x67\x9f\xd1\x5b\x54\xde\xe6\x86\x6e\x28\x3f\x6e\x92\xf9\xf5\xa6\x1a\x8d\x51\xd3\xe5\x47\xed\x99\x62\x13\x4f\xf1\x6e\xd2\x8a\x89\x6c\xf4\x17\x54\x9f\x71\xd3\xab\xe2\xf8\x8d\xb6\x29\x8b\x62\x7d\xc7\x09\xae\xfc\xe0\xfd\xdd\xfb\x7a\x7c\x72\x74\x3e\xba\x3c\xfe\x61\x32\x39\xf8\x16\x0b\x02\x41\x9f\x4c\x12\x71\xf8\xbf\x37\xa5\x0c\x20\xb6\x79\xac\x9e\x29\xea\x11\x15\x47\x89\x09\xbd\x48\xee\x68\x2d\x1a\xdf\x53\x82\xe0\x25\x7a\x8b\x4e\xc9\xad\x7b\x36\xfd\x85\xf8\x0a\x79\xf7\x52\x91\x65\x6f\x74\xd6\x03\x88\x94\xa3\x30\xd7\x41\x9d\xab\x74\x0c\x0a\xeb\xf5\x70\x78\x16\x11\xd6\x35\x3e\x1f\xf8\x3e\x91\xf2\x7a\x38\x3c\x27\x38\x30\x07\xbc\x05\x16\x24\xfb\x0e\x36\x48\xd1\x06\x9d\xc0\x02\x23\x11\x9d\x46\x8e\x43\xbe\x8c\x04\xd1\xaf\x70\xbd\x8f\xff\xa0\x51\x22\xd1\x31\xfd\x72\xd0\x55\x33\xbf\xf1\x7f\xea\xc3\x11\xf1\xd3\x6f\xdd\xd4\xb2\x1e\x80\x7f\xe5\xc7\x2c\xe8\x74\xd1\x6f\xe8\x2c\x56\x2e\xf8\xd0\x31\xc2\x0f\x9c\x23\xb6\xe2\x37\xc4\x3d\xbe\xcb\x14\x76\xec\xf5\xe0\x01\xad\x77\x1e\x6c\xe4\xce\xcc\xc9\x72\x50\xb1\x7c\x41\x72\xc3\x3a\x29\x2d\xfa\x88\xdf\x12\x21\x17\x24\x0c\x7b\xe4\x8e\x20\xf7\xf8\x4e\x77\xdf\x9c\x8d\x79\x48\xfd\x7b\x74\xc1\x04\x9c\x41\xa8\xaf\x48\x80\x5c\x9f\x2f\x97\x98\x05\x68\x62\x95\xd7\xfc\xa6\x3d\x56\x59\xd6\xad\x0b\x57\x2f\xf2\x89\x85\xde\xa1\xe7\x2e\xba\xec\xce\xbd\x25\x99\xe5\x17\xe3\x02\x5c\xdf\xdb\xfb\xf9\x8d\xe6\x49\x12\x72\x96\xf0\xda\x1e\x0d\xcb\x61\xfc\xdf\x7b\x3c\x4c\x1d\xfb\xff\xf3\xe1\x93\x22\xb2\xf1\x01\xb1\x1e\x98\x2a\x1c\x9c\x0b\xc8\x4b\x01\xb5\xf0\x7f\xe4\xcd\x12\x6d\x95\x3f\xe7\xc3\xff\x0a\x00\x00\xff\xff\x5d\x0e\xd8\xe8\x4e\x25\x00\x00") func swarmmastervarsTBytes() ([]byte, error) { return bindataRead( @@ -1183,7 +1183,7 @@ func swarmmastervarsT() (*asset, error) { return a, nil } -var _swarmwinagentresourcesvmasT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\x4f\x6f\xdb\x3a\x12\x3f\x6f\x81\x7e\x07\xc2\x17\xc5\x80\x6a\x77\xb1\x58\x60\xf7\xdd\xd2\x38\xaf\x35\x10\x27\x46\xdc\x76\x0f\x41\x0e\xb4\x38\x76\x88\x48\xa4\x40\x52\x4e\xb2\x86\xbf\xfb\x82\xfa\x63\x93\x22\xa9\xd8\x8d\xd3\x66\xd1\x97\x4b\x60\x7b\x38\x9a\xf9\xcd\xff\xa1\x10\x42\x68\xfd\xfe\x1d\x2a\xff\x7a\x38\xa7\xdf\x41\x48\xca\x59\xef\x0f\xd4\xbb\x59\x61\x41\xf1\x3c\x05\x79\x12\xed\x7e\x19\xc1\x02\x17\xa9\x8a\xfa\xb7\xbd\x18\x6d\x4f\x26\x3c\x7f\xea\xfd\xb1\x63\x55\x7e\x55\x30\x55\xf2\x91\xc5\xfc\xc4\xe0\xb5\x5e\x0f\x2e\x71\x06\x9b\xcd\x99\xa6\x88\xfa\x31\xf2\xfd\x78\xb5\x58\x48\x50\x51\xdf\x7a\x0e\x42\x3d\x86\x33\xd0\x5c\x53\xce\xf3\x5e\xf3\xfd\xc6\x10\x85\x40\x0e\x8c\xc8\x2b\xad\xc3\xcd\xfb\x77\xeb\x35\x5d\x20\xc6\x15\x1a\x8c\xe5\x59\x21\x15\xcf\xbe\x5f\x9e\x7f\xdd\x6c\xb6\xf4\xa6\x9a\x2b\x06\x6a\x3c\xd2\xba\xe9\x83\xc0\x88\xa6\x2b\x39\x8c\xe5\xb4\x98\xa7\x34\x41\x83\x29\x17\x4a\xea\xef\xff\x86\x50\x6c\x9d\xde\xca\x7e\x31\x77\x98\x54\x0f\xbb\x35\xe4\x4c\x79\x82\x55\x03\xb5\x00\xc9\x0b\x91\xc0\x67\xc1\x8b\xfc\xa4\x3f\x68\x7e\xb4\x40\x6e\x54\xbf\x49\x38\x4b\xb0\xf2\x62\xfa\x7d\xa2\xff\x4f\x05\x2c\xe8\xa3\x86\x36\x62\x34\xf9\x10\xc5\x48\x1b\x68\xcc\x08\x3c\x7a\x4f\x6d\xc1\xb6\xad\x9a\x0b\x9e\x83\x50\x14\x64\xcb\xb6\x34\x3f\xe3\x6c\x41\x97\x85\x28\xa5\x94\x15\xd4\x68\xfb\xb7\x36\x3f\x18\x92\x37\xe7\x2e\x39\x01\xcb\xac\xde\xc7\x85\x80\x47\xd6\x5f\x2f\xe5\x98\x7c\xc2\x29\x66\x09\x88\x4f\x38\xb9\x07\x46\x4e\x09\x11\x20\xe5\x94\xf3\xd4\x91\xcd\x2b\x61\xa3\x17\x31\xf1\x8d\x86\xb2\x98\xcb\x44\xd0\xbc\x54\x72\x18\xc5\xc8\xfc\xe2\xa4\x3f\x30\x3f\x8e\x49\x1c\x0d\x2d\x3b\x96\x27\xda\x96\xd5\x50\xc4\x28\x1a\xe6\x82\xaf\x28\x01\x21\x87\x13\x9a\x08\x2e\xf9\x42\x0d\x2e\x41\x3d\x70\x71\x3f\x34\x35\x2a\x99\xf8\x9d\x4c\xff\x2f\x6d\x3c\x9c\xbb\x6a\x0f\xa3\xd8\x7f\xaa\x86\x48\x13\x55\x0c\x4a\x47\x6d\x43\xe1\xc0\x7c\x1b\x77\x02\x3f\x66\x73\x5e\x30\x72\x89\xd5\x0b\x41\x0f\xc7\x93\x56\x94\xda\x8f\xd1\xd8\x44\xd7\xa3\xe9\x87\x00\x46\x76\x34\xec\xaf\x68\x1d\xb6\x08\x39\x3a\xe7\x82\xae\xb0\x82\xf1\xf4\x34\x6d\x62\x74\x02\xea\x8e\x97\x3a\x8c\x9e\x18\xce\x68\xe2\x78\x36\x42\x3d\x59\xcc\x19\x28\x3b\x8c\xda\x08\x78\x35\x60\xa0\x66\xe5\xd9\x26\xa5\x74\x49\x6f\x7d\x34\x3e\xdc\xfa\x12\xa5\x7a\xca\xcb\xa0\x74\xfd\x8f\x55\xff\xc7\x4c\x81\x58\xe0\x04\x64\xfd\xd8\x4d\x5c\x07\xe5\x60\x2c\x27\x98\xe1\x25\x90\x11\x95\xf7\xdb\xa0\x3c\xac\x92\xcc\x14\x17\x78\x09\x26\xa3\x56\x55\x79\x41\x8a\xf4\x61\x79\xba\xc2\x34\xc5\x73\x9a\x52\xf5\x34\x83\x76\x09\xb3\xb3\x8f\x59\x72\xf2\x14\xab\x05\x17\xd9\x9f\xba\xf0\x8d\x78\x86\x29\x3b\x6b\x8a\xdb\x3f\xec\xea\xd4\x90\x7e\xcb\x09\x56\xe0\xd2\x1a\xa4\x59\xa5\xb7\xfe\x41\x89\x02\x8c\x5a\xd6\x61\xa1\x33\x9e\xe5\x85\x82\x21\xb6\x55\xb1\x0d\x04\xa9\x04\x54\x59\xa9\xc6\xf8\x34\x29\xab\xf1\x8b\xec\x74\x48\xc5\xf7\xa1\x6f\x8b\x22\xeb\xe2\x1f\xa8\xee\xab\xec\x82\xf3\xbc\x2c\x13\x7b\xd4\xf8\xed\xf1\x6d\xe6\x76\x7d\x3a\x2f\xab\xc8\x78\x5a\xe7\x48\x68\xe7\xd5\x0c\x4b\x05\x62\x6a\x53\x39\x09\xf2\xd5\x0a\xb8\xb4\xd0\xa9\x32\x16\xc8\xa8\x7f\x93\x71\x72\x82\x09\x39\xd9\x15\xf0\xbe\x37\xb1\xdb\xf0\x6e\x0b\x7a\xfc\xec\x33\x6a\x43\xf4\x6f\x9f\x27\x8d\xfa\x37\x84\xae\x7e\x81\x38\xbb\x10\xae\x88\xb7\x76\xd9\xa7\x59\xc1\xd5\x99\xaf\x75\x30\x59\xfd\x5e\x36\xa3\xff\x05\x39\xc1\x79\xd4\xf7\xa7\xdf\x89\x26\x88\xfa\xb7\x03\x5b\x5a\xcd\xec\xd6\xeb\x9a\x6e\xcc\xd6\x50\x0c\x6d\x0e\x66\xc8\x22\x54\x65\xd5\x2f\x58\x5a\xf9\x14\xd9\x7a\xfc\x68\xac\x7a\xa3\xf5\x28\xf1\x6a\xf8\x34\xc1\x0a\x13\x2a\xef\x2f\xcc\xbe\xdc\x82\x26\x1c\xb7\x3f\x23\x72\xad\xd8\xfd\x91\xe8\x3d\x5a\xfc\x1a\xa7\x34\x68\x33\xcf\xc9\x19\x00\x69\x45\xcb\xaf\x0f\xf4\x37\x25\xf7\x96\xed\x08\x2b\x1c\xce\x0a\x1d\x79\xe1\xa7\x64\x86\x76\x00\x1c\x9a\x1d\xb6\xe7\xad\x41\xf2\x18\x13\xfb\x2f\xec\xad\xba\xd3\xe5\x7e\x2d\x4e\xf7\x68\xfe\x46\x41\x6a\x65\xa7\xfd\xca\x17\x61\x72\x06\x4a\x51\xb6\x74\x1d\x98\x94\x0d\xa6\xe6\x76\x81\xe7\x90\x06\x1f\x7c\xce\x48\xce\x29\x53\xa3\xcb\x99\x39\x10\x85\xfd\x74\x9b\x73\x3b\xa6\x9c\xc3\x66\x0a\x27\x8b\x6f\xed\x89\x8e\x67\xaf\x57\xe8\x0b\x43\xc6\x3b\x7e\x53\xd8\x35\xe4\xef\xe7\x2a\x9e\x35\xc0\xbe\x9b\x99\xc0\xd3\x9d\x65\x81\x3d\x81\x6e\x42\xd5\x75\x21\x38\x53\xc0\xc8\x78\xfa\x63\x8b\xa2\xd0\x5a\xad\x66\xe7\x82\xf2\x0c\x34\x6d\xb7\xae\x10\xea\x1e\xc7\x1b\xeb\x8d\xc9\x5e\x7e\xe3\xdf\xb7\x74\x35\x24\x0e\x86\xce\x47\x0b\x5f\x73\xff\xd6\xbd\x6d\x09\xa2\xda\x84\xc1\x21\x2b\x93\xf8\x30\x88\x03\x96\x3f\x7c\xf3\xb1\xb3\xb6\x77\xf3\x61\xcc\xc9\xa6\x68\x8a\x27\xbc\xcc\x83\x2a\xc9\xdb\xa2\x1b\xd2\xe9\x4a\x71\x8d\xd9\x12\x66\x0a\x8b\x70\x0f\xfc\x1f\xca\x08\x7f\x90\xd7\xa3\xe9\x25\x36\xe8\x23\x17\x16\x1f\xef\x73\x16\xd6\x6e\xc7\xf9\x9c\x91\x9a\x33\xcf\xfd\x8c\xe7\x4d\x10\xba\x92\xe2\x25\x30\x55\xf3\xfa\xb4\x23\x73\xf1\x0a\xbb\x95\xdd\x14\x37\x1b\x3d\xca\x96\xd7\x45\x0a\xae\x6b\xad\x4f\x3e\x83\xba\xf8\x54\xfe\x88\x4a\x65\xea\xba\xdb\xdf\x04\xd9\xe6\x82\xcf\x43\xac\xa6\xe5\x6f\x5e\x1e\x87\x15\x18\x6b\x69\x6a\x16\x97\x76\xeb\xd4\xb5\xc1\x7a\xd1\xe2\xaa\xd9\xbd\x1c\xc4\xcc\x2c\x64\xce\x7d\xc1\x2f\xb8\x57\x39\x6c\xf3\xd2\x60\xe9\xdf\x33\xa1\x40\xed\x0d\xf4\xbc\xf6\xca\xfa\xd9\x89\x4a\x4f\x28\x7b\x5e\x6b\xc4\xd6\xb8\xf8\xf8\x7d\x22\xa7\x20\x6c\x99\xdf\xc8\xb8\xf5\xff\xa8\x54\x78\x3b\xd3\xb5\xda\x78\x5d\xe7\x78\x53\x58\x1e\x30\x2e\x1f\xd3\x97\x7e\x03\x0c\xba\xd7\x00\xd6\xe0\xdc\x4a\xad\xdd\x53\x81\x73\x03\x12\x9a\x0a\x8e\x79\xdf\xea\x17\x29\x34\x0f\x87\x24\x72\x26\x71\x6b\x52\xd9\x15\x52\xac\xe7\x49\xdf\x9e\x31\x11\x50\xb6\x6c\xb3\xb2\xfb\xed\x21\xb3\x71\xc4\x89\x04\xb6\xa4\x0c\xf6\x6b\x1f\x0f\xc1\xc1\x73\xff\xf1\x73\xae\xc8\x8f\x7b\x35\xde\x32\x93\x33\xb2\x77\x0e\x17\x21\x5b\xfb\x67\x8b\x2e\x4b\xb7\x07\xfa\x3b\x2c\xc8\x03\x16\x30\x15\x7c\x41\x53\x70\xc4\xaa\xf6\x5d\xe1\x6b\xc8\x66\xdb\x15\x7c\x40\x1d\x31\x21\xfe\xee\x95\xa2\x73\x43\xec\xce\x12\x7b\x0d\x62\x0e\xe7\x28\x7e\xc5\xf7\x23\xba\x1b\xeb\xdb\x10\x3a\x5c\x86\x80\x49\x2a\x93\x8b\xb6\xe7\xca\x62\x2e\x95\xa0\x6c\x69\x0a\xa4\x89\x66\xc5\xa2\x96\xfd\x63\x8c\xfe\xa9\x55\xc0\x89\xdc\x5f\x83\x18\xe9\xb2\xf0\xef\x8f\x1f\xfd\xe3\xaa\x66\x50\x3b\xbb\xbd\x2a\x25\x19\x65\xdf\xa4\x21\xa7\x71\xfc\xa1\x1a\x40\x4e\x4d\x1a\x67\x94\xa9\x58\x4c\xb1\x94\x0f\x5c\x38\x83\x91\xc9\xa2\xa1\x71\x58\xd4\xeb\xbe\xd9\x03\x16\xd9\x84\x13\x68\xbf\x0c\xb2\x5e\x7f\x06\x3d\x0d\x9d\xea\xa9\x68\x4b\x55\xbd\xf5\xa3\x0b\xc4\x66\x63\x10\xdb\x8c\xcd\xbe\x3d\xcc\xce\x64\xd5\x3a\x6f\xd7\x96\x5a\xd6\x2f\x58\xd6\xc3\xd9\x0c\x12\x01\xbe\xd7\x57\xdc\x71\x4f\x56\xa4\x01\x84\x6a\x3f\xaa\xf9\xb5\x07\x3d\x47\x10\xdb\x0d\xeb\xca\x1a\xf0\xc5\x52\x5f\xad\x5c\xd9\xa9\xa1\x41\xab\x57\xa3\x19\x5e\xc2\x35\x2c\x40\x00\x4b\x9c\xc3\xcd\x76\x45\xde\x81\xe8\x9a\x52\xa7\x0d\x91\x67\xd6\xed\xf1\xc5\xa2\xfb\xf4\x95\x26\xf0\x9d\x94\xf7\x45\xd7\xb9\xd9\x7d\xe1\x3b\xb5\xda\x4d\x67\x29\x56\x20\x55\x7b\xbb\xf5\xfc\x7c\x83\x50\xdc\xe3\x65\x6f\xeb\x41\x24\xc1\xc9\x1d\x65\x4b\xcd\xff\x1a\x30\xb9\x62\xe9\x93\xbb\xb3\x2a\xeb\x2d\x5c\xe5\x4d\xa5\xfb\x53\xf0\x6c\xac\xb1\x76\x49\x5f\xb1\xbc\xc5\xd1\x07\x2e\x09\x95\xf7\xde\xbd\xda\xea\x8e\x78\xb7\x3d\x85\xa0\xa6\x3c\xa2\xf1\x8e\x93\xbf\x86\xbe\xdf\x73\xe8\x8b\xbb\xaf\xa5\xfb\x83\x5c\xd0\x0c\x8b\xa7\xe6\x46\x42\x0e\xe6\x29\x9f\xc7\x51\xe5\x7b\xfb\x76\xd9\x7b\xd7\xba\xc6\xa9\x07\xab\x3b\xf2\xfc\x52\xcc\xcd\x9e\xfb\xad\xa0\x9a\xb6\x6d\x45\x85\x2a\x70\x3a\x29\xa3\xfe\x75\x6e\x38\xde\xfa\x42\x68\x7b\xbc\x63\x92\x69\xc1\x74\x64\xa3\xff\x8c\xb7\x75\x8e\xe0\x98\xc3\x44\xee\x7d\xaf\x63\x15\x56\x07\x4f\xeb\xad\xb2\xc6\x39\xab\x4e\x65\x56\xbe\x9c\x7a\xfe\xa8\x80\x95\xce\xd6\xa6\xfc\x82\x19\x49\x41\x18\xbe\xf8\xf7\xc1\xbf\x2c\x2a\x5c\x28\xfe\x2d\x5f\x0a\x4c\x60\x42\x19\x37\x48\x95\x28\xc0\xa4\x94\xa1\x4b\xca\x84\x67\x19\x66\xe4\x2b\x3f\x7f\x84\x44\xcb\xeb\x6f\x6c\x4c\x89\x5b\x83\xc6\x8b\xa2\x70\x08\x8d\xfa\xdb\x80\x7c\xff\xee\x7f\x01\x00\x00\xff\xff\xe5\xef\xd3\x17\xf8\x2e\x00\x00") +var _swarmwinagentresourcesvmasT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\x4f\x6f\xdb\x3a\x12\x3f\x6f\x81\x7e\x07\xc2\x17\xc5\x80\x6a\x77\xb1\x58\x60\xf7\xdd\xd2\x26\xaf\x35\x10\x27\x46\xdc\x76\x0f\x41\x0e\xb4\x38\x76\x88\x48\xa4\x40\x52\x4e\xb2\x86\xbf\xfb\x82\xfa\x67\x52\x24\x15\xbb\x71\x5e\xb3\x78\xcf\x17\xc3\xf2\x70\x38\x33\x9c\x7f\xbf\xa1\x10\x42\x68\xf3\xfe\x1d\x2a\x3f\x03\x9c\xd3\x1f\x20\x24\xe5\x6c\xf0\x1b\x1a\xdc\xac\xb1\xa0\x78\x91\x82\x3c\x89\x76\xff\x9c\xc1\x12\x17\xa9\x8a\x86\xb7\x83\x18\xb5\x2b\x13\x9e\x3f\x0d\x7e\xdb\xb1\x2a\x1f\x15\x4c\x95\x7c\x64\xb1\x38\x31\x78\x6d\x36\xa3\x4b\x9c\xc1\x76\xfb\x59\x53\x44\xc3\x18\xf9\xfe\xbc\x5a\x2e\x25\xa8\x68\x68\xed\x83\xd0\x80\xe1\x0c\x34\xd7\x94\xf3\x7c\xd0\x3c\xdf\x1a\xa2\x10\xc8\x81\x11\x79\xa5\x75\xb8\x79\xff\x6e\xb3\xa1\x4b\xc4\xb8\x42\xa3\x89\xfc\x5c\x48\xc5\xb3\x1f\x97\xe7\xdf\xb6\xdb\x96\xde\x54\x73\xcd\x40\x4d\xce\xb4\x6e\x7a\x21\x30\xa2\xe9\x4a\x0e\x13\x39\x2b\x16\x29\x4d\xd0\x68\xc6\x85\x92\xfa\xf9\xdf\x10\x8a\xad\xd5\xad\xec\x17\x0b\x87\x49\xb5\xd9\xad\x21\x67\xca\x13\xac\x3c\xa6\x6e\x9e\x77\x2c\xdc\xe8\x7d\x93\x70\x96\x60\xe5\x35\xe8\x8f\xa9\xfe\x9e\x09\x58\xd2\x47\x6d\xd7\x88\xd1\xe4\x43\x14\x23\x7d\x3a\x13\x46\xe0\xd1\xbb\xaa\xb5\xb4\xde\xb0\xdd\x2f\x17\x3c\x07\xa1\x28\xc8\xce\xb9\xd2\xfc\x33\x67\x4b\xba\x2a\x44\x29\xa6\xac\xcc\x8c\xda\xcf\xc6\xfc\x61\x08\xde\xac\xbb\xe4\x04\xac\x23\xf5\x6e\x17\x32\x3a\xb2\x3e\x83\x94\x63\xf2\x09\xa7\x98\x25\x20\x3e\xe1\xe4\x1e\x18\x39\x25\x44\x80\x94\x33\xce\x53\x47\x36\xaf\x84\x8d\x5e\xc4\x34\x6f\x34\x96\xc5\x42\x26\x82\xe6\xa5\x92\xe3\x28\x46\xe6\x83\x93\xe1\xc8\xfc\x39\x21\x71\x34\x16\x20\x79\x21\x12\xf8\x22\x78\x91\x97\x2b\xac\x27\x27\xc3\x91\x36\x45\x8c\xa2\x71\x2e\xf8\x9a\x12\x10\x72\x3c\xa5\x89\xe0\x92\x2f\xd5\xe8\x12\xd4\x03\x17\xf7\x63\x53\xa3\x92\x89\xdf\xc1\xf4\x77\x79\xc4\xe3\x85\xab\xf6\x38\x8a\xfd\xab\x6a\x13\x69\xa2\x8a\x41\xe9\xa4\x5d\x53\x38\x66\xbe\x8d\x7b\x0d\x3f\x61\x0b\x5e\x30\x72\x89\xd5\x0b\x8d\x1e\x8e\x25\xad\x28\xb5\xb7\xd1\xb6\x89\xae\xcf\x66\x1f\x02\x36\xb2\x83\x61\x7f\x45\xeb\x90\x45\xc8\xd1\x39\x17\x74\x8d\x15\x4c\x66\xa7\x69\x13\xa4\x53\x50\x77\xbc\xd4\xe1\xec\x89\xe1\x8c\x26\x8e\x67\x23\x34\x90\xc5\x82\x81\xb2\xc3\xa8\x6b\x01\xaf\x06\x0c\xd4\xbc\x5c\xdb\xa4\x93\x3e\xe9\xad\x9f\xc6\x8f\x5b\x5f\x92\x54\x4f\x79\x19\x94\xae\xff\xb1\xea\x7b\xc2\x14\x88\x25\x4e\x40\xd6\xdb\x6e\xe3\x3a\x28\x47\x13\x39\xc5\x0c\xaf\x80\x9c\x51\x79\xdf\x06\xe5\x61\x55\x64\xae\xb8\xc0\x2b\x30\x19\x75\xf2\xdd\xcf\xa6\x47\x9f\x21\x4f\xd7\x98\xa6\x78\x41\x53\xaa\x9e\xe6\xd0\xad\x5d\x76\xea\x31\x6b\x4d\x9e\x62\xb5\xe4\x22\xfb\x5d\x57\xbc\x33\x9e\x61\xca\x3e\x37\x55\xed\x1f\x76\x59\x6a\x48\xbf\xe7\x04\x2b\x70\x69\x0d\xd2\xac\x52\x5a\xff\xa1\x44\x01\x46\x11\xeb\x39\x9e\xcf\x3c\xcb\x0b\x05\x63\x6c\xab\x62\x9f\x0e\xa4\x12\x50\x75\x44\xb5\x81\x4f\x93\xb2\x0c\xbf\xe8\x90\x0e\x29\xf5\x3e\xeb\xdb\xa2\xc8\xba\xea\x07\xca\xfa\x3a\xbb\xe0\x3c\x2f\x6b\xc4\x1e\xc5\xbd\x5d\xde\xa6\x6d\xd7\xa1\xf3\xb2\x84\x4c\x66\x75\x82\x84\x6e\x52\xcd\xb0\x54\x20\x66\x36\x95\x93\x1d\x5f\xa7\x72\x4b\xcb\x34\x55\xae\x02\x19\x0d\x6f\x32\x4e\x4e\x30\x21\x27\xbb\xca\x3d\xf4\xa6\x74\xdb\xb6\x6d\x25\x8f\x9f\xdd\xa3\x3e\x85\xe1\xed\xf3\xa4\xd1\xf0\x86\xd0\xf5\x2f\x10\x67\x17\xbf\x15\x71\x7b\x28\xc1\xe0\x35\x3c\x02\x57\x6b\xbe\xd5\x91\x64\x75\x79\xd9\x9c\xfe\x17\xe4\x14\xe7\xd1\xd0\x9f\x78\xa7\x9a\x20\x1a\xde\x8e\x6c\x69\x35\xb3\x5b\xaf\x5f\xba\x01\x5b\x9b\x62\x6c\x73\x30\xe3\x15\xa1\x2a\x9f\x7e\xc5\xd2\xca\xa4\xc8\xd6\xe3\x67\x03\xd5\x1b\xaa\x47\x09\x56\xc3\xa7\x09\x56\x98\x50\x79\x7f\x61\x76\xe3\x96\x69\xc2\x41\xfb\x47\x84\xad\x15\xb8\x07\x87\xee\xd1\x82\xd7\x58\xa5\x2d\x36\xf7\xac\x9c\x03\x90\x4e\xa8\xfc\xfa\x28\x7f\x53\x72\xb7\x6c\xcf\xb0\xc2\xe1\x94\xd0\x93\x14\xfe\x90\xb4\xd0\xf5\xfe\x43\x53\x43\xbb\xde\xc2\x8e\xc7\x00\xe9\xbf\xaa\xa5\xea\x4f\x94\xfb\x75\x36\xfd\x50\xfc\x2d\x5a\xa8\x93\x94\xf6\xab\x5a\x84\xc9\x39\x28\x45\xd9\xca\x75\x5d\x52\x36\x95\x9a\xdb\x05\x5e\x40\x1a\xdc\xf8\x9c\x91\x9c\x53\xa6\xce\x2e\xe7\x26\x02\x0a\x7b\x68\x9b\x6a\x7b\x60\xcd\x61\x20\xc2\x49\xde\xed\x61\xa2\xe3\x1d\xd6\x2b\xf4\x82\xa1\xc3\x3b\x72\x23\xd8\x07\xe9\xf7\xf3\x13\x0f\xe8\xdf\x77\x0e\x13\xd8\xdd\x19\x0d\xd8\x78\x73\x1b\xaa\xa8\x4b\xc1\x99\x02\x46\x26\xb3\x9f\x1b\x0b\x85\x06\x68\x35\x3b\xd7\x28\xcf\x98\xa6\xeb\xd3\x95\x85\xfa\xc1\x77\x33\xa7\x99\x90\xbd\x9c\xc6\x3f\x5d\xe9\x6b\x42\x1c\x1b\x3a\x3f\x2d\xfb\x9a\xd3\xb6\xfe\xd9\x4a\xd0\xaa\x4d\x0c\x1c\x32\x20\x89\x0f\x33\x71\xe0\xe4\x0f\x9f\x73\xec\x4e\xdb\x3b\xe7\x30\x80\xb1\x29\x9a\xe2\x09\x2f\x93\xa0\x4a\xf2\xae\xe8\x86\x74\xba\x46\x5c\x63\xb6\x82\xb9\xc2\x22\xdc\xf7\xfe\x87\x32\xc2\x1f\xe4\xf5\xd9\xec\x12\x1b\xf4\x91\x6b\x16\x1f\xef\x73\x16\xd6\x6e\xc7\xf9\x9c\x91\x9a\x33\xcf\xfd\x8c\x17\x4d\x10\xba\x92\xe2\x15\x30\x55\xf3\xfa\xb4\x23\x73\xed\x15\x76\x2b\xbb\x11\x6e\xe6\x77\x94\xad\xae\x8b\x14\x5c\xd7\xda\x9c\x7c\x01\x75\xf1\xa9\xfc\x13\x95\xca\xd4\x15\x77\xb8\x0d\xb2\xcd\x05\x5f\x84\x58\xcd\xca\xff\xbc\x3c\x0e\xab\x2e\xd6\x88\xd4\xac\x2c\xdd\x8e\xa9\x6f\x5e\xf5\xa2\x31\x55\x33\x6c\x39\x88\x99\x59\xc5\x9c\x9b\x81\x5f\x70\x83\x72\xd8\xa8\xa5\xb1\xa5\x7f\xb0\x84\x02\x85\x37\xd0\xea\xda\x03\xea\x67\x81\x94\x06\x26\x7b\xde\x61\xc4\x16\x44\x7c\xfc\x31\x95\x33\x10\xb6\xcc\x6f\x04\x65\xfd\x3f\x2a\x15\x9e\xc8\xf4\x8d\x33\x5e\xd7\x39\xde\x94\x2d\x0f\x40\xc9\xc7\xf4\xa5\x3f\x81\x0d\xfa\xd1\xbf\x85\x97\x3b\xa9\xb5\x1f\x12\x38\xf7\x1d\x21\x48\x70\x84\xcb\x55\xd4\x2f\x52\x08\x09\x87\x24\x72\x30\xb8\x05\x53\x76\x85\x14\x6b\x30\xe9\x9b\x2d\x26\x02\xca\x96\x6d\x5e\x76\xbf\x03\x64\x36\x8e\x38\x91\xc0\x56\x94\xc1\x7e\xed\xe3\x21\x76\xf0\x5c\x78\xec\x87\xa4\x5e\x76\x1b\x7e\xd4\x5b\xf0\xce\x19\x39\x60\xbd\x17\x59\x84\x0e\xda\x0f\x2c\xfa\x8e\xb9\x0b\xe5\xef\xb0\x20\x0f\x58\xc0\x4c\xf0\x25\x4d\xc1\x11\xab\x9a\x71\x85\x6f\x1c\x9b\x09\x57\x70\x83\x3a\x5c\x42\xfc\xdd\xdb\x43\xe7\x32\xd8\x05\x12\x7b\xa1\x30\x87\x73\x14\xbf\xe2\x9b\x10\xfd\x5d\xf5\x6d\xc8\x3a\x5c\x86\x0c\x93\x54\x47\x2e\xba\x8e\x2b\x8b\x85\x54\x82\xb2\x95\x29\x90\x26\x9a\x17\xcb\x5a\xf6\x8f\x31\xfa\xa7\x56\x01\x27\x72\x7f\x0d\x62\xa4\x6b\xc2\xbf\x3f\x7e\xf4\x63\x55\xcd\xa0\xe3\xeb\x95\x5b\x93\x8c\xb2\xef\xd2\x90\xd3\x58\xfe\x50\xa1\x8f\x53\x93\xc6\xc1\x31\x15\x8b\x19\x96\xf2\x81\x0b\x07\x15\x99\x2c\x1a\x1a\x87\x45\x3d\xe5\x9b\x3f\x60\x91\x4d\x39\x81\xee\x7b\x1f\x9b\xcd\x17\xd0\x50\xe8\x54\x43\xa2\x96\xaa\x7a\xb9\x47\x57\x87\xed\xd6\x20\xb6\x19\x9b\x4d\x7b\x98\x9d\xc9\xaa\xb3\xde\x2e\x2c\xb5\xac\x5f\xb1\xac\x91\xd9\x1c\x12\x01\xbe\x37\x55\x5c\xac\x27\x2b\xd2\x80\x85\x6a\x3f\xaa\xf9\x75\x51\x9e\x23\x88\xed\x86\x75\x59\x0d\xf8\x62\xa9\xaf\x56\xae\x6c\xd3\xd0\xa8\xd3\xa8\xd1\x0c\xaf\xe0\x1a\x96\x20\x80\x25\xce\xe2\x66\xb4\x22\xef\x40\xf4\x41\xd4\x59\x43\xe4\x01\xba\x03\xbe\x5c\xf6\xaf\xbe\xd2\x04\xbe\x95\xf2\xbe\xe8\x5b\x37\xbf\x2f\x7c\xab\xd6\x3b\x68\x96\x62\x05\x52\x75\x47\x5b\xcf\x83\x1b\x84\xe2\x01\x2f\x1b\x5b\x8f\x45\x12\x9c\xdc\x51\xb6\xd2\xfc\xaf\x01\x93\x2b\x96\x3e\xb9\x03\xab\xb2\xd8\xc2\x55\xde\x94\xb9\xdf\x05\xcf\x26\xda\xd6\x2e\xe9\x2b\x56\xb7\x38\xfa\xc0\x25\xa1\xf2\xde\x3b\x54\x5b\xdf\x11\xef\xa8\xa7\x10\xd4\x94\x47\x34\xde\x71\xf2\x17\xe2\xfb\x73\x22\xbe\xb8\xff\x1e\x7a\x38\xca\x05\xcd\xb0\x78\x6a\xee\x22\xe4\x68\x91\xf2\x45\x1c\x55\xbe\xb7\x6f\x8b\xbd\x77\xad\x6b\x9c\x7a\xb4\xbe\x23\xcf\x4f\xc4\xdc\xec\xb9\xdf\xfc\xa9\x69\xdb\xd6\x54\xa8\x02\xa7\xd3\x32\xea\x5f\xe7\x6e\xe3\xad\x4f\x83\xda\xe5\x3d\x30\xa6\x63\xa6\x23\x1f\xfa\xab\xbf\x9b\x73\x04\xaf\x1c\x27\xd2\x6e\x90\xc2\x78\xc2\x2a\xaa\x8e\x2d\xad\xf7\xc7\x1a\xc7\xac\xba\x94\x79\xf9\x0e\xea\xf9\xa3\x02\x56\x3a\x5a\x97\xf2\x2b\x66\x24\x05\x61\xf8\xe1\xdf\x47\xff\xb2\xa8\x70\xa1\xf8\xf7\x7c\x25\x30\x81\x29\x65\xdc\x20\x55\xa2\x00\x93\x52\x86\xae\x26\x13\x9e\x65\x98\x91\x6f\xfc\xfc\x11\x12\x2d\xaf\xbf\xa9\x31\x25\xee\x80\x8c\x17\x45\xe0\x18\x1a\xf5\xdb\x60\x7c\xff\xee\x7f\x01\x00\x00\xff\xff\xe4\xae\xdb\x23\xdb\x2e\x00\x00") func swarmwinagentresourcesvmasTBytes() ([]byte, error) { return bindataRead( @@ -1203,7 +1203,7 @@ func swarmwinagentresourcesvmasT() (*asset, error) { return a, nil } -var _swarmwinagentresourcesvmssT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\x5d\x4f\xe3\xbc\x12\xbe\x7e\xf9\x15\x51\x6f\xd2\x4a\xdd\xb2\x7b\x3e\xa4\xa3\xbd\x03\xca\xd9\xad\x44\xa1\xa2\xbb\xec\x05\xea\x85\x6b\x4f\x8b\x45\x62\x47\xb6\x53\xe0\x54\xf9\xef\x47\xce\xa7\x93\xd8\x69\xbb\xcb\x02\x2b\x5e\x2e\x2a\x5a\x8f\x67\xc6\x33\x8f\xed\x99\x27\xd9\x6e\xe9\xca\x1b\x4d\xe4\x5c\x71\x81\xd6\x70\x82\x31\x8f\x99\x4a\x12\xcf\xf3\xbc\x23\xfd\xb1\x4d\x3f\x3d\xaf\x87\x22\x7a\x03\x42\x52\xce\x7a\x9f\xbd\xde\xed\x06\x09\x8a\x96\x01\xc8\xbe\x5f\x8d\xe4\x5a\xfc\xc1\xa2\x37\xf4\x8a\x89\x98\x47\x4f\xbd\xcf\xa5\xa2\xf4\x97\x98\xa9\xa6\x96\xed\x76\x74\x89\x42\x48\x92\xba\x2b\xf2\x4c\x7f\xd6\x34\x7a\x5e\x8f\xa1\x10\xb4\x82\x4d\x78\xc1\x79\x74\xc9\x09\xf4\xf2\xc1\xa4\x32\x4c\x20\x02\x46\xe4\x95\x76\xf8\xb6\x9a\x7b\x8b\x39\xc3\x48\xf5\xfd\x29\xc5\x82\x4b\xbe\x52\xa3\x4b\x50\x0f\x5c\xdc\x1f\x47\xf1\x32\xa0\x78\x32\x3b\x21\x44\x80\x94\x20\x8f\xfd\xa1\x67\xf8\x18\x22\xa9\x40\xcc\xea\x52\xda\x6b\x7f\x30\x58\x14\x1e\x2c\x2a\x0f\x02\x8e\x91\x2a\x22\x26\x40\xf2\x58\x60\xf8\x22\x78\x1c\xf5\x07\xa3\x62\xd0\x8c\x55\xb1\xae\xc2\x47\xc3\xb6\xac\x85\x65\x26\x60\x45\x1f\x41\xfa\x83\xdb\x90\x93\x3e\x22\xa4\xaf\xe3\x3c\x61\x04\x1e\xfb\x83\xe1\xee\xb8\x5e\xad\x56\x12\x94\x3f\xa8\xc9\xda\x6d\xe4\x19\x18\x2c\x76\x8b\xfa\x83\x5b\x42\x37\xaf\xe0\x4e\xa9\x36\x17\x2e\x93\x52\xc5\x36\x12\x3c\x02\xa1\x28\xc8\x3a\x1a\x51\x36\xe3\xdb\x53\x04\x4d\x4c\x6e\xc2\x39\xfd\x1f\xc8\x29\x8a\xfc\x81\x15\xab\x37\x53\x2d\xe0\x0f\x16\xa3\xba\xaf\x5a\xd9\xc2\x02\x49\x95\x1b\xa9\xa0\x97\x87\xe1\xb8\x3e\x5f\x66\x73\x93\xe1\xd1\x76\x0b\x8c\x24\xc9\x51\xba\x51\x27\x32\xc3\x9e\x37\x9a\x71\xa1\x64\x92\x1c\xbe\x45\xc7\xb0\x42\x71\x50\xdf\x50\xbf\x80\x53\x5b\x50\x1a\x3b\x63\x9f\x1c\x10\x26\xe7\xa0\x14\x65\xeb\xfa\x80\x1e\xe2\x21\xa2\x4c\xab\xba\x40\x4b\x08\x9c\x56\xcf\x19\x89\x38\x65\x6a\x7c\x39\xd7\x3f\x64\x68\xf1\xab\x6d\x69\xe6\x41\x7b\x52\x6c\xe2\xa0\x58\xdf\x14\xd4\x1d\x27\x5a\xff\xf8\x89\xa1\x90\xe2\xbd\xf2\xe7\x3c\x3a\x8a\x0c\xfe\xc4\x31\x6a\xcd\xd1\xf3\x9f\x66\xae\x84\x3d\xf3\x51\x66\xb3\x78\xb1\xdc\x1f\x1b\x4b\x84\xef\x81\x91\xdc\xc5\x19\xe7\x81\xac\x85\xc0\xab\xe1\x65\xb7\xe5\xd3\x4c\x9f\x56\x54\x38\x61\xcc\x4f\xca\xff\x17\x26\x5c\x56\x82\x33\x05\x8c\x4c\x66\x67\x9c\xad\xe8\x3a\x16\xe9\x82\x7f\xcd\x93\x42\x59\x2b\x16\xdd\x11\x69\x22\x38\x0b\x8c\x45\xc4\xf3\x7a\x94\xd4\x12\x36\x21\x7b\x01\xc5\xb7\x1e\xad\x4e\x98\xb4\x63\xd7\xfc\xe6\x88\x2a\x65\x4b\x1e\x33\x72\x89\xd4\x75\x1c\xa4\xab\xbc\xad\x8d\x07\x1c\x91\x53\x14\x20\x86\x29\x5b\x97\x22\x66\xbc\xb7\xfd\x2f\xa0\x2e\x4e\xd3\x31\x2f\xf5\x33\x3f\x1b\x07\x89\xc3\x66\x24\xf8\xd2\xa1\x67\x96\x0e\x59\x15\xd8\x7c\x3e\x04\x8a\xc5\x2e\xbd\x1e\xcf\x3e\x38\x76\xe1\xcd\xd4\x3c\xb7\x34\x1c\x0e\x41\x83\x03\xa0\x9d\xa8\xe8\x46\xe5\x64\xec\x5b\x52\x3c\x6c\xc1\x50\x70\xc5\x31\x4f\x0f\x66\x85\xa3\x5e\x4b\xa0\xf0\x4c\x47\xf5\x1a\xb1\x35\xcc\x15\x12\xee\xf2\xef\x07\x65\x84\x3f\xc8\xeb\xf1\x4c\xc3\xa2\x94\xf7\x5b\x01\xb1\xa9\x3e\x67\xee\x95\x55\x8a\xcf\x19\xc9\x15\xf3\xc8\xaa\x77\x59\x1c\x11\x6d\x3f\xd1\x1a\x98\xca\x55\x9d\x56\x62\xad\x50\x39\xd0\x7f\xc8\x95\x52\xa1\x1f\x84\x71\x9d\x14\x15\x41\x06\xb7\xa2\x80\x9f\x22\x86\xd6\x40\xc6\x54\xde\xcb\x12\xb9\x87\x14\xed\xa6\x82\x2c\x28\xdb\x2d\x04\x12\x92\xc4\xfb\xd9\xbb\xab\x70\xf5\xf5\x2a\x72\x57\x7b\x53\xda\x1e\xda\x8c\x3b\x6a\xb2\x86\xe9\x9d\x05\xf9\xc7\xb7\x50\x86\xbf\x84\x13\xbb\x8b\x6f\x7b\x92\x9f\x29\xce\x9f\xde\x42\x9c\x5f\xc2\x89\xae\x38\xff\xf5\xd7\x6f\x8e\xf2\x3f\xde\x42\x94\x5f\xc2\x89\x57\x46\xf3\x3f\xdf\x42\x9c\x5f\xc2\x89\x57\x8e\xf3\xbf\xde\x42\x9c\x5f\xc2\x09\x67\x9c\xeb\xdc\x02\xe3\x4a\xdf\x94\x67\xb1\x54\x3c\xbc\xb9\x3c\xff\x56\xde\x92\xc3\x3a\x27\xc2\x40\xe5\xa5\x61\x37\x37\x51\x66\x71\xe8\xac\x34\x6b\x6a\xbc\xb2\xe9\x2c\x4b\x23\xb4\x96\xbd\xcf\xf9\x37\x93\x3f\x14\x90\x16\xb7\xf3\xb4\xa7\xe9\x79\x66\x81\x8d\xb0\x04\xb6\xa6\x0c\xf6\x2b\xb3\x87\x9e\xff\x61\x13\x4a\x69\xd4\x6f\x65\x89\xfb\xac\xf4\xdd\x1e\xf6\x77\xb7\xc2\x71\xb4\x16\x88\xc0\x8c\x07\x14\x3f\x35\x89\x92\x90\x93\xd4\xf8\x49\xac\x78\x88\x54\xc5\x5f\x34\x98\x8f\x0d\x15\x2a\x46\xc1\x14\xe1\x3b\xca\x60\x26\xf8\x8a\x06\xd0\x54\xc6\xb2\xfa\xcb\x3e\x5a\x8d\x4f\x98\x02\xb1\x42\x18\x3a\xbb\x62\xaf\xd5\x18\xd5\xa2\xc5\x28\x6e\xb6\xbe\x5d\x51\x30\x24\x68\xb4\xd3\xae\xcb\x7a\xdb\x07\x1a\xe1\x54\x99\xcd\x17\xbb\x47\x1d\x9c\x9c\x75\xba\x59\xd0\x9f\xee\x64\x35\xf6\x5d\x43\x11\x0b\xb2\x0b\x79\xd9\x86\x1b\x7a\xfe\xb1\x85\x52\x71\x71\x43\x16\xbe\xa4\xdd\x15\x9a\x7f\xee\xf5\x2f\x9a\x7d\x96\x23\x34\x93\xce\x0e\xfb\x37\x86\xa5\xd1\xda\xeb\x90\x1c\xd4\xb0\xff\x6c\x54\xcc\x8e\xce\xba\x08\x19\x2f\x19\x28\xc7\x2e\x68\x2e\xd5\xea\x2a\x03\x35\x4f\x95\x58\xbb\xfa\xdd\x7e\xda\x7f\xb7\xfd\xba\xb0\x6e\x9f\x5e\x24\x68\x88\xc4\x53\xca\x12\x88\x18\xda\x1e\x34\x75\xd5\xbf\x2f\xcc\x76\xba\x66\xa1\xc7\xa5\xf3\x94\xc2\x3c\x8c\x62\x05\xa2\xca\x93\x09\x06\x19\x2f\xa5\x12\x94\xad\x4d\x58\xe8\x03\x61\x1e\xaf\xf2\xc3\xf9\xe3\xd0\xfb\xb7\x86\x06\xc2\xb2\x4d\x14\xf4\x10\x09\x29\xfb\x2e\x41\xd8\x78\xbe\x87\x8c\x23\x38\x31\x65\x5c\x3a\x66\x48\xca\x07\x2e\x5a\xf9\x33\x75\x14\x32\x6d\x1d\xf9\x31\x34\x7f\x40\x22\x9c\x72\x02\x2d\x24\x6d\xb7\x5f\x40\xfd\xa0\xec\x64\x0d\x4c\x95\x62\xd9\x4d\x3f\x46\x0a\x65\x8f\xfb\xf2\xbf\x86\xea\x8c\x02\xd8\xa9\xd0\x54\xd6\xd4\xd0\xc2\x76\xea\xf0\x57\x24\x73\x1a\x65\x0e\x58\x80\xe5\xe4\x6c\xd1\x32\x32\x13\x74\x44\x29\x47\x41\xae\xad\x85\xf2\xb6\x23\x0d\x1c\xe5\x25\x95\x13\x4c\x34\x44\x6b\xb8\x86\x15\x08\x60\xb8\x3d\x5e\x30\xb2\xf2\x0e\x44\x17\x69\x34\x2b\x84\xac\xcc\x13\x5f\xad\xba\xa7\x5f\x69\x01\xeb\x54\x79\x1f\x77\x4d\x9c\xdf\xc7\xd6\x69\x9b\x8a\xd1\x09\x90\x02\xa9\x1a\x3c\x56\x93\x94\xe6\x72\x4c\xe5\xbd\x6d\xf9\x38\xad\x28\xd6\x5a\xd3\x35\x20\xf2\x43\x50\x05\xed\xcb\x34\xab\xde\xe0\x2a\x2a\x2a\xab\xff\x0a\x1e\x4e\x74\x6c\xdd\x74\x4d\x53\xc7\xd0\x78\x00\x2c\x25\x97\x44\x7b\xd4\xb6\xb4\xb9\x23\x67\x9c\x29\x44\x19\x08\xfb\x35\x52\x9e\x05\xa2\xc8\x6b\xff\x90\x86\xe3\x6f\x36\x68\xff\x7e\xa3\x76\x87\x5a\x5e\x19\xf0\x06\xa3\xfc\x8e\x28\x9e\xe4\xc9\xd1\x32\xe0\xcb\xa1\xe7\x67\x09\xb6\x3c\x21\x79\xe1\x14\xbe\x77\xa2\x69\x57\x0a\xdf\x7e\x06\xdf\x3b\x89\xf5\xe7\x67\xf0\xbd\xd3\x63\x7f\x7e\x06\xdf\x3b\xf1\xf6\x1c\x19\x6c\xe4\x6f\x61\x6d\x21\xeb\xb5\xae\x59\xea\xc2\xa3\x02\xa6\x8d\x3a\x8b\xdd\x52\xe2\x40\x2e\x47\xd7\x63\x59\x2f\x30\xc7\x82\x46\xea\xbc\xd0\xd3\x2a\x3c\xf7\x22\x78\x6a\x15\x75\x05\xc4\xb3\xac\xaf\xb3\xe8\x34\x1e\xa8\xee\xeb\x46\x3e\xe5\x2b\x62\x24\x00\x61\x3c\xe0\xfc\x34\xfa\x8f\x5d\x1c\xc5\x8a\x7f\xcf\xa8\xb8\x29\x65\xdc\x98\xa3\x5b\x5b\xeb\x14\x69\x7f\xbb\xc9\x90\xc0\x3c\x0c\x11\x23\xdf\xf8\xf9\x23\x60\xbd\x38\x7b\x97\x63\xae\xca\xd1\xc9\xb7\xbb\xf2\x03\x7a\xeb\xa3\xe6\x7f\xc6\xa3\xea\xac\xc3\x30\x89\x58\x14\x21\x4c\xd5\x93\x93\x77\xe8\x7c\x79\xb3\xfb\x8d\xba\xda\x14\x45\x33\x08\xcc\x15\x62\x04\x09\xb2\xd7\xab\x59\x39\x4a\x8e\xeb\x84\xe7\x1c\x23\xdd\x24\x96\xaf\xd8\x1d\xfd\x3f\x00\x00\xff\xff\x2b\x99\xe2\x5e\x03\x2b\x00\x00") +var _swarmwinagentresourcesvmssT = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\x5f\x4f\xe3\xba\x13\x7d\x5e\x3e\x45\xd4\x97\x50\xa9\x5b\x76\x7f\x7f\xa4\xab\x7d\x03\xca\xdd\xad\x44\xa1\xa2\xbb\xec\x03\xea\x83\x6b\x4f\x8b\x45\x62\x47\xb6\x53\xe0\x56\xf9\xee\x57\xce\x5f\x27\xb1\xd3\x96\xcb\x02\x2b\x2e\x0f\x15\x6d\xc6\xe3\xf1\x99\x63\x67\xe6\x24\x9b\x0d\x5d\x7a\xc3\xb1\x9c\x29\x2e\xd0\x0a\x8e\x31\xe6\x31\x53\x49\xe2\x79\x9e\x77\xa0\x3f\x36\xe9\xa7\xe7\xf5\x50\x44\xaf\x41\x48\xca\x59\xef\x8b\xd7\xbb\x59\x23\x41\xd1\x22\x00\x79\xe8\x57\x57\x72\x2f\x7e\x7f\xde\x1b\x78\xc5\x40\xcc\xa3\xc7\xde\x97\xd2\x51\xfa\x4b\xcc\x54\xd3\xcb\x66\x33\xbc\x40\x21\x24\x49\x3d\x14\x79\xaa\x3f\x6b\x1e\x3d\xaf\xc7\x50\x08\xda\xc1\x3a\x3c\xe7\x3c\xba\xe0\x04\x7a\xf9\xc5\xa4\x9a\x98\x40\x04\x8c\xc8\x4b\x1d\xf0\x4d\x35\xf6\x06\x73\x86\x91\x3a\xf4\x27\x14\x0b\x2e\xf9\x52\x0d\x2f\x40\xdd\x73\x71\x77\x14\xc5\x8b\x80\xe2\xf1\xf4\x98\x10\x01\x52\x82\x3c\xf2\x07\x9e\x11\x63\x88\xa4\x02\x31\xad\x5b\xe9\xa8\xfd\x7e\x7f\x5e\x44\x30\xaf\x22\x08\x38\x46\xca\x82\x58\xf1\x7b\x1d\xa8\x62\x51\x45\x80\xc6\x00\x59\xc3\x64\x2a\x60\x49\x1f\x40\xfa\xfd\x9b\x90\x93\x43\x44\xc8\xa1\x06\x79\xcc\x08\x3c\x1c\xf6\x07\xdb\x41\xbd\x5c\x2e\x25\x28\xbf\x5f\xb3\xb5\xcf\x91\xc3\xdf\x9f\x6f\x37\xf5\xfb\x37\x84\xae\x5f\x21\x9c\xd2\x6d\x6e\x5c\x66\xa4\xc2\x36\x12\x3c\x02\xa1\x28\xc8\x3a\x15\x51\x36\xe2\xfb\x63\x04\xcd\x24\xad\xc3\x19\xfd\x0b\xe4\x04\x45\x7e\xdf\x4a\xd4\xeb\x89\x36\xf0\xfb\xf3\x61\x3d\x56\xed\x6c\x6e\xe1\xa3\xca\x27\xa9\x78\x97\xc3\x70\x54\x1f\x2f\xb3\xb1\xc9\xe0\x60\xb3\x01\x46\x92\xe4\x20\xdd\xa5\x63\x99\x11\xcf\x1b\x4e\xb9\x50\x32\x49\xf6\xdf\x9f\x23\x58\xa2\x38\xa8\xef\xa6\xa7\x92\xd4\x86\x48\x63\x4f\xec\x92\x00\xc2\xe4\x0c\x94\xa2\x6c\x55\xbf\xa0\x2f\xf1\x10\x51\xa6\x5d\x9d\xa3\x05\x04\xce\x59\xcf\x18\x89\x38\x65\x6a\x74\x31\xd3\x3f\x64\x54\xf1\xab\x0d\x69\x26\x41\x47\x52\x6c\xdf\xa0\x58\xe1\x04\xd4\x2d\x27\xda\xff\xe8\x91\xa1\x90\xe2\x9d\x92\xe7\x3c\x34\x8a\xf4\x3d\xe1\x00\xb5\x26\xe8\xf9\xcf\x31\x57\xc2\x9e\xf3\x10\xb3\x4d\x77\xbe\xd8\x9d\x18\x0b\x84\xef\x80\x91\x3c\xbe\x29\xe7\x81\xac\xad\xdf\xab\x91\x65\xfb\xcc\x27\x99\x3f\xed\xa8\x08\xc2\x18\x9f\x94\xff\xcf\x4d\xae\x2c\x05\x67\x0a\x18\x19\x4f\x4f\x39\x5b\xd2\x55\x2c\xd2\x25\xff\xb3\x48\x0a\x67\x2d\x2c\xba\x11\x69\xd2\x37\x03\xc6\x62\xe2\x79\x3d\x9a\xb2\xf9\x46\x80\xe4\xb1\xc0\x30\x26\x3b\xb1\xc4\xb7\x1e\xaa\x4e\x8e\xb4\xb1\x6b\x7e\x73\xa0\x4a\xd9\x82\xc7\x8c\x5c\x20\x75\x15\x07\xe9\x2a\x6f\x6a\xd7\x03\x8e\xc8\x09\x0a\x10\xc3\x94\xad\x4a\x13\x13\xef\xcd\xe1\x57\x50\xe7\x27\xe9\x35\x2f\x8d\x33\x3f\x15\xfb\x89\x63\xce\x48\xf0\x85\xc3\xcf\x34\xbd\x64\x75\x60\x8b\x79\x1f\x2a\x16\x5b\xf4\x6a\x34\xfd\xe8\xd8\x82\xd7\x13\xf3\xd0\xd2\x74\xd8\x87\x0d\x0e\x82\x76\xb2\xa2\x9b\x95\xe3\x91\x6f\x49\xf1\xa0\x45\x43\xc1\x15\xc7\x3c\x3d\x95\x15\x8e\x7a\x2d\x83\x22\x32\x8d\xea\x15\x62\x2b\x98\x29\x24\xdc\x55\xdf\x4f\xca\x08\xbf\x97\x57\xa3\xa9\xa6\x45\x69\xef\xb7\x00\xb1\xb9\x3e\x63\xee\x95\x55\x8e\xcf\x18\xc9\x1d\xf3\xc8\xea\x77\x51\x1c\x11\xed\x38\xd1\x0a\x98\xca\x5d\x9d\x54\x66\x2d\xa8\x1c\xec\xdf\xe7\x7e\x52\xb1\x1f\x84\x71\x2f\x29\x6a\x81\x8c\x6e\x45\xdd\x3e\x41\x0c\xad\x80\x8c\xa8\xbc\x93\x25\x73\xf7\xa9\xd5\x4d\x07\x19\x28\x9b\x0d\x04\x12\x92\xc4\x7b\xea\x8d\xab\x08\xf5\xf5\x0a\x71\x57\x57\x53\xce\x3d\xb0\x4d\xee\xa8\xc6\x1a\x53\x6f\x2d\xc5\x3f\xbd\x85\x02\xfc\x25\x82\xd8\x5e\x76\xdb\x93\xfc\x4c\x38\x7f\x7e\x0b\x38\xbf\x44\x10\x5d\x38\x7f\xf8\xf0\x8b\x51\xfe\xcf\x5b\x40\xf9\x25\x82\x78\x65\x36\xff\xf7\x2d\xe0\xfc\x12\x41\xbc\x32\xce\xff\x7b\x0b\x38\xbf\x44\x10\x4e\x9c\xeb\xaa\x02\xe3\x4a\xdf\x29\x4f\x63\xa9\x78\x78\x7d\x71\xf6\xbd\xbc\x4b\x0e\xea\x6a\x08\x03\x95\x97\x86\xdd\xaa\x44\x99\xc5\x81\xb3\xd2\xac\xb9\xf1\xca\x8e\xb3\x2c\x8d\xd0\x4a\xf6\xbe\xe4\xdf\x4c\xd9\x50\x40\x5a\xdc\xce\xd2\x9e\xa6\xe7\x99\x05\x36\xc2\x12\xd8\x8a\x32\xd8\xad\xcc\x1e\x78\xfe\xc7\x75\x28\xa5\x51\xbf\x95\x25\xee\xf3\xa9\x76\x3b\x4c\xbe\xbd\x0f\x8e\xa3\x95\x40\x04\xa6\x3c\xa0\xf8\xb1\x29\x91\x84\x9c\xa4\x93\x1f\xc7\x8a\x87\x48\x55\xca\x45\x43\xf3\x58\x53\xa1\x62\x14\x4c\x10\xbe\xa5\x0c\xa6\x82\x2f\x69\x00\x4d\x67\x2c\x2b\xbe\xec\x57\xab\xeb\x63\xa6\x40\x2c\x11\x86\xce\x96\xd8\x6b\x75\x45\x35\xb4\x18\xc5\xcd\xbe\xb7\x0b\x05\xc3\x82\x46\x5b\xe7\x75\xcd\xde\x8e\x81\x46\x38\x75\x66\x8b\xc5\x1e\x51\x87\x14\x67\x1d\x6e\x56\xf3\x27\x5b\x25\x8d\x5d\xd7\x50\x60\x41\xb6\x31\x2f\xdb\x6d\x03\xcf\x3f\xb2\xe8\x29\x2e\x55\xc8\x22\x96\xb4\x5b\x42\xf3\xcf\xbd\xfe\x79\xb3\xc9\x72\x40\x33\xee\x6c\xaf\x7f\x21\x2c\x8d\xbe\x5e\x43\xb2\x57\xb7\xfe\x54\x54\xcc\x76\xce\xba\x08\x19\x2f\x18\x28\xc7\x2e\x68\x2e\xd5\x1a\x2a\x03\x35\x4b\x9d\x58\x5b\xfa\xed\x71\xda\x7f\xb7\xfd\x3a\xb7\x6e\x9f\x5e\x24\x68\x88\xc4\x63\x2a\x11\x88\x18\xda\x11\x34\x7d\xd5\xbf\xcf\xcd\x5e\xba\x36\x43\x8f\x4b\xe7\x29\x85\x79\x18\xc5\x0a\x44\x95\x27\x93\x0c\x32\x5e\x48\x25\x28\x5b\x99\xb4\xd0\x07\xc2\x2c\x5e\xe6\x87\xf3\xa7\x81\xf7\x7f\x4d\x0d\x84\x65\x5b\x25\xe8\x21\x12\x52\xf6\x43\x82\xb0\x89\x7c\xf7\x99\x40\x70\x6c\xda\xb8\x7c\x4c\x91\x94\xf7\x5c\xb4\xf2\x67\xfa\x28\x6c\xda\x3e\xf2\x63\x68\x76\x8f\x44\x38\xe1\x04\x5a\x4c\xda\x6c\xbe\x82\xfa\x49\xd9\xf1\x0a\x98\x2a\xcd\xb2\xdb\xfc\x08\x29\x94\x3d\xe2\xcb\xff\x1a\xae\xb3\xfe\x7f\xab\x43\xd3\x59\xd3\x43\x8b\xdb\x69\xc0\xdf\x90\xcc\x35\x94\x19\x60\x01\x96\x93\xb3\xa5\xc9\xc8\xcc\xd0\x81\x52\xce\x82\xdc\x5b\x8b\xe5\xed\x40\x1a\x3c\xca\xeb\x29\x27\x99\x68\x88\x56\x70\x05\x4b\x10\xc0\x70\xfb\x7a\x21\xc7\xca\x5b\x10\x5d\x8a\xd1\xb4\x30\xb2\xca\x4e\x7c\xb9\xec\x1e\x7e\xa9\x0d\xac\x43\xe5\x5d\xdc\x35\x70\x76\x17\x5b\x87\xad\x2b\x39\x27\x40\x0a\xa4\x6a\x88\x58\x4d\x45\x9a\xcb\x11\x95\x77\xb6\xe5\xe3\xb4\xa2\x58\x69\x4f\x57\x80\xc8\x4f\x41\x15\xb4\x6f\xa6\x59\xe9\x06\x97\x51\x51\x56\xfd\x29\x78\x38\xd6\xd8\xba\xb5\x9a\xa6\x8f\x81\xf1\xd0\x57\x4a\x2e\x89\x8e\xa8\x3d\xd3\xfa\x96\x9c\x72\xa6\x10\x65\x20\xec\xb7\x91\xf2\x2c\x10\x45\x5e\x0f\xf7\xe9\x36\xfe\x95\x82\x76\x6f\x36\x6a\xf7\x50\xcb\x6b\x02\x5e\x7f\x98\xdf\x23\x8a\x67\x78\x72\xb8\x08\xf8\x62\xe0\xf9\x59\x82\x2d\x8f\x47\x5e\x38\x85\xef\x5d\x65\xda\x96\xc2\xb7\x9f\xc1\xf7\xae\x60\xfd\xfe\x19\x7c\xef\xda\xd8\xef\x9f\xc1\xf7\xae\xba\x3d\x47\x06\x1b\xf9\x9b\x5b\x5b\xc8\x7a\xad\x6b\x96\xba\xf0\xa0\x80\xe9\x49\x9d\xc5\x6e\x69\xb1\xa7\x96\xa3\xeb\xb1\xac\x17\x98\x61\x41\x23\x75\x56\xf8\x69\x15\x9e\x3b\x09\x3c\xb5\x8a\xba\x22\xe2\x69\xd6\xd7\x59\x7c\x1a\x4f\x53\x77\x0d\x23\x1f\xf2\x0d\x31\x12\x80\x30\x9e\x6e\x7e\x1e\xfe\x61\x37\x47\xb1\xe2\x3f\x32\x29\x6e\x42\x19\x37\xc6\xe8\xd6\xd6\x3a\x44\xda\xdf\x6b\x32\x2c\x30\x0f\x43\xc4\xc8\x77\x7e\xf6\x00\x58\x2f\xce\xde\xe5\x98\xab\x72\x74\xf2\xed\xae\x7c\x8f\xde\xfa\xa0\xf9\x9f\xf1\x9c\x3a\xeb\x30\x4c\x15\x16\x45\x08\x53\xf5\xe8\xd4\x1d\x3a\x5f\xd8\xec\x7e\x91\xae\x36\x44\xd1\x8c\x02\x33\x85\x18\x41\x82\xec\xf4\x52\x56\xce\x92\xa3\xba\xe0\x39\xc3\x48\x37\x89\xe5\x9b\x75\x07\x7f\x07\x00\x00\xff\xff\x79\x4c\x46\x85\xf7\x2a\x00\x00") func swarmwinagentresourcesvmssTBytes() ([]byte, error) { return bindataRead( diff --git a/pkg/acsengine/testdata/classic/swarm_expected.json b/pkg/acsengine/testdata/classic/swarm_expected.json index 36a65826e..f49ae2c9c 100644 --- a/pkg/acsengine/testdata/classic/swarm_expected.json +++ b/pkg/acsengine/testdata/classic/swarm_expected.json @@ -435,6 +435,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -597,6 +604,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarm-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 1, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -661,8 +673,8 @@ "postInstallScriptURI": "disabled", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseClassicName": "[concat(uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location)), variables('orchestratorName'))]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseClassicName": "[concat(uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location'))), variables('orchestratorName'))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -964,7 +976,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(copyIndex(),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(copyIndex(),variables('storageAccountPrefixesCount'))],variables('storageAccountBaseClassicName'),copyIndex(1))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpool1VMSize')].storageAccountType]" @@ -973,7 +985,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpool1IPAddressName')]", "properties": { "dnsSettings": { @@ -988,7 +1000,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agentpool1IPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpool1LbName')]", "properties": { "backendAddressPools": [ @@ -1113,7 +1125,7 @@ "[variables('vnetID')]", "[variables('agentpool1LbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool1VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1202,7 +1214,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpool2VMSize')].storageAccountType]" @@ -1220,7 +1232,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool2VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1300,7 +1312,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1309,7 +1321,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1344,14 +1356,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1366,7 +1378,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1396,7 +1408,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1414,7 +1426,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -1439,7 +1451,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1474,7 +1486,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1537,7 +1549,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/classic/swarm_expected_params.json b/pkg/acsengine/testdata/classic/swarm_expected_params.json index 10740101c..fd387e18d 100644 --- a/pkg/acsengine/testdata/classic/swarm_expected_params.json +++ b/pkg/acsengine/testdata/classic/swarm_expected_params.json @@ -26,6 +26,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/disks-managed/dcos-vmas_expected.json b/pkg/acsengine/testdata/disks-managed/dcos-vmas_expected.json index 9294baf7c..466fdfcd2 100644 --- a/pkg/acsengine/testdata/disks-managed/dcos-vmas_expected.json +++ b/pkg/acsengine/testdata/disks-managed/dcos-vmas_expected.json @@ -660,6 +660,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -794,6 +801,11 @@ "apiVersionStorageManagedDisks": "2016-04-30-preview", "dataStorageAccountPrefixSeed": 97, "dcosBootstrapURL": "[parameters('dcosBootstrapURL')]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]", @@ -836,7 +848,7 @@ "osImageVersion": "16.04.201606270", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location, variables('orchestratorName')))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location'),variables('orchestratorName')))]", "storageAccountPrefixes": [ "0", "6", @@ -1132,7 +1144,7 @@ "resources": [ { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent128NSGName')]", "properties": { "securityRules": [] @@ -1148,7 +1160,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent128VMNamePrefix'), 'nic-', copyIndex(variables('agent128Offset')))]", "properties": { "ipConfigurations": [ @@ -1167,7 +1179,7 @@ }, { "apiVersion": "[variables('apiVersionStorageManagedDisks')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent128AvailabilitySet')]", "properties": { "managed": "true", @@ -1186,7 +1198,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agent128VMNamePrefix'), 'nic-', copyIndex(variables('agent128Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agent128AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent128VMNamePrefix'), copyIndex(variables('agent128Offset')))]", "properties": { "availabilitySet": { @@ -1256,7 +1268,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicNSGName')]", "properties": { "securityRules": [ @@ -1316,7 +1328,7 @@ "[variables('vnetID')]", "[variables('agent1publicLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent1publicVMNamePrefix'), 'nic-', copyIndex(variables('agent1publicOffset')))]", "properties": { "ipConfigurations": [ @@ -1340,7 +1352,7 @@ }, { "apiVersion": "[variables('apiVersionStorageManagedDisks')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicAvailabilitySet')]", "properties": { "managed": "true", @@ -1351,7 +1363,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicIPAddressName')]", "properties": { "dnsSettings": { @@ -1366,7 +1378,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agent1publicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicLbName')]", "properties": { "backendAddressPools": [ @@ -1489,7 +1501,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agent1publicVMNamePrefix'), 'nic-', copyIndex(variables('agent1publicOffset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agent1publicAvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent1publicVMNamePrefix'), copyIndex(variables('agent1publicOffset')))]", "properties": { "availabilitySet": { @@ -1547,7 +1559,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1559,7 +1571,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountExhibitorName')]", "properties": { "accountType": "Standard_LRS" @@ -1572,7 +1584,7 @@ "[concat('Microsoft.Network/networkSecurityGroups/', variables('agent128NSGName'))]", "[concat('Microsoft.Network/networkSecurityGroups/', variables('agent1publicNSGName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1613,14 +1625,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1635,7 +1647,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1665,7 +1677,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1680,7 +1692,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterNSGName')]", "properties": { "securityRules": [ @@ -1714,7 +1726,7 @@ "[variables('masterLbID')]", "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1757,7 +1769,7 @@ "[variables('masterStorageAccountName')]", "[variables('masterStorageAccountExhibitorName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1816,7 +1828,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), sub(variables('masterCount'), 1))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), sub(variables('masterCount'), 1), '/waitforleader')]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/disks-managed/dcos-vmas_expected_params.json b/pkg/acsengine/testdata/disks-managed/dcos-vmas_expected_params.json index 75ebe7a86..a7a1a1005 100644 --- a/pkg/acsengine/testdata/disks-managed/dcos-vmas_expected_params.json +++ b/pkg/acsengine/testdata/disks-managed/dcos-vmas_expected_params.json @@ -29,6 +29,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/disks-managed/dcos-vmss_expected.json b/pkg/acsengine/testdata/disks-managed/dcos-vmss_expected.json index 54c6899e9..951ee9170 100644 --- a/pkg/acsengine/testdata/disks-managed/dcos-vmss_expected.json +++ b/pkg/acsengine/testdata/disks-managed/dcos-vmss_expected.json @@ -442,6 +442,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -574,6 +581,11 @@ "apiVersionStorageManagedDisks": "2016-04-30-preview", "dataStorageAccountPrefixSeed": 97, "dcosBootstrapURL": "[parameters('dcosBootstrapURL')]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]", @@ -616,7 +628,7 @@ "osImageVersion": "16.04.201606270", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location, variables('orchestratorName')))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location'),variables('orchestratorName')))]", "storageAccountPrefixes": [ "0", "6", @@ -912,7 +924,7 @@ "resources": [ { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent128NSGName')]", "properties": { "securityRules": [] @@ -924,7 +936,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent128VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1015,7 +1027,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicNSGName')]", "properties": { "securityRules": [ @@ -1067,7 +1079,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicIPAddressName')]", "properties": { "dnsSettings": { @@ -1082,7 +1094,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agent1publicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicLbName')]", "properties": { "backendAddressPools": [ @@ -1201,7 +1213,7 @@ "[variables('vnetID')]", "[concat('Microsoft.Network/loadBalancers/', variables('agent1publicLbName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent1publicVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1285,7 +1297,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1297,7 +1309,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountExhibitorName')]", "properties": { "accountType": "Standard_LRS" @@ -1310,7 +1322,7 @@ "[concat('Microsoft.Network/networkSecurityGroups/', variables('agent128NSGName'))]", "[concat('Microsoft.Network/networkSecurityGroups/', variables('agent1publicNSGName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1351,14 +1363,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1373,7 +1385,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1403,7 +1415,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1418,7 +1430,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterNSGName')]", "properties": { "securityRules": [ @@ -1452,7 +1464,7 @@ "[variables('masterLbID')]", "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1495,7 +1507,7 @@ "[variables('masterStorageAccountName')]", "[variables('masterStorageAccountExhibitorName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1554,7 +1566,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), sub(variables('masterCount'), 1))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), sub(variables('masterCount'), 1), '/waitforleader')]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/disks-managed/dcos-vmss_expected_params.json b/pkg/acsengine/testdata/disks-managed/dcos-vmss_expected_params.json index 75ebe7a86..a7a1a1005 100644 --- a/pkg/acsengine/testdata/disks-managed/dcos-vmss_expected_params.json +++ b/pkg/acsengine/testdata/disks-managed/dcos-vmss_expected_params.json @@ -29,6 +29,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/disks-managed/kubernetes-vmas_expected.json b/pkg/acsengine/testdata/disks-managed/kubernetes-vmas_expected.json index c292a6c2b..b1b69976a 100644 --- a/pkg/acsengine/testdata/disks-managed/kubernetes-vmas_expected.json +++ b/pkg/acsengine/testdata/disks-managed/kubernetes-vmas_expected.json @@ -759,6 +759,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -955,7 +962,11 @@ "kubernetesHyperkubeSpec": "[parameters('kubernetesHyperkubeSpec')]", "kubernetesKubeDNSSpec": "[parameters('kubernetesKubeDNSSpec')]", "kubernetesPodInfraContainerSpec": "[parameters('kubernetesPodInfraContainerSpec')]", - "location": "[resourceGroup().location]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat('master-availabilityset-', variables('nameSuffix'))]", "masterCount": 1, "masterEtcdClientPort": 2379, @@ -1043,7 +1054,7 @@ 2204 ], "sshPublicKeyData": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -1469,7 +1480,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')),'/cse', copyIndex(variables('agentpool1Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -1608,7 +1619,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool2VMNamePrefix'), copyIndex(variables('agentpool2Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool2VMNamePrefix'), copyIndex(variables('agentpool2Offset')),'/cse', copyIndex(variables('agentpool2Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -1983,7 +1994,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(),'/cse', copyIndex())]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/disks-managed/kubernetes-vmas_expected_params.json b/pkg/acsengine/testdata/disks-managed/kubernetes-vmas_expected_params.json index fbeca3218..f85e15327 100644 --- a/pkg/acsengine/testdata/disks-managed/kubernetes-vmas_expected_params.json +++ b/pkg/acsengine/testdata/disks-managed/kubernetes-vmas_expected_params.json @@ -74,6 +74,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/disks-managed/swarm-vmas_expected.json b/pkg/acsengine/testdata/disks-managed/swarm-vmas_expected.json index 59b780aaf..46d4143cb 100644 --- a/pkg/acsengine/testdata/disks-managed/swarm-vmas_expected.json +++ b/pkg/acsengine/testdata/disks-managed/swarm-vmas_expected.json @@ -653,6 +653,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -814,6 +821,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarm-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -878,7 +890,7 @@ "postInstallScriptURI": "disabled", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -1180,7 +1192,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent128VMNamePrefix'), 'nic-', copyIndex(variables('agent128Offset')))]", "properties": { "ipConfigurations": [ @@ -1199,7 +1211,7 @@ }, { "apiVersion": "[variables('apiVersionStorageManagedDisks')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent128AvailabilitySet')]", "properties": { "managed": "true", @@ -1218,7 +1230,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agent128VMNamePrefix'), 'nic-', copyIndex(variables('agent128Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agent128AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent128VMNamePrefix'), copyIndex(variables('agent128Offset')))]", "properties": { "availabilitySet": { @@ -1296,7 +1308,7 @@ "[variables('vnetID')]", "[variables('agent1publicLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent1publicVMNamePrefix'), 'nic-', copyIndex(variables('agent1publicOffset')))]", "properties": { "ipConfigurations": [ @@ -1320,7 +1332,7 @@ }, { "apiVersion": "[variables('apiVersionStorageManagedDisks')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicAvailabilitySet')]", "properties": { "managed": "true", @@ -1331,7 +1343,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicIPAddressName')]", "properties": { "dnsSettings": { @@ -1346,7 +1358,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agent1publicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicLbName')]", "properties": { "backendAddressPools": [ @@ -1469,7 +1481,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agent1publicVMNamePrefix'), 'nic-', copyIndex(variables('agent1publicOffset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agent1publicAvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent1publicVMNamePrefix'), copyIndex(variables('agent1publicOffset')))]", "properties": { "availabilitySet": { @@ -1527,7 +1539,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1536,7 +1548,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1571,14 +1583,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1593,7 +1605,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1623,7 +1635,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1641,7 +1653,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -1666,7 +1678,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1701,7 +1713,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1764,7 +1776,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/disks-managed/swarm-vmas_expected_params.json b/pkg/acsengine/testdata/disks-managed/swarm-vmas_expected_params.json index 72372d947..50b4d3d64 100644 --- a/pkg/acsengine/testdata/disks-managed/swarm-vmas_expected_params.json +++ b/pkg/acsengine/testdata/disks-managed/swarm-vmas_expected_params.json @@ -26,6 +26,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/disks-managed/swarm-vmss_expected.json b/pkg/acsengine/testdata/disks-managed/swarm-vmss_expected.json index 52b85ebde..63137448a 100644 --- a/pkg/acsengine/testdata/disks-managed/swarm-vmss_expected.json +++ b/pkg/acsengine/testdata/disks-managed/swarm-vmss_expected.json @@ -435,6 +435,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -594,6 +601,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarm-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -658,7 +670,7 @@ "postInstallScriptURI": "disabled", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -957,7 +969,7 @@ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent128VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1048,7 +1060,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicIPAddressName')]", "properties": { "dnsSettings": { @@ -1063,7 +1075,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agent1publicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicLbName')]", "properties": { "backendAddressPools": [ @@ -1183,7 +1195,7 @@ "[variables('vnetID')]", "[variables('agent1publicLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent1publicVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1267,7 +1279,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1276,7 +1288,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1311,14 +1323,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1333,7 +1345,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1363,7 +1375,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1381,7 +1393,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -1406,7 +1418,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1441,7 +1453,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1504,7 +1516,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/disks-managed/swarm-vmss_expected_params.json b/pkg/acsengine/testdata/disks-managed/swarm-vmss_expected_params.json index 72372d947..50b4d3d64 100644 --- a/pkg/acsengine/testdata/disks-managed/swarm-vmss_expected_params.json +++ b/pkg/acsengine/testdata/disks-managed/swarm-vmss_expected_params.json @@ -26,6 +26,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/disks-managed/swarm-windows-vmas_expected.json b/pkg/acsengine/testdata/disks-managed/swarm-windows-vmas_expected.json index 7b17782aa..f33cda8fd 100644 --- a/pkg/acsengine/testdata/disks-managed/swarm-windows-vmas_expected.json +++ b/pkg/acsengine/testdata/disks-managed/swarm-windows-vmas_expected.json @@ -653,6 +653,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -833,6 +840,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarm-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -898,7 +910,7 @@ "singleQuote": "'", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -1205,7 +1217,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent128VMNamePrefix'), 'nic-', copyIndex(variables('agent128Offset')))]", "properties": { "ipConfigurations": [ @@ -1224,7 +1236,7 @@ }, { "apiVersion": "[variables('apiVersionStorageManagedDisks')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent128AvailabilitySet')]", "properties": { "managed": "true", @@ -1243,7 +1255,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agent128VMNamePrefix'), 'nic-', copyIndex(variables('agent128Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agent128AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent128VMNamePrefix'), copyIndex(variables('agent128Offset')))]", "properties": { "availabilitySet": { @@ -1310,7 +1322,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agent128VMNamePrefix'), copyIndex(variables('agent128Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent128VMNamePrefix'), copyIndex(variables('agent128Offset')), '/cse')]", "properties": { "autoUpgradeMinorVersion": true, @@ -1333,7 +1345,7 @@ "[variables('vnetID')]", "[variables('agent1publicLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent1publicVMNamePrefix'), 'nic-', copyIndex(variables('agent1publicOffset')))]", "properties": { "ipConfigurations": [ @@ -1362,7 +1374,7 @@ }, { "apiVersion": "[variables('apiVersionStorageManagedDisks')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicAvailabilitySet')]", "properties": { "managed": "true", @@ -1373,7 +1385,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicIPAddressName')]", "properties": { "dnsSettings": { @@ -1388,7 +1400,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agent1publicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicLbName')]", "properties": { "backendAddressPools": [ @@ -1524,7 +1536,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agent1publicVMNamePrefix'), 'nic-', copyIndex(variables('agent1publicOffset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agent1publicAvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent1publicVMNamePrefix'), copyIndex(variables('agent1publicOffset')))]", "properties": { "availabilitySet": { @@ -1576,7 +1588,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agent1publicVMNamePrefix'), copyIndex(variables('agent1publicOffset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent1publicVMNamePrefix'), copyIndex(variables('agent1publicOffset')), '/cse')]", "properties": { "autoUpgradeMinorVersion": true, @@ -1594,7 +1606,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1603,7 +1615,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1638,14 +1650,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1660,7 +1672,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1690,7 +1702,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1708,7 +1720,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -1733,7 +1745,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1768,7 +1780,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1831,7 +1843,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/disks-managed/swarm-windows-vmas_expected_params.json b/pkg/acsengine/testdata/disks-managed/swarm-windows-vmas_expected_params.json index 142ab1d09..da0188952 100644 --- a/pkg/acsengine/testdata/disks-managed/swarm-windows-vmas_expected_params.json +++ b/pkg/acsengine/testdata/disks-managed/swarm-windows-vmas_expected_params.json @@ -26,6 +26,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/disks-managed/swarm-windows-vmss_expected.json b/pkg/acsengine/testdata/disks-managed/swarm-windows-vmss_expected.json index b4634c314..ad07a8487 100644 --- a/pkg/acsengine/testdata/disks-managed/swarm-windows-vmss_expected.json +++ b/pkg/acsengine/testdata/disks-managed/swarm-windows-vmss_expected.json @@ -435,6 +435,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -613,6 +620,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarm-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -678,7 +690,7 @@ "singleQuote": "'", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -982,7 +994,7 @@ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent128VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1057,7 +1069,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicIPAddressName')]", "properties": { "dnsSettings": { @@ -1072,7 +1084,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agent1publicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicLbName')]", "properties": { "backendAddressPools": [ @@ -1206,7 +1218,7 @@ "[variables('vnetID')]", "[variables('agent1publicLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent1publicVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1294,7 +1306,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1303,7 +1315,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1338,14 +1350,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1360,7 +1372,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1390,7 +1402,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1408,7 +1420,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -1433,7 +1445,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1468,7 +1480,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1531,7 +1543,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/disks-managed/swarm-windows-vmss_expected_params.json b/pkg/acsengine/testdata/disks-managed/swarm-windows-vmss_expected_params.json index 142ab1d09..da0188952 100644 --- a/pkg/acsengine/testdata/disks-managed/swarm-windows-vmss_expected_params.json +++ b/pkg/acsengine/testdata/disks-managed/swarm-windows-vmss_expected_params.json @@ -26,6 +26,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/disks-managed/swarmmode-vmas_expected.json b/pkg/acsengine/testdata/disks-managed/swarmmode-vmas_expected.json index 48278a315..12e6a8cfb 100644 --- a/pkg/acsengine/testdata/disks-managed/swarmmode-vmas_expected.json +++ b/pkg/acsengine/testdata/disks-managed/swarmmode-vmas_expected.json @@ -653,6 +653,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -814,6 +821,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarmmode-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -878,7 +890,7 @@ "postInstallScriptURI": "disabled", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -1180,7 +1192,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent128VMNamePrefix'), 'nic-', copyIndex(variables('agent128Offset')))]", "properties": { "ipConfigurations": [ @@ -1199,7 +1211,7 @@ }, { "apiVersion": "[variables('apiVersionStorageManagedDisks')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent128AvailabilitySet')]", "properties": { "managed": "true", @@ -1218,7 +1230,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agent128VMNamePrefix'), 'nic-', copyIndex(variables('agent128Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agent128AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent128VMNamePrefix'), copyIndex(variables('agent128Offset')))]", "properties": { "availabilitySet": { @@ -1296,7 +1308,7 @@ "[variables('vnetID')]", "[variables('agent1publicLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent1publicVMNamePrefix'), 'nic-', copyIndex(variables('agent1publicOffset')))]", "properties": { "ipConfigurations": [ @@ -1320,7 +1332,7 @@ }, { "apiVersion": "[variables('apiVersionStorageManagedDisks')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicAvailabilitySet')]", "properties": { "managed": "true", @@ -1331,7 +1343,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicIPAddressName')]", "properties": { "dnsSettings": { @@ -1346,7 +1358,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agent1publicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicLbName')]", "properties": { "backendAddressPools": [ @@ -1469,7 +1481,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agent1publicVMNamePrefix'), 'nic-', copyIndex(variables('agent1publicOffset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agent1publicAvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent1publicVMNamePrefix'), copyIndex(variables('agent1publicOffset')))]", "properties": { "availabilitySet": { @@ -1527,7 +1539,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1536,7 +1548,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1571,14 +1583,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1593,7 +1605,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1623,7 +1635,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1641,7 +1653,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -1666,7 +1678,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1701,7 +1713,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1764,7 +1776,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/disks-managed/swarmmode-vmas_expected_params.json b/pkg/acsengine/testdata/disks-managed/swarmmode-vmas_expected_params.json index 72372d947..50b4d3d64 100644 --- a/pkg/acsengine/testdata/disks-managed/swarmmode-vmas_expected_params.json +++ b/pkg/acsengine/testdata/disks-managed/swarmmode-vmas_expected_params.json @@ -26,6 +26,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/disks-managed/swarmmode-vmss_expected.json b/pkg/acsengine/testdata/disks-managed/swarmmode-vmss_expected.json index 50db7c0d4..1ddb87932 100644 --- a/pkg/acsengine/testdata/disks-managed/swarmmode-vmss_expected.json +++ b/pkg/acsengine/testdata/disks-managed/swarmmode-vmss_expected.json @@ -435,6 +435,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -594,6 +601,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarmmode-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -658,7 +670,7 @@ "postInstallScriptURI": "disabled", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -957,7 +969,7 @@ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent128VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1048,7 +1060,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicIPAddressName')]", "properties": { "dnsSettings": { @@ -1063,7 +1075,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agent1publicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicLbName')]", "properties": { "backendAddressPools": [ @@ -1183,7 +1195,7 @@ "[variables('vnetID')]", "[variables('agent1publicLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent1publicVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1267,7 +1279,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1276,7 +1288,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1311,14 +1323,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1333,7 +1345,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1363,7 +1375,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1381,7 +1393,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -1406,7 +1418,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1441,7 +1453,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1504,7 +1516,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/disks-managed/swarmmode-vmss_expected_params.json b/pkg/acsengine/testdata/disks-managed/swarmmode-vmss_expected_params.json index 72372d947..50b4d3d64 100644 --- a/pkg/acsengine/testdata/disks-managed/swarmmode-vmss_expected_params.json +++ b/pkg/acsengine/testdata/disks-managed/swarmmode-vmss_expected_params.json @@ -26,6 +26,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/disks-storageaccount/dcos_expected.json b/pkg/acsengine/testdata/disks-storageaccount/dcos_expected.json index f050bd6f0..0a79d7288 100644 --- a/pkg/acsengine/testdata/disks-storageaccount/dcos_expected.json +++ b/pkg/acsengine/testdata/disks-storageaccount/dcos_expected.json @@ -660,6 +660,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -801,6 +808,11 @@ "apiVersionStorage": "2015-06-15", "dataStorageAccountPrefixSeed": 97, "dcosBootstrapURL": "[parameters('dcosBootstrapURL')]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]", @@ -843,7 +855,7 @@ "osImageVersion": "16.04.201606270", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location, variables('orchestratorName')))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location'),variables('orchestratorName')))]", "storageAccountPrefixes": [ "0", "6", @@ -1139,7 +1151,7 @@ "resources": [ { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent128NSGName')]", "properties": { "securityRules": [] @@ -1155,7 +1167,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent128VMNamePrefix'), 'nic-', copyIndex(variables('agent128Offset')))]", "properties": { "ipConfigurations": [ @@ -1181,7 +1193,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agent128StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agent128StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agent128AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agent128VMSize')].storageAccountType]" @@ -1197,7 +1209,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(variables('dataStorageAccountPrefixSeed')),variables('agent128StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(variables('dataStorageAccountPrefixSeed')),variables('agent128StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agent128DataAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agent128VMSize')].storageAccountType]" @@ -1206,7 +1218,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent128AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -1223,7 +1235,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agent128VMNamePrefix'), 'nic-', copyIndex(variables('agent128Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agent128AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent128VMNamePrefix'), copyIndex(variables('agent128Offset')))]", "properties": { "availabilitySet": { @@ -1317,7 +1329,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicNSGName')]", "properties": { "securityRules": [ @@ -1377,7 +1389,7 @@ "[variables('vnetID')]", "[variables('agent1publicLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent1publicVMNamePrefix'), 'nic-', copyIndex(variables('agent1publicOffset')))]", "properties": { "ipConfigurations": [ @@ -1408,7 +1420,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agent1publicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agent1publicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agent1publicAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agent1publicVMSize')].storageAccountType]" @@ -1424,7 +1436,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(variables('dataStorageAccountPrefixSeed')),variables('agent1publicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(variables('dataStorageAccountPrefixSeed')),variables('agent1publicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agent1publicDataAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agent1publicVMSize')].storageAccountType]" @@ -1433,14 +1445,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicIPAddressName')]", "properties": { "dnsSettings": { @@ -1455,7 +1467,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agent1publicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicLbName')]", "properties": { "backendAddressPools": [ @@ -1580,7 +1592,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agent1publicVMNamePrefix'), 'nic-', copyIndex(variables('agent1publicOffset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agent1publicAvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent1publicVMNamePrefix'), copyIndex(variables('agent1publicOffset')))]", "properties": { "availabilitySet": { @@ -1650,7 +1662,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1662,7 +1674,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountExhibitorName')]", "properties": { "accountType": "Standard_LRS" @@ -1675,7 +1687,7 @@ "[concat('Microsoft.Network/networkSecurityGroups/', variables('agent128NSGName'))]", "[concat('Microsoft.Network/networkSecurityGroups/', variables('agent1publicNSGName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1716,14 +1728,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1738,7 +1750,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1768,7 +1780,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1783,7 +1795,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterNSGName')]", "properties": { "securityRules": [ @@ -1817,7 +1829,7 @@ "[variables('masterLbID')]", "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1860,7 +1872,7 @@ "[variables('masterStorageAccountName')]", "[variables('masterStorageAccountExhibitorName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1919,7 +1931,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), sub(variables('masterCount'), 1))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), sub(variables('masterCount'), 1), '/waitforleader')]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/disks-storageaccount/dcos_expected_params.json b/pkg/acsengine/testdata/disks-storageaccount/dcos_expected_params.json index 75ebe7a86..a7a1a1005 100644 --- a/pkg/acsengine/testdata/disks-storageaccount/dcos_expected_params.json +++ b/pkg/acsengine/testdata/disks-storageaccount/dcos_expected_params.json @@ -29,6 +29,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/disks-storageaccount/kubernetes_expected.json b/pkg/acsengine/testdata/disks-storageaccount/kubernetes_expected.json index cfb0a69a9..7717e9a75 100644 --- a/pkg/acsengine/testdata/disks-storageaccount/kubernetes_expected.json +++ b/pkg/acsengine/testdata/disks-storageaccount/kubernetes_expected.json @@ -759,6 +759,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -954,7 +961,11 @@ "kubernetesHyperkubeSpec": "[parameters('kubernetesHyperkubeSpec')]", "kubernetesKubeDNSSpec": "[parameters('kubernetesKubeDNSSpec')]", "kubernetesPodInfraContainerSpec": "[parameters('kubernetesPodInfraContainerSpec')]", - "location": "[resourceGroup().location]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat('master-availabilityset-', variables('nameSuffix'))]", "masterCount": 1, "masterEtcdClientPort": 2379, @@ -1042,7 +1053,7 @@ 2204 ], "sshPublicKeyData": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -1522,7 +1533,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')),'/cse', copyIndex(variables('agentpool1Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -1715,7 +1726,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool2VMNamePrefix'), copyIndex(variables('agentpool2Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool2VMNamePrefix'), copyIndex(variables('agentpool2Offset')),'/cse', copyIndex(variables('agentpool2Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -2090,7 +2101,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(),'/cse', copyIndex())]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/disks-storageaccount/kubernetes_expected_params.json b/pkg/acsengine/testdata/disks-storageaccount/kubernetes_expected_params.json index fbeca3218..f85e15327 100644 --- a/pkg/acsengine/testdata/disks-storageaccount/kubernetes_expected_params.json +++ b/pkg/acsengine/testdata/disks-storageaccount/kubernetes_expected_params.json @@ -74,6 +74,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/disks-storageaccount/swarm_expected.json b/pkg/acsengine/testdata/disks-storageaccount/swarm_expected.json index 1819c5fb8..7c900b741 100644 --- a/pkg/acsengine/testdata/disks-storageaccount/swarm_expected.json +++ b/pkg/acsengine/testdata/disks-storageaccount/swarm_expected.json @@ -653,6 +653,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -821,6 +828,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarm-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -885,7 +897,7 @@ "postInstallScriptURI": "disabled", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -1187,7 +1199,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent128VMNamePrefix'), 'nic-', copyIndex(variables('agent128Offset')))]", "properties": { "ipConfigurations": [ @@ -1213,7 +1225,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agent128StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agent128StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agent128AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agent128VMSize')].storageAccountType]" @@ -1229,7 +1241,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(variables('dataStorageAccountPrefixSeed')),variables('agent128StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(variables('dataStorageAccountPrefixSeed')),variables('agent128StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agent128DataAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agent128VMSize')].storageAccountType]" @@ -1238,7 +1250,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent128AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -1255,7 +1267,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agent128VMNamePrefix'), 'nic-', copyIndex(variables('agent128Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agent128AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent128VMNamePrefix'), copyIndex(variables('agent128Offset')))]", "properties": { "availabilitySet": { @@ -1357,7 +1369,7 @@ "[variables('vnetID')]", "[variables('agent1publicLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent1publicVMNamePrefix'), 'nic-', copyIndex(variables('agent1publicOffset')))]", "properties": { "ipConfigurations": [ @@ -1388,7 +1400,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agent1publicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agent1publicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agent1publicAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agent1publicVMSize')].storageAccountType]" @@ -1404,7 +1416,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(variables('dataStorageAccountPrefixSeed')),variables('agent1publicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(variables('dataStorageAccountPrefixSeed')),variables('agent1publicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agent1publicDataAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agent1publicVMSize')].storageAccountType]" @@ -1413,14 +1425,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicIPAddressName')]", "properties": { "dnsSettings": { @@ -1435,7 +1447,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agent1publicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicLbName')]", "properties": { "backendAddressPools": [ @@ -1560,7 +1572,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agent1publicVMNamePrefix'), 'nic-', copyIndex(variables('agent1publicOffset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agent1publicAvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent1publicVMNamePrefix'), copyIndex(variables('agent1publicOffset')))]", "properties": { "availabilitySet": { @@ -1630,7 +1642,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1639,7 +1651,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1674,14 +1686,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1696,7 +1708,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1726,7 +1738,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1744,7 +1756,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -1769,7 +1781,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1804,7 +1816,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1867,7 +1879,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/disks-storageaccount/swarm_expected_params.json b/pkg/acsengine/testdata/disks-storageaccount/swarm_expected_params.json index 72372d947..50b4d3d64 100644 --- a/pkg/acsengine/testdata/disks-storageaccount/swarm_expected_params.json +++ b/pkg/acsengine/testdata/disks-storageaccount/swarm_expected_params.json @@ -26,6 +26,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/disks-storageaccount/swarmmode_expected.json b/pkg/acsengine/testdata/disks-storageaccount/swarmmode_expected.json index 06466cf87..345aa62be 100644 --- a/pkg/acsengine/testdata/disks-storageaccount/swarmmode_expected.json +++ b/pkg/acsengine/testdata/disks-storageaccount/swarmmode_expected.json @@ -653,6 +653,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -821,6 +828,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarmmode-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -885,7 +897,7 @@ "postInstallScriptURI": "disabled", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -1187,7 +1199,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent128VMNamePrefix'), 'nic-', copyIndex(variables('agent128Offset')))]", "properties": { "ipConfigurations": [ @@ -1213,7 +1225,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agent128StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agent128StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agent128AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agent128VMSize')].storageAccountType]" @@ -1229,7 +1241,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(variables('dataStorageAccountPrefixSeed')),variables('agent128StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(variables('dataStorageAccountPrefixSeed')),variables('agent128StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agent128DataAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agent128VMSize')].storageAccountType]" @@ -1238,7 +1250,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent128AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -1255,7 +1267,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agent128VMNamePrefix'), 'nic-', copyIndex(variables('agent128Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agent128AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent128VMNamePrefix'), copyIndex(variables('agent128Offset')))]", "properties": { "availabilitySet": { @@ -1357,7 +1369,7 @@ "[variables('vnetID')]", "[variables('agent1publicLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent1publicVMNamePrefix'), 'nic-', copyIndex(variables('agent1publicOffset')))]", "properties": { "ipConfigurations": [ @@ -1388,7 +1400,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agent1publicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agent1publicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agent1publicAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agent1publicVMSize')].storageAccountType]" @@ -1404,7 +1416,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(variables('dataStorageAccountPrefixSeed')),variables('agent1publicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(variables('dataStorageAccountPrefixSeed')),variables('agent1publicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agent1publicDataAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agent1publicVMSize')].storageAccountType]" @@ -1413,14 +1425,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicIPAddressName')]", "properties": { "dnsSettings": { @@ -1435,7 +1447,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agent1publicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agent1publicLbName')]", "properties": { "backendAddressPools": [ @@ -1560,7 +1572,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agent1publicVMNamePrefix'), 'nic-', copyIndex(variables('agent1publicOffset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agent1publicAvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agent1publicVMNamePrefix'), copyIndex(variables('agent1publicOffset')))]", "properties": { "availabilitySet": { @@ -1630,7 +1642,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1639,7 +1651,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1674,14 +1686,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1696,7 +1708,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1726,7 +1738,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1744,7 +1756,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -1769,7 +1781,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1804,7 +1816,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1867,7 +1879,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/disks-storageaccount/swarmmode_expected_params.json b/pkg/acsengine/testdata/disks-storageaccount/swarmmode_expected_params.json index 72372d947..50b4d3d64 100644 --- a/pkg/acsengine/testdata/disks-storageaccount/swarmmode_expected_params.json +++ b/pkg/acsengine/testdata/disks-storageaccount/swarmmode_expected_params.json @@ -26,6 +26,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/key-vault-certs/dcos_expected.json b/pkg/acsengine/testdata/key-vault-certs/dcos_expected.json index 34252ead8..de073540e 100644 --- a/pkg/acsengine/testdata/key-vault-certs/dcos_expected.json +++ b/pkg/acsengine/testdata/key-vault-certs/dcos_expected.json @@ -454,6 +454,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -601,6 +608,11 @@ ] } ], + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]", @@ -643,7 +655,7 @@ "osImageVersion": "16.04.201606270", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location, variables('orchestratorName')))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location'),variables('orchestratorName')))]", "storageAccountPrefixes": [ "0", "6", @@ -939,7 +951,7 @@ "resources": [ { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentprivateNSGName')]", "properties": { "securityRules": [] @@ -955,7 +967,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentprivateVMSize')].storageAccountType]" @@ -972,7 +984,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentprivateVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1050,7 +1062,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicNSGName')]", "properties": { "securityRules": [ @@ -1109,7 +1121,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpublicVMSize')].storageAccountType]" @@ -1118,7 +1130,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1133,7 +1145,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agentpublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicLbName')]", "properties": { "backendAddressPools": [ @@ -1257,7 +1269,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", "[concat('Microsoft.Network/loadBalancers/', variables('agentpublicLbName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpublicVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1343,7 +1355,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1355,7 +1367,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountExhibitorName')]", "properties": { "accountType": "Standard_LRS" @@ -1368,7 +1380,7 @@ "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentprivateNSGName'))]", "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentpublicNSGName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1409,14 +1421,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1431,7 +1443,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1461,7 +1473,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1476,7 +1488,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterNSGName')]", "properties": { "securityRules": [ @@ -1510,7 +1522,7 @@ "[variables('masterLbID')]", "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1553,7 +1565,7 @@ "[variables('masterStorageAccountName')]", "[variables('masterStorageAccountExhibitorName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1613,7 +1625,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), sub(variables('masterCount'), 1))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), sub(variables('masterCount'), 1), '/waitforleader')]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/key-vault-certs/dcos_expected_params.json b/pkg/acsengine/testdata/key-vault-certs/dcos_expected_params.json index a480cbf97..a6bf97df9 100644 --- a/pkg/acsengine/testdata/key-vault-certs/dcos_expected_params.json +++ b/pkg/acsengine/testdata/key-vault-certs/dcos_expected_params.json @@ -35,6 +35,9 @@ "linuxKeyVaultID0CertificateURL0": { "value": "http://url1" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/key-vault-certs/kubernetes_expected.json b/pkg/acsengine/testdata/key-vault-certs/kubernetes_expected.json index a2937ae15..1ef515906 100644 --- a/pkg/acsengine/testdata/key-vault-certs/kubernetes_expected.json +++ b/pkg/acsengine/testdata/key-vault-certs/kubernetes_expected.json @@ -771,6 +771,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -975,7 +982,11 @@ ] } ], - "location": "[resourceGroup().location]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat('master-availabilityset-', variables('nameSuffix'))]", "masterCount": 1, "masterEtcdClientPort": 2379, @@ -1063,7 +1074,7 @@ 2204 ], "sshPublicKeyData": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -1489,7 +1500,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')),'/cse', copyIndex(variables('agentpool1Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -1628,7 +1639,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool2VMNamePrefix'), copyIndex(variables('agentpool2Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool2VMNamePrefix'), copyIndex(variables('agentpool2Offset')),'/cse', copyIndex(variables('agentpool2Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -2004,7 +2015,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(),'/cse', copyIndex())]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/key-vault-certs/kubernetes_expected_params.json b/pkg/acsengine/testdata/key-vault-certs/kubernetes_expected_params.json index bf2694755..f0cea5a64 100644 --- a/pkg/acsengine/testdata/key-vault-certs/kubernetes_expected_params.json +++ b/pkg/acsengine/testdata/key-vault-certs/kubernetes_expected_params.json @@ -80,6 +80,9 @@ "linuxKeyVaultID0CertificateURL0": { "value": "http://url1" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/key-vault-certs/swarm_expected.json b/pkg/acsengine/testdata/key-vault-certs/swarm_expected.json index 434f7f07e..eb323fc80 100644 --- a/pkg/acsengine/testdata/key-vault-certs/swarm_expected.json +++ b/pkg/acsengine/testdata/key-vault-certs/swarm_expected.json @@ -666,6 +666,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -907,6 +914,11 @@ ] } ], + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 1, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -972,7 +984,7 @@ "singleQuote": "'", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -1303,7 +1315,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool1AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpool1VMSize')].storageAccountType]" @@ -1312,7 +1324,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpool1IPAddressName')]", "properties": { "dnsSettings": { @@ -1327,7 +1339,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agentpool1IPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpool1LbName')]", "properties": { "backendAddressPools": [ @@ -1452,7 +1464,7 @@ "[variables('vnetID')]", "[variables('agentpool1LbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool1VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1542,7 +1554,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpool2VMSize')].storageAccountType]" @@ -1560,7 +1572,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool2VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1645,7 +1657,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpoolwStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpoolwStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpoolwAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpoolwVMSize')].storageAccountType]" @@ -1663,7 +1675,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpoolwStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpoolwStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpoolwAccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpoolwVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1750,7 +1762,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1759,7 +1771,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1801,14 +1813,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1823,7 +1835,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1853,7 +1865,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1871,7 +1883,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -1896,7 +1908,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1931,7 +1943,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1995,7 +2007,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/key-vault-certs/swarm_expected_params.json b/pkg/acsengine/testdata/key-vault-certs/swarm_expected_params.json index dde8dca0f..f9bbed6f6 100644 --- a/pkg/acsengine/testdata/key-vault-certs/swarm_expected_params.json +++ b/pkg/acsengine/testdata/key-vault-certs/swarm_expected_params.json @@ -47,6 +47,9 @@ "linuxKeyVaultID1CertificateURL0": { "value": "http://url1" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/key-vault-certs/swarmmode_expected.json b/pkg/acsengine/testdata/key-vault-certs/swarmmode_expected.json index e5533f656..cf0988e4f 100644 --- a/pkg/acsengine/testdata/key-vault-certs/swarmmode_expected.json +++ b/pkg/acsengine/testdata/key-vault-certs/swarmmode_expected.json @@ -459,6 +459,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -643,6 +650,11 @@ ] } ], + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 1, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -707,7 +719,7 @@ "postInstallScriptURI": "disabled", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -1009,7 +1021,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool1AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpool1VMSize')].storageAccountType]" @@ -1018,7 +1030,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpool1IPAddressName')]", "properties": { "dnsSettings": { @@ -1033,7 +1045,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agentpool1IPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpool1LbName')]", "properties": { "backendAddressPools": [ @@ -1158,7 +1170,7 @@ "[variables('vnetID')]", "[variables('agentpool1LbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool1VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1248,7 +1260,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpool2VMSize')].storageAccountType]" @@ -1266,7 +1278,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool2VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1347,7 +1359,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1356,7 +1368,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1391,14 +1403,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1413,7 +1425,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1443,7 +1455,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1461,7 +1473,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -1486,7 +1498,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1521,7 +1533,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1585,7 +1597,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/key-vault-certs/swarmmode_expected_params.json b/pkg/acsengine/testdata/key-vault-certs/swarmmode_expected_params.json index fbfdd9f91..4288a99f7 100644 --- a/pkg/acsengine/testdata/key-vault-certs/swarmmode_expected_params.json +++ b/pkg/acsengine/testdata/key-vault-certs/swarmmode_expected_params.json @@ -38,6 +38,9 @@ "linuxKeyVaultID1CertificateURL0": { "value": "http://url1" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/key-vault-params/kubernetes_expected.json b/pkg/acsengine/testdata/key-vault-params/kubernetes_expected.json index 32c6e8789..41b7334bf 100644 --- a/pkg/acsengine/testdata/key-vault-params/kubernetes_expected.json +++ b/pkg/acsengine/testdata/key-vault-params/kubernetes_expected.json @@ -759,6 +759,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -951,7 +958,11 @@ "kubernetesHyperkubeSpec": "[parameters('kubernetesHyperkubeSpec')]", "kubernetesKubeDNSSpec": "[parameters('kubernetesKubeDNSSpec')]", "kubernetesPodInfraContainerSpec": "[parameters('kubernetesPodInfraContainerSpec')]", - "location": "[resourceGroup().location]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat('master-availabilityset-', variables('nameSuffix'))]", "masterCount": 1, "masterEtcdClientPort": 2379, @@ -1039,7 +1050,7 @@ 2204 ], "sshPublicKeyData": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -1464,7 +1475,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')),'/cse', copyIndex(variables('agentpool1Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -1602,7 +1613,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool2VMNamePrefix'), copyIndex(variables('agentpool2Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool2VMNamePrefix'), copyIndex(variables('agentpool2Offset')),'/cse', copyIndex(variables('agentpool2Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -1977,7 +1988,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(),'/cse', copyIndex())]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/key-vault-params/kubernetes_expected_params.json b/pkg/acsengine/testdata/key-vault-params/kubernetes_expected_params.json index 555b87208..606696001 100644 --- a/pkg/acsengine/testdata/key-vault-params/kubernetes_expected_params.json +++ b/pkg/acsengine/testdata/key-vault-params/kubernetes_expected_params.json @@ -80,6 +80,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/largeclusters/dcos-vmas_expected.json b/pkg/acsengine/testdata/largeclusters/dcos-vmas_expected.json index d04a07f8d..f1c533e0d 100644 --- a/pkg/acsengine/testdata/largeclusters/dcos-vmas_expected.json +++ b/pkg/acsengine/testdata/largeclusters/dcos-vmas_expected.json @@ -3820,6 +3820,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -4089,6 +4096,11 @@ "apiVersionStorage": "2015-06-15", "dataStorageAccountPrefixSeed": 97, "dcosBootstrapURL": "[parameters('dcosBootstrapURL')]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]", @@ -4131,7 +4143,7 @@ "osImageVersion": "16.04.201606270", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location, variables('orchestratorName')))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location'),variables('orchestratorName')))]", "storageAccountPrefixes": [ "0", "6", @@ -4427,7 +4439,7 @@ "resources": [ { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri0NSGName')]", "properties": { "securityRules": [] @@ -4443,7 +4455,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri0VMNamePrefix'), 'nic-', copyIndex(variables('agentpri0Offset')))]", "properties": { "ipConfigurations": [ @@ -4469,7 +4481,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri0StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri0StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri0AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri0VMSize')].storageAccountType]" @@ -4478,7 +4490,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri0AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -4494,7 +4506,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri0VMNamePrefix'), 'nic-', copyIndex(variables('agentpri0Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri0AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri0VMNamePrefix'), copyIndex(variables('agentpri0Offset')))]", "properties": { "availabilitySet": { @@ -4550,7 +4562,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri1NSGName')]", "properties": { "securityRules": [] @@ -4566,7 +4578,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri1VMNamePrefix'), 'nic-', copyIndex(variables('agentpri1Offset')))]", "properties": { "ipConfigurations": [ @@ -4592,7 +4604,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri1AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri1VMSize')].storageAccountType]" @@ -4601,7 +4613,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri1AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -4617,7 +4629,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri1VMNamePrefix'), 'nic-', copyIndex(variables('agentpri1Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri1AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri1VMNamePrefix'), copyIndex(variables('agentpri1Offset')))]", "properties": { "availabilitySet": { @@ -4673,7 +4685,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri2NSGName')]", "properties": { "securityRules": [] @@ -4689,7 +4701,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri2VMNamePrefix'), 'nic-', copyIndex(variables('agentpri2Offset')))]", "properties": { "ipConfigurations": [ @@ -4715,7 +4727,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri2AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri2VMSize')].storageAccountType]" @@ -4724,7 +4736,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri2AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -4740,7 +4752,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri2VMNamePrefix'), 'nic-', copyIndex(variables('agentpri2Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri2AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri2VMNamePrefix'), copyIndex(variables('agentpri2Offset')))]", "properties": { "availabilitySet": { @@ -4796,7 +4808,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri3NSGName')]", "properties": { "securityRules": [] @@ -4812,7 +4824,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri3VMNamePrefix'), 'nic-', copyIndex(variables('agentpri3Offset')))]", "properties": { "ipConfigurations": [ @@ -4838,7 +4850,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri3StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri3StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri3AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri3VMSize')].storageAccountType]" @@ -4847,7 +4859,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri3AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -4863,7 +4875,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri3VMNamePrefix'), 'nic-', copyIndex(variables('agentpri3Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri3AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri3VMNamePrefix'), copyIndex(variables('agentpri3Offset')))]", "properties": { "availabilitySet": { @@ -4919,7 +4931,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri4NSGName')]", "properties": { "securityRules": [] @@ -4935,7 +4947,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri4VMNamePrefix'), 'nic-', copyIndex(variables('agentpri4Offset')))]", "properties": { "ipConfigurations": [ @@ -4961,7 +4973,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri4StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri4StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri4AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri4VMSize')].storageAccountType]" @@ -4970,7 +4982,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri4AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -4986,7 +4998,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri4VMNamePrefix'), 'nic-', copyIndex(variables('agentpri4Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri4AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri4VMNamePrefix'), copyIndex(variables('agentpri4Offset')))]", "properties": { "availabilitySet": { @@ -5042,7 +5054,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri5NSGName')]", "properties": { "securityRules": [] @@ -5058,7 +5070,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri5VMNamePrefix'), 'nic-', copyIndex(variables('agentpri5Offset')))]", "properties": { "ipConfigurations": [ @@ -5084,7 +5096,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri5StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri5StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri5AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri5VMSize')].storageAccountType]" @@ -5093,7 +5105,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri5AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -5109,7 +5121,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri5VMNamePrefix'), 'nic-', copyIndex(variables('agentpri5Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri5AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri5VMNamePrefix'), copyIndex(variables('agentpri5Offset')))]", "properties": { "availabilitySet": { @@ -5165,7 +5177,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri6NSGName')]", "properties": { "securityRules": [] @@ -5181,7 +5193,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri6VMNamePrefix'), 'nic-', copyIndex(variables('agentpri6Offset')))]", "properties": { "ipConfigurations": [ @@ -5207,7 +5219,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri6StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri6StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri6AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri6VMSize')].storageAccountType]" @@ -5216,7 +5228,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri6AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -5232,7 +5244,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri6VMNamePrefix'), 'nic-', copyIndex(variables('agentpri6Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri6AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri6VMNamePrefix'), copyIndex(variables('agentpri6Offset')))]", "properties": { "availabilitySet": { @@ -5288,7 +5300,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri7NSGName')]", "properties": { "securityRules": [] @@ -5304,7 +5316,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri7VMNamePrefix'), 'nic-', copyIndex(variables('agentpri7Offset')))]", "properties": { "ipConfigurations": [ @@ -5330,7 +5342,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri7StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri7StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri7AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri7VMSize')].storageAccountType]" @@ -5339,7 +5351,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri7AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -5355,7 +5367,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri7VMNamePrefix'), 'nic-', copyIndex(variables('agentpri7Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri7AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri7VMNamePrefix'), copyIndex(variables('agentpri7Offset')))]", "properties": { "availabilitySet": { @@ -5411,7 +5423,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri8NSGName')]", "properties": { "securityRules": [] @@ -5427,7 +5439,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri8VMNamePrefix'), 'nic-', copyIndex(variables('agentpri8Offset')))]", "properties": { "ipConfigurations": [ @@ -5453,7 +5465,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri8StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri8StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri8AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri8VMSize')].storageAccountType]" @@ -5462,7 +5474,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri8AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -5478,7 +5490,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri8VMNamePrefix'), 'nic-', copyIndex(variables('agentpri8Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri8AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri8VMNamePrefix'), copyIndex(variables('agentpri8Offset')))]", "properties": { "availabilitySet": { @@ -5534,7 +5546,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri9NSGName')]", "properties": { "securityRules": [] @@ -5550,7 +5562,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri9VMNamePrefix'), 'nic-', copyIndex(variables('agentpri9Offset')))]", "properties": { "ipConfigurations": [ @@ -5576,7 +5588,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri9StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri9StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri9AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri9VMSize')].storageAccountType]" @@ -5585,7 +5597,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri9AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -5601,7 +5613,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri9VMNamePrefix'), 'nic-', copyIndex(variables('agentpri9Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri9AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri9VMNamePrefix'), copyIndex(variables('agentpri9Offset')))]", "properties": { "availabilitySet": { @@ -5657,7 +5669,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri10NSGName')]", "properties": { "securityRules": [] @@ -5673,7 +5685,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri10VMNamePrefix'), 'nic-', copyIndex(variables('agentpri10Offset')))]", "properties": { "ipConfigurations": [ @@ -5699,7 +5711,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri10StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri10StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri10AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri10VMSize')].storageAccountType]" @@ -5708,7 +5720,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri10AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -5724,7 +5736,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri10VMNamePrefix'), 'nic-', copyIndex(variables('agentpri10Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri10AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri10VMNamePrefix'), copyIndex(variables('agentpri10Offset')))]", "properties": { "availabilitySet": { @@ -5780,7 +5792,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublic1NSGName')]", "properties": { "securityRules": [ @@ -5840,7 +5852,7 @@ "[variables('vnetID')]", "[variables('agentpublic1LbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpublic1VMNamePrefix'), 'nic-', copyIndex(variables('agentpublic1Offset')))]", "properties": { "ipConfigurations": [ @@ -5871,7 +5883,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpublic1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpublic1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublic1AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpublic1VMSize')].storageAccountType]" @@ -5880,14 +5892,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublic1AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublic1IPAddressName')]", "properties": { "dnsSettings": { @@ -5902,7 +5914,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agentpublic1IPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublic1LbName')]", "properties": { "backendAddressPools": [ @@ -6026,7 +6038,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpublic1VMNamePrefix'), 'nic-', copyIndex(variables('agentpublic1Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpublic1AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpublic1VMNamePrefix'), copyIndex(variables('agentpublic1Offset')))]", "properties": { "availabilitySet": { @@ -6085,7 +6097,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -6097,7 +6109,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountExhibitorName')]", "properties": { "accountType": "Standard_LRS" @@ -6120,7 +6132,7 @@ "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentpri10NSGName'))]", "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentpublic1NSGName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -6261,14 +6273,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -6283,7 +6295,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -6313,7 +6325,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -6328,7 +6340,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterNSGName')]", "properties": { "securityRules": [ @@ -6362,7 +6374,7 @@ "[variables('masterLbID')]", "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -6405,7 +6417,7 @@ "[variables('masterStorageAccountName')]", "[variables('masterStorageAccountExhibitorName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -6464,7 +6476,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), sub(variables('masterCount'), 1))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), sub(variables('masterCount'), 1), '/waitforleader')]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/largeclusters/dcos-vmas_expected_params.json b/pkg/acsengine/testdata/largeclusters/dcos-vmas_expected_params.json index 44c909fa8..aec365c9d 100644 --- a/pkg/acsengine/testdata/largeclusters/dcos-vmas_expected_params.json +++ b/pkg/acsengine/testdata/largeclusters/dcos-vmas_expected_params.json @@ -119,6 +119,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/largeclusters/dcos_expected.json b/pkg/acsengine/testdata/largeclusters/dcos_expected.json index 2ce4ee211..cbb9501f8 100644 --- a/pkg/acsengine/testdata/largeclusters/dcos_expected.json +++ b/pkg/acsengine/testdata/largeclusters/dcos_expected.json @@ -2512,6 +2512,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -2757,6 +2764,11 @@ "apiVersionStorage": "2015-06-15", "dataStorageAccountPrefixSeed": 97, "dcosBootstrapURL": "[parameters('dcosBootstrapURL')]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]", @@ -2799,7 +2811,7 @@ "osImageVersion": "16.04.201606270", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location, variables('orchestratorName')))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location'),variables('orchestratorName')))]", "storageAccountPrefixes": [ "0", "6", @@ -3095,7 +3107,7 @@ "resources": [ { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri0NSGName')]", "properties": { "securityRules": [] @@ -3111,7 +3123,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri0StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri0StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri0AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri0VMSize')].storageAccountType]" @@ -3128,7 +3140,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentpri0StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentpri0StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri0AccountName'))]", "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpri0StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri0StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri0AccountName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri0VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3205,7 +3217,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri1NSGName')]", "properties": { "securityRules": [] @@ -3221,7 +3233,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri1AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri1VMSize')].storageAccountType]" @@ -3238,7 +3250,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentpri1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentpri1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri1AccountName'))]", "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpri1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri1AccountName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri1VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3315,7 +3327,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri2NSGName')]", "properties": { "securityRules": [] @@ -3331,7 +3343,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri2AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri2VMSize')].storageAccountType]" @@ -3348,7 +3360,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentpri2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentpri2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri2AccountName'))]", "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpri2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri2AccountName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri2VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3425,7 +3437,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri3NSGName')]", "properties": { "securityRules": [] @@ -3441,7 +3453,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri3StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri3StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri3AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri3VMSize')].storageAccountType]" @@ -3458,7 +3470,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentpri3StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentpri3StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri3AccountName'))]", "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpri3StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri3StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri3AccountName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri3VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3535,7 +3547,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri4NSGName')]", "properties": { "securityRules": [] @@ -3551,7 +3563,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri4StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri4StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri4AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri4VMSize')].storageAccountType]" @@ -3568,7 +3580,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentpri4StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentpri4StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri4AccountName'))]", "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpri4StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri4StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri4AccountName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri4VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3645,7 +3657,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri5NSGName')]", "properties": { "securityRules": [] @@ -3661,7 +3673,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri5StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri5StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri5AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri5VMSize')].storageAccountType]" @@ -3678,7 +3690,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentpri5StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentpri5StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri5AccountName'))]", "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpri5StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri5StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri5AccountName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri5VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3755,7 +3767,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri6NSGName')]", "properties": { "securityRules": [] @@ -3771,7 +3783,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri6StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri6StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri6AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri6VMSize')].storageAccountType]" @@ -3788,7 +3800,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentpri6StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentpri6StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri6AccountName'))]", "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpri6StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri6StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri6AccountName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri6VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3865,7 +3877,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri7NSGName')]", "properties": { "securityRules": [] @@ -3881,7 +3893,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri7StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri7StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri7AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri7VMSize')].storageAccountType]" @@ -3898,7 +3910,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentpri7StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentpri7StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri7AccountName'))]", "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpri7StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri7StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri7AccountName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri7VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3975,7 +3987,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri8NSGName')]", "properties": { "securityRules": [] @@ -3991,7 +4003,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri8StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri8StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri8AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri8VMSize')].storageAccountType]" @@ -4008,7 +4020,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentpri8StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentpri8StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri8AccountName'))]", "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpri8StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri8StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri8AccountName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri8VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -4085,7 +4097,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri9NSGName')]", "properties": { "securityRules": [] @@ -4101,7 +4113,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri9StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri9StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri9AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri9VMSize')].storageAccountType]" @@ -4118,7 +4130,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentpri9StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentpri9StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri9AccountName'))]", "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpri9StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri9StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri9AccountName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri9VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -4195,7 +4207,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri10NSGName')]", "properties": { "securityRules": [] @@ -4211,7 +4223,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri10StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri10StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri10AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri10VMSize')].storageAccountType]" @@ -4228,7 +4240,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentpri10StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentpri10StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri10AccountName'))]", "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpri10StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri10StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri10AccountName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri10VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -4305,7 +4317,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublic1NSGName')]", "properties": { "securityRules": [ @@ -4364,7 +4376,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpublic1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpublic1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublic1AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpublic1VMSize')].storageAccountType]" @@ -4373,7 +4385,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublic1IPAddressName')]", "properties": { "dnsSettings": { @@ -4388,7 +4400,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agentpublic1IPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublic1LbName')]", "properties": { "backendAddressPools": [ @@ -4512,7 +4524,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpublic1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpublic1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublic1AccountName'))]", "[concat('Microsoft.Network/loadBalancers/', variables('agentpublic1LbName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpublic1VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -4597,7 +4609,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -4609,7 +4621,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountExhibitorName')]", "properties": { "accountType": "Standard_LRS" @@ -4632,7 +4644,7 @@ "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentpri10NSGName'))]", "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentpublic1NSGName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -4773,14 +4785,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -4795,7 +4807,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -4825,7 +4837,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -4840,7 +4852,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterNSGName')]", "properties": { "securityRules": [ @@ -4874,7 +4886,7 @@ "[variables('masterLbID')]", "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -4917,7 +4929,7 @@ "[variables('masterStorageAccountName')]", "[variables('masterStorageAccountExhibitorName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -4976,7 +4988,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), sub(variables('masterCount'), 1))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), sub(variables('masterCount'), 1), '/waitforleader')]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/largeclusters/dcos_expected_params.json b/pkg/acsengine/testdata/largeclusters/dcos_expected_params.json index 44c909fa8..aec365c9d 100644 --- a/pkg/acsengine/testdata/largeclusters/dcos_expected_params.json +++ b/pkg/acsengine/testdata/largeclusters/dcos_expected_params.json @@ -119,6 +119,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/largeclusters/kubernetes_expected.json b/pkg/acsengine/testdata/largeclusters/kubernetes_expected.json index c53e2fb6f..81856d576 100644 --- a/pkg/acsengine/testdata/largeclusters/kubernetes_expected.json +++ b/pkg/acsengine/testdata/largeclusters/kubernetes_expected.json @@ -3919,6 +3919,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -4221,7 +4228,11 @@ "kubernetesHyperkubeSpec": "[parameters('kubernetesHyperkubeSpec')]", "kubernetesKubeDNSSpec": "[parameters('kubernetesKubeDNSSpec')]", "kubernetesPodInfraContainerSpec": "[parameters('kubernetesPodInfraContainerSpec')]", - "location": "[resourceGroup().location]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat('master-availabilityset-', variables('nameSuffix'))]", "masterCount": 1, "masterEtcdClientPort": 2379, @@ -4309,7 +4320,7 @@ 2204 ], "sshPublicKeyData": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -4734,7 +4745,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')),'/cse', copyIndex(variables('agentpool1Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -4872,7 +4883,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool2VMNamePrefix'), copyIndex(variables('agentpool2Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool2VMNamePrefix'), copyIndex(variables('agentpool2Offset')),'/cse', copyIndex(variables('agentpool2Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -5010,7 +5021,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool3VMNamePrefix'), copyIndex(variables('agentpool3Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool3VMNamePrefix'), copyIndex(variables('agentpool3Offset')),'/cse', copyIndex(variables('agentpool3Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -5148,7 +5159,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool4VMNamePrefix'), copyIndex(variables('agentpool4Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool4VMNamePrefix'), copyIndex(variables('agentpool4Offset')),'/cse', copyIndex(variables('agentpool4Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -5286,7 +5297,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool5VMNamePrefix'), copyIndex(variables('agentpool5Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool5VMNamePrefix'), copyIndex(variables('agentpool5Offset')),'/cse', copyIndex(variables('agentpool5Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -5424,7 +5435,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool6VMNamePrefix'), copyIndex(variables('agentpool6Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool6VMNamePrefix'), copyIndex(variables('agentpool6Offset')),'/cse', copyIndex(variables('agentpool6Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -5562,7 +5573,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool7VMNamePrefix'), copyIndex(variables('agentpool7Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool7VMNamePrefix'), copyIndex(variables('agentpool7Offset')),'/cse', copyIndex(variables('agentpool7Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -5700,7 +5711,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool8VMNamePrefix'), copyIndex(variables('agentpool8Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool8VMNamePrefix'), copyIndex(variables('agentpool8Offset')),'/cse', copyIndex(variables('agentpool8Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -5838,7 +5849,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool9VMNamePrefix'), copyIndex(variables('agentpool9Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool9VMNamePrefix'), copyIndex(variables('agentpool9Offset')),'/cse', copyIndex(variables('agentpool9Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -5976,7 +5987,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool10VMNamePrefix'), copyIndex(variables('agentpool10Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool10VMNamePrefix'), copyIndex(variables('agentpool10Offset')),'/cse', copyIndex(variables('agentpool10Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -6114,7 +6125,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool11VMNamePrefix'), copyIndex(variables('agentpool11Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool11VMNamePrefix'), copyIndex(variables('agentpool11Offset')),'/cse', copyIndex(variables('agentpool11Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -6252,7 +6263,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool12VMNamePrefix'), copyIndex(variables('agentpool12Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool12VMNamePrefix'), copyIndex(variables('agentpool12Offset')),'/cse', copyIndex(variables('agentpool12Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -6627,7 +6638,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(),'/cse', copyIndex())]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/largeclusters/kubernetes_expected_params.json b/pkg/acsengine/testdata/largeclusters/kubernetes_expected_params.json index 7c754c39d..0192c07e9 100644 --- a/pkg/acsengine/testdata/largeclusters/kubernetes_expected_params.json +++ b/pkg/acsengine/testdata/largeclusters/kubernetes_expected_params.json @@ -164,6 +164,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/largeclusters/swarm_expected.json b/pkg/acsengine/testdata/largeclusters/swarm_expected.json index 4dc7080fd..f017681a4 100644 --- a/pkg/acsengine/testdata/largeclusters/swarm_expected.json +++ b/pkg/acsengine/testdata/largeclusters/swarm_expected.json @@ -2505,6 +2505,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -2767,6 +2774,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarm-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -2831,7 +2843,7 @@ "postInstallScriptURI": "disabled", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -3133,7 +3145,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri0StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri0StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri0AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri0VMSize')].storageAccountType]" @@ -3151,7 +3163,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpri0StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri0StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri0AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri0VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3235,7 +3247,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri1AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri1VMSize')].storageAccountType]" @@ -3253,7 +3265,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpri1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri1AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri1VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3337,7 +3349,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri2AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri2VMSize')].storageAccountType]" @@ -3355,7 +3367,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpri2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri2AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri2VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3439,7 +3451,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri3StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri3StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri3AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri3VMSize')].storageAccountType]" @@ -3457,7 +3469,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpri3StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri3StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri3AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri3VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3541,7 +3553,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri4StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri4StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri4AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri4VMSize')].storageAccountType]" @@ -3559,7 +3571,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpri4StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri4StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri4AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri4VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3643,7 +3655,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri5StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri5StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri5AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri5VMSize')].storageAccountType]" @@ -3661,7 +3673,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpri5StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri5StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri5AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri5VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3745,7 +3757,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri6StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri6StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri6AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri6VMSize')].storageAccountType]" @@ -3763,7 +3775,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpri6StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri6StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri6AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri6VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3847,7 +3859,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri7StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri7StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri7AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri7VMSize')].storageAccountType]" @@ -3865,7 +3877,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpri7StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri7StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri7AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri7VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3949,7 +3961,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri8StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri8StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri8AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri8VMSize')].storageAccountType]" @@ -3967,7 +3979,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpri8StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri8StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri8AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri8VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -4051,7 +4063,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri9StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri9StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri9AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri9VMSize')].storageAccountType]" @@ -4069,7 +4081,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpri9StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri9StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri9AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri9VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -4153,7 +4165,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri10StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri10StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri10AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri10VMSize')].storageAccountType]" @@ -4171,7 +4183,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpri10StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri10StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri10AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri10VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -4255,7 +4267,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpublic1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpublic1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublic1AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpublic1VMSize')].storageAccountType]" @@ -4264,7 +4276,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublic1IPAddressName')]", "properties": { "dnsSettings": { @@ -4279,7 +4291,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agentpublic1IPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublic1LbName')]", "properties": { "backendAddressPools": [ @@ -4404,7 +4416,7 @@ "[variables('vnetID')]", "[variables('agentpublic1LbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpublic1VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -4489,7 +4501,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -4498,7 +4510,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -4603,14 +4615,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -4625,7 +4637,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -4655,7 +4667,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -4673,7 +4685,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -4698,7 +4710,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -4733,7 +4745,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -4796,7 +4808,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/largeclusters/swarm_expected_params.json b/pkg/acsengine/testdata/largeclusters/swarm_expected_params.json index 4c2195cbd..65cb32203 100644 --- a/pkg/acsengine/testdata/largeclusters/swarm_expected_params.json +++ b/pkg/acsengine/testdata/largeclusters/swarm_expected_params.json @@ -116,6 +116,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/largeclusters/swarmmode_expected.json b/pkg/acsengine/testdata/largeclusters/swarmmode_expected.json index dd5410aaf..8987d8bd3 100644 --- a/pkg/acsengine/testdata/largeclusters/swarmmode_expected.json +++ b/pkg/acsengine/testdata/largeclusters/swarmmode_expected.json @@ -2505,6 +2505,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -2767,6 +2774,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarmmode-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -2831,7 +2843,7 @@ "postInstallScriptURI": "disabled", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -3133,7 +3145,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri0StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri0StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri0AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri0VMSize')].storageAccountType]" @@ -3151,7 +3163,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpri0StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri0StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri0AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri0VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3235,7 +3247,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri1AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri1VMSize')].storageAccountType]" @@ -3253,7 +3265,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpri1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri1AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri1VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3337,7 +3349,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri2AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri2VMSize')].storageAccountType]" @@ -3355,7 +3367,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpri2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri2AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri2VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3439,7 +3451,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri3StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri3StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri3AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri3VMSize')].storageAccountType]" @@ -3457,7 +3469,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpri3StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri3StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri3AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri3VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3541,7 +3553,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri4StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri4StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri4AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri4VMSize')].storageAccountType]" @@ -3559,7 +3571,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpri4StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri4StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri4AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri4VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3643,7 +3655,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri5StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri5StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri5AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri5VMSize')].storageAccountType]" @@ -3661,7 +3673,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpri5StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri5StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri5AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri5VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3745,7 +3757,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri6StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri6StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri6AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri6VMSize')].storageAccountType]" @@ -3763,7 +3775,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpri6StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri6StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri6AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri6VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3847,7 +3859,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri7StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri7StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri7AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri7VMSize')].storageAccountType]" @@ -3865,7 +3877,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpri7StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri7StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri7AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri7VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -3949,7 +3961,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri8StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri8StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri8AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri8VMSize')].storageAccountType]" @@ -3967,7 +3979,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpri8StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri8StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri8AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri8VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -4051,7 +4063,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri9StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri9StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri9AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri9VMSize')].storageAccountType]" @@ -4069,7 +4081,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpri9StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri9StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri9AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri9VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -4153,7 +4165,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri10StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri10StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri10AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri10VMSize')].storageAccountType]" @@ -4171,7 +4183,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpri10StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpri10StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri10AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri10VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -4255,7 +4267,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpublic1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpublic1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublic1AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpublic1VMSize')].storageAccountType]" @@ -4264,7 +4276,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublic1IPAddressName')]", "properties": { "dnsSettings": { @@ -4279,7 +4291,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agentpublic1IPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublic1LbName')]", "properties": { "backendAddressPools": [ @@ -4404,7 +4416,7 @@ "[variables('vnetID')]", "[variables('agentpublic1LbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpublic1VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -4489,7 +4501,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -4498,7 +4510,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -4603,14 +4615,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -4625,7 +4637,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -4655,7 +4667,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -4673,7 +4685,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -4698,7 +4710,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -4733,7 +4745,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -4796,7 +4808,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/largeclusters/swarmmode_expected_params.json b/pkg/acsengine/testdata/largeclusters/swarmmode_expected_params.json index 2d78dcf27..8d86537bd 100644 --- a/pkg/acsengine/testdata/largeclusters/swarmmode_expected_params.json +++ b/pkg/acsengine/testdata/largeclusters/swarmmode_expected_params.json @@ -116,6 +116,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/largeclusters/swarmmodevmas_expected.json b/pkg/acsengine/testdata/largeclusters/swarmmodevmas_expected.json index 8c67f13f9..8827439d6 100644 --- a/pkg/acsengine/testdata/largeclusters/swarmmodevmas_expected.json +++ b/pkg/acsengine/testdata/largeclusters/swarmmodevmas_expected.json @@ -3807,6 +3807,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -4086,6 +4093,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarmmode-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -4150,7 +4162,7 @@ "postInstallScriptURI": "disabled", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -4452,7 +4464,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri0VMNamePrefix'), 'nic-', copyIndex(variables('agentpri0Offset')))]", "properties": { "ipConfigurations": [ @@ -4478,7 +4490,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri0StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri0StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri0AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri0VMSize')].storageAccountType]" @@ -4487,7 +4499,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri0AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -4503,7 +4515,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri0VMNamePrefix'), 'nic-', copyIndex(variables('agentpri0Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri0AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri0VMNamePrefix'), copyIndex(variables('agentpri0Offset')))]", "properties": { "availabilitySet": { @@ -4566,7 +4578,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri1VMNamePrefix'), 'nic-', copyIndex(variables('agentpri1Offset')))]", "properties": { "ipConfigurations": [ @@ -4592,7 +4604,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri1AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri1VMSize')].storageAccountType]" @@ -4601,7 +4613,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri1AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -4617,7 +4629,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri1VMNamePrefix'), 'nic-', copyIndex(variables('agentpri1Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri1AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri1VMNamePrefix'), copyIndex(variables('agentpri1Offset')))]", "properties": { "availabilitySet": { @@ -4680,7 +4692,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri2VMNamePrefix'), 'nic-', copyIndex(variables('agentpri2Offset')))]", "properties": { "ipConfigurations": [ @@ -4706,7 +4718,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri2AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri2VMSize')].storageAccountType]" @@ -4715,7 +4727,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri2AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -4731,7 +4743,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri2VMNamePrefix'), 'nic-', copyIndex(variables('agentpri2Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri2AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri2VMNamePrefix'), copyIndex(variables('agentpri2Offset')))]", "properties": { "availabilitySet": { @@ -4794,7 +4806,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri3VMNamePrefix'), 'nic-', copyIndex(variables('agentpri3Offset')))]", "properties": { "ipConfigurations": [ @@ -4820,7 +4832,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri3StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri3StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri3AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri3VMSize')].storageAccountType]" @@ -4829,7 +4841,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri3AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -4845,7 +4857,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri3VMNamePrefix'), 'nic-', copyIndex(variables('agentpri3Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri3AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri3VMNamePrefix'), copyIndex(variables('agentpri3Offset')))]", "properties": { "availabilitySet": { @@ -4908,7 +4920,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri4VMNamePrefix'), 'nic-', copyIndex(variables('agentpri4Offset')))]", "properties": { "ipConfigurations": [ @@ -4934,7 +4946,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri4StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri4StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri4AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri4VMSize')].storageAccountType]" @@ -4943,7 +4955,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri4AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -4959,7 +4971,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri4VMNamePrefix'), 'nic-', copyIndex(variables('agentpri4Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri4AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri4VMNamePrefix'), copyIndex(variables('agentpri4Offset')))]", "properties": { "availabilitySet": { @@ -5022,7 +5034,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri5VMNamePrefix'), 'nic-', copyIndex(variables('agentpri5Offset')))]", "properties": { "ipConfigurations": [ @@ -5048,7 +5060,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri5StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri5StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri5AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri5VMSize')].storageAccountType]" @@ -5057,7 +5069,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri5AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -5073,7 +5085,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri5VMNamePrefix'), 'nic-', copyIndex(variables('agentpri5Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri5AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri5VMNamePrefix'), copyIndex(variables('agentpri5Offset')))]", "properties": { "availabilitySet": { @@ -5136,7 +5148,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri6VMNamePrefix'), 'nic-', copyIndex(variables('agentpri6Offset')))]", "properties": { "ipConfigurations": [ @@ -5162,7 +5174,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri6StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri6StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri6AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri6VMSize')].storageAccountType]" @@ -5171,7 +5183,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri6AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -5187,7 +5199,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri6VMNamePrefix'), 'nic-', copyIndex(variables('agentpri6Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri6AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri6VMNamePrefix'), copyIndex(variables('agentpri6Offset')))]", "properties": { "availabilitySet": { @@ -5250,7 +5262,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri7VMNamePrefix'), 'nic-', copyIndex(variables('agentpri7Offset')))]", "properties": { "ipConfigurations": [ @@ -5276,7 +5288,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri7StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri7StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri7AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri7VMSize')].storageAccountType]" @@ -5285,7 +5297,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri7AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -5301,7 +5313,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri7VMNamePrefix'), 'nic-', copyIndex(variables('agentpri7Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri7AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri7VMNamePrefix'), copyIndex(variables('agentpri7Offset')))]", "properties": { "availabilitySet": { @@ -5364,7 +5376,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri8VMNamePrefix'), 'nic-', copyIndex(variables('agentpri8Offset')))]", "properties": { "ipConfigurations": [ @@ -5390,7 +5402,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri8StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri8StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri8AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri8VMSize')].storageAccountType]" @@ -5399,7 +5411,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri8AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -5415,7 +5427,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri8VMNamePrefix'), 'nic-', copyIndex(variables('agentpri8Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri8AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri8VMNamePrefix'), copyIndex(variables('agentpri8Offset')))]", "properties": { "availabilitySet": { @@ -5478,7 +5490,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri9VMNamePrefix'), 'nic-', copyIndex(variables('agentpri9Offset')))]", "properties": { "ipConfigurations": [ @@ -5504,7 +5516,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri9StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri9StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri9AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri9VMSize')].storageAccountType]" @@ -5513,7 +5525,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri9AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -5529,7 +5541,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri9VMNamePrefix'), 'nic-', copyIndex(variables('agentpri9Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri9AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri9VMNamePrefix'), copyIndex(variables('agentpri9Offset')))]", "properties": { "availabilitySet": { @@ -5592,7 +5604,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri10VMNamePrefix'), 'nic-', copyIndex(variables('agentpri10Offset')))]", "properties": { "ipConfigurations": [ @@ -5618,7 +5630,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri10StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri10StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri10AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri10VMSize')].storageAccountType]" @@ -5627,7 +5639,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri10AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -5643,7 +5655,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri10VMNamePrefix'), 'nic-', copyIndex(variables('agentpri10Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri10AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri10VMNamePrefix'), copyIndex(variables('agentpri10Offset')))]", "properties": { "availabilitySet": { @@ -5706,7 +5718,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri11VMNamePrefix'), 'nic-', copyIndex(variables('agentpri11Offset')))]", "properties": { "ipConfigurations": [ @@ -5732,7 +5744,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri11StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri11StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri11AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri11VMSize')].storageAccountType]" @@ -5741,7 +5753,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri11AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -5757,7 +5769,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri11VMNamePrefix'), 'nic-', copyIndex(variables('agentpri11Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri11AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri11VMNamePrefix'), copyIndex(variables('agentpri11Offset')))]", "properties": { "availabilitySet": { @@ -5816,7 +5828,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -5825,7 +5837,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -5930,14 +5942,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -5952,7 +5964,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -5982,7 +5994,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -6000,7 +6012,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -6025,7 +6037,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -6060,7 +6072,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -6123,7 +6135,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/largeclusters/swarmmodevmas_expected_params.json b/pkg/acsengine/testdata/largeclusters/swarmmodevmas_expected_params.json index 85c165b28..eea8cc5c6 100644 --- a/pkg/acsengine/testdata/largeclusters/swarmmodevmas_expected_params.json +++ b/pkg/acsengine/testdata/largeclusters/swarmmodevmas_expected_params.json @@ -113,6 +113,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/largeclusters/swarmvmas_expected.json b/pkg/acsengine/testdata/largeclusters/swarmvmas_expected.json index a8478acd8..5b07013ea 100644 --- a/pkg/acsengine/testdata/largeclusters/swarmvmas_expected.json +++ b/pkg/acsengine/testdata/largeclusters/swarmvmas_expected.json @@ -3807,6 +3807,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -4086,6 +4093,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarm-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -4150,7 +4162,7 @@ "postInstallScriptURI": "disabled", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -4452,7 +4464,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri0VMNamePrefix'), 'nic-', copyIndex(variables('agentpri0Offset')))]", "properties": { "ipConfigurations": [ @@ -4478,7 +4490,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri0StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri0StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri0AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri0VMSize')].storageAccountType]" @@ -4487,7 +4499,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri0AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -4503,7 +4515,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri0VMNamePrefix'), 'nic-', copyIndex(variables('agentpri0Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri0AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri0VMNamePrefix'), copyIndex(variables('agentpri0Offset')))]", "properties": { "availabilitySet": { @@ -4566,7 +4578,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri1VMNamePrefix'), 'nic-', copyIndex(variables('agentpri1Offset')))]", "properties": { "ipConfigurations": [ @@ -4592,7 +4604,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri1AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri1VMSize')].storageAccountType]" @@ -4601,7 +4613,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri1AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -4617,7 +4629,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri1VMNamePrefix'), 'nic-', copyIndex(variables('agentpri1Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri1AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri1VMNamePrefix'), copyIndex(variables('agentpri1Offset')))]", "properties": { "availabilitySet": { @@ -4680,7 +4692,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri2VMNamePrefix'), 'nic-', copyIndex(variables('agentpri2Offset')))]", "properties": { "ipConfigurations": [ @@ -4706,7 +4718,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri2AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri2VMSize')].storageAccountType]" @@ -4715,7 +4727,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri2AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -4731,7 +4743,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri2VMNamePrefix'), 'nic-', copyIndex(variables('agentpri2Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri2AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri2VMNamePrefix'), copyIndex(variables('agentpri2Offset')))]", "properties": { "availabilitySet": { @@ -4794,7 +4806,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri3VMNamePrefix'), 'nic-', copyIndex(variables('agentpri3Offset')))]", "properties": { "ipConfigurations": [ @@ -4820,7 +4832,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri3StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri3StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri3AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri3VMSize')].storageAccountType]" @@ -4829,7 +4841,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri3AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -4845,7 +4857,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri3VMNamePrefix'), 'nic-', copyIndex(variables('agentpri3Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri3AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri3VMNamePrefix'), copyIndex(variables('agentpri3Offset')))]", "properties": { "availabilitySet": { @@ -4908,7 +4920,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri4VMNamePrefix'), 'nic-', copyIndex(variables('agentpri4Offset')))]", "properties": { "ipConfigurations": [ @@ -4934,7 +4946,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri4StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri4StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri4AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri4VMSize')].storageAccountType]" @@ -4943,7 +4955,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri4AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -4959,7 +4971,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri4VMNamePrefix'), 'nic-', copyIndex(variables('agentpri4Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri4AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri4VMNamePrefix'), copyIndex(variables('agentpri4Offset')))]", "properties": { "availabilitySet": { @@ -5022,7 +5034,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri5VMNamePrefix'), 'nic-', copyIndex(variables('agentpri5Offset')))]", "properties": { "ipConfigurations": [ @@ -5048,7 +5060,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri5StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri5StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri5AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri5VMSize')].storageAccountType]" @@ -5057,7 +5069,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri5AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -5073,7 +5085,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri5VMNamePrefix'), 'nic-', copyIndex(variables('agentpri5Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri5AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri5VMNamePrefix'), copyIndex(variables('agentpri5Offset')))]", "properties": { "availabilitySet": { @@ -5136,7 +5148,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri6VMNamePrefix'), 'nic-', copyIndex(variables('agentpri6Offset')))]", "properties": { "ipConfigurations": [ @@ -5162,7 +5174,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri6StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri6StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri6AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri6VMSize')].storageAccountType]" @@ -5171,7 +5183,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri6AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -5187,7 +5199,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri6VMNamePrefix'), 'nic-', copyIndex(variables('agentpri6Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri6AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri6VMNamePrefix'), copyIndex(variables('agentpri6Offset')))]", "properties": { "availabilitySet": { @@ -5250,7 +5262,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri7VMNamePrefix'), 'nic-', copyIndex(variables('agentpri7Offset')))]", "properties": { "ipConfigurations": [ @@ -5276,7 +5288,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri7StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri7StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri7AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri7VMSize')].storageAccountType]" @@ -5285,7 +5297,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri7AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -5301,7 +5313,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri7VMNamePrefix'), 'nic-', copyIndex(variables('agentpri7Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri7AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri7VMNamePrefix'), copyIndex(variables('agentpri7Offset')))]", "properties": { "availabilitySet": { @@ -5364,7 +5376,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri8VMNamePrefix'), 'nic-', copyIndex(variables('agentpri8Offset')))]", "properties": { "ipConfigurations": [ @@ -5390,7 +5402,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri8StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri8StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri8AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri8VMSize')].storageAccountType]" @@ -5399,7 +5411,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri8AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -5415,7 +5427,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri8VMNamePrefix'), 'nic-', copyIndex(variables('agentpri8Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri8AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri8VMNamePrefix'), copyIndex(variables('agentpri8Offset')))]", "properties": { "availabilitySet": { @@ -5478,7 +5490,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri9VMNamePrefix'), 'nic-', copyIndex(variables('agentpri9Offset')))]", "properties": { "ipConfigurations": [ @@ -5504,7 +5516,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri9StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri9StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri9AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri9VMSize')].storageAccountType]" @@ -5513,7 +5525,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri9AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -5529,7 +5541,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri9VMNamePrefix'), 'nic-', copyIndex(variables('agentpri9Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri9AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri9VMNamePrefix'), copyIndex(variables('agentpri9Offset')))]", "properties": { "availabilitySet": { @@ -5592,7 +5604,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri10VMNamePrefix'), 'nic-', copyIndex(variables('agentpri10Offset')))]", "properties": { "ipConfigurations": [ @@ -5618,7 +5630,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri10StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri10StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri10AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri10VMSize')].storageAccountType]" @@ -5627,7 +5639,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri10AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -5643,7 +5655,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri10VMNamePrefix'), 'nic-', copyIndex(variables('agentpri10Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri10AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri10VMNamePrefix'), copyIndex(variables('agentpri10Offset')))]", "properties": { "availabilitySet": { @@ -5706,7 +5718,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri11VMNamePrefix'), 'nic-', copyIndex(variables('agentpri11Offset')))]", "properties": { "ipConfigurations": [ @@ -5732,7 +5744,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpri11StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpri11StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpri11AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpri11VMSize')].storageAccountType]" @@ -5741,7 +5753,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpri11AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -5757,7 +5769,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentpri11VMNamePrefix'), 'nic-', copyIndex(variables('agentpri11Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentpri11AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri11VMNamePrefix'), copyIndex(variables('agentpri11Offset')))]", "properties": { "availabilitySet": { @@ -5816,7 +5828,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -5825,7 +5837,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -5930,14 +5942,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -5952,7 +5964,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -5982,7 +5994,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -6000,7 +6012,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -6025,7 +6037,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -6060,7 +6072,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -6123,7 +6135,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/largeclusters/swarmvmas_expected_params.json b/pkg/acsengine/testdata/largeclusters/swarmvmas_expected_params.json index 09800ef87..b9328b444 100644 --- a/pkg/acsengine/testdata/largeclusters/swarmvmas_expected_params.json +++ b/pkg/acsengine/testdata/largeclusters/swarmvmas_expected_params.json @@ -113,6 +113,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/location/dcos.json b/pkg/acsengine/testdata/location/dcos.json new file mode 100644 index 000000000..d942686ae --- /dev/null +++ b/pkg/acsengine/testdata/location/dcos.json @@ -0,0 +1,42 @@ +{ + "apiVersion": "vlabs", + "location": "eastus", + "properties": { + "orchestratorProfile": { + "orchestratorType": "DCOS" + }, + "masterProfile": { + "count": 3, + "dnsPrefix": "masterdns1", + "vmSize": "Standard_D2_v2" + }, + "agentPoolProfiles": [ + { + "name": "agentprivate", + "count": 3, + "vmSize": "Standard_D2_v2" + }, + { + "name": "agentpublic", + "count": 3, + "vmSize": "Standard_D2_v2", + "dnsPrefix": "agentpublic1", + "ports": [ + 80, + 443, + 8080 + ] + } + ], + "linuxProfile": { + "adminUsername": "azureuser", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa PUBLICKEY azureuser@linuxvm" + } + ] + } + } + } +} \ No newline at end of file diff --git a/pkg/acsengine/testdata/location/dcos_expected.json b/pkg/acsengine/testdata/location/dcos_expected.json new file mode 100644 index 000000000..eb5831f60 --- /dev/null +++ b/pkg/acsengine/testdata/location/dcos_expected.json @@ -0,0 +1,1625 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "agentprivateCount": { + "allowedValues": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100 + ], + "defaultValue": 3, + "metadata": { + "description": "The number of agents for the cluster. This value can be from 1 to 100" + }, + "type": "int" + }, + "agentprivateSubnet": { + "defaultValue": "10.0.0.0/16", + "metadata": { + "description": "Sets the subnet of agent pool 'agentprivate'." + }, + "type": "string" + }, + "agentprivateVMSize": { + "allowedValues": [ + "Basic_A2", + "Basic_A3", + "Basic_A4", + "Standard_A10", + "Standard_A11", + "Standard_A2", + "Standard_A2_v2", + "Standard_A2m_v2", + "Standard_A3", + "Standard_A4", + "Standard_A4_v2", + "Standard_A4m_v2", + "Standard_A5", + "Standard_A6", + "Standard_A7", + "Standard_A8", + "Standard_A8_v2", + "Standard_A8m_v2", + "Standard_A9", + "Standard_D11", + "Standard_D11_v2", + "Standard_D12", + "Standard_D12_v2", + "Standard_D13", + "Standard_D13_v2", + "Standard_D14", + "Standard_D14_v2", + "Standard_D15_v2", + "Standard_D2", + "Standard_D2_v2", + "Standard_D3", + "Standard_D3_v2", + "Standard_D4", + "Standard_D4_v2", + "Standard_D5_v2", + "Standard_DS11", + "Standard_DS11_v2", + "Standard_DS12", + "Standard_DS12_v2", + "Standard_DS13", + "Standard_DS13_v2", + "Standard_DS14", + "Standard_DS14_v2", + "Standard_DS15_v2", + "Standard_DS2", + "Standard_DS2_v2", + "Standard_DS3", + "Standard_DS3_v2", + "Standard_DS4", + "Standard_DS4_v2", + "Standard_DS5_v2", + "Standard_F16", + "Standard_F16s", + "Standard_F2", + "Standard_F2s", + "Standard_F4", + "Standard_F4s", + "Standard_F8", + "Standard_F8s", + "Standard_G1", + "Standard_G2", + "Standard_G3", + "Standard_G4", + "Standard_G5", + "Standard_GS1", + "Standard_GS2", + "Standard_GS3", + "Standard_GS4", + "Standard_GS5", + "Standard_H16", + "Standard_H16m", + "Standard_H16mr", + "Standard_H16r", + "Standard_H8", + "Standard_H8m", + "Standard_NC12", + "Standard_NC24", + "Standard_NC24r", + "Standard_NC6", + "Standard_NV12", + "Standard_NV24", + "Standard_NV6" + ], + "defaultValue": "Standard_D2_v2", + "metadata": { + "description": "The size of the Virtual Machine." + }, + "type": "string" + }, + "agentpublicCount": { + "allowedValues": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100 + ], + "defaultValue": 3, + "metadata": { + "description": "The number of agents for the cluster. This value can be from 1 to 100" + }, + "type": "int" + }, + "agentpublicEndpointDNSNamePrefix": { + "metadata": { + "description": "Sets the Domain name label for the agent pool IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." + }, + "type": "string" + }, + "agentpublicSubnet": { + "defaultValue": "10.1.0.0/16", + "metadata": { + "description": "Sets the subnet of agent pool 'agentpublic'." + }, + "type": "string" + }, + "agentpublicVMSize": { + "allowedValues": [ + "Basic_A2", + "Basic_A3", + "Basic_A4", + "Standard_A10", + "Standard_A11", + "Standard_A2", + "Standard_A2_v2", + "Standard_A2m_v2", + "Standard_A3", + "Standard_A4", + "Standard_A4_v2", + "Standard_A4m_v2", + "Standard_A5", + "Standard_A6", + "Standard_A7", + "Standard_A8", + "Standard_A8_v2", + "Standard_A8m_v2", + "Standard_A9", + "Standard_D11", + "Standard_D11_v2", + "Standard_D12", + "Standard_D12_v2", + "Standard_D13", + "Standard_D13_v2", + "Standard_D14", + "Standard_D14_v2", + "Standard_D15_v2", + "Standard_D2", + "Standard_D2_v2", + "Standard_D3", + "Standard_D3_v2", + "Standard_D4", + "Standard_D4_v2", + "Standard_D5_v2", + "Standard_DS11", + "Standard_DS11_v2", + "Standard_DS12", + "Standard_DS12_v2", + "Standard_DS13", + "Standard_DS13_v2", + "Standard_DS14", + "Standard_DS14_v2", + "Standard_DS15_v2", + "Standard_DS2", + "Standard_DS2_v2", + "Standard_DS3", + "Standard_DS3_v2", + "Standard_DS4", + "Standard_DS4_v2", + "Standard_DS5_v2", + "Standard_F16", + "Standard_F16s", + "Standard_F2", + "Standard_F2s", + "Standard_F4", + "Standard_F4s", + "Standard_F8", + "Standard_F8s", + "Standard_G1", + "Standard_G2", + "Standard_G3", + "Standard_G4", + "Standard_G5", + "Standard_GS1", + "Standard_GS2", + "Standard_GS3", + "Standard_GS4", + "Standard_GS5", + "Standard_H16", + "Standard_H16m", + "Standard_H16mr", + "Standard_H16r", + "Standard_H8", + "Standard_H8m", + "Standard_NC12", + "Standard_NC24", + "Standard_NC24r", + "Standard_NC6", + "Standard_NV12", + "Standard_NV24", + "Standard_NV6" + ], + "defaultValue": "Standard_D2_v2", + "metadata": { + "description": "The size of the Virtual Machine." + }, + "type": "string" + }, + "dcosBootstrapURL": { + "defaultValue": "https://dcosio.azureedge.net/dcos/stable/bootstrap/e73ba2b1cd17795e4dcb3d6647d11a29b9c35084.bootstrap.tar.xz", + "metadata": { + "description": "The default mesosphere bootstrap package." + }, + "type": "string" + }, + "firstConsecutiveStaticIP": { + "defaultValue": "172.16.0.5", + "metadata": { + "description": "Sets the static IP of the first master" + }, + "type": "string" + }, + "linuxAdminUsername": { + "metadata": { + "description": "User name for the Linux Virtual Machines (SSH or Password)." + }, + "type": "string" + }, + "location": { + "defaultValue": "eastus", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, + "masterEndpointDNSNamePrefix": { + "metadata": { + "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." + }, + "type": "string" + }, + "masterSubnet": { + "defaultValue": "172.16.0.0/24", + "metadata": { + "description": "Sets the subnet of the master node(s)." + }, + "type": "string" + }, + "masterVMSize": { + "allowedValues": [ + "Basic_A3", + "Basic_A4", + "Standard_A10", + "Standard_A11", + "Standard_A2", + "Standard_A3", + "Standard_A4", + "Standard_A5", + "Standard_A6", + "Standard_A7", + "Standard_A8", + "Standard_A9", + "Standard_D11", + "Standard_D11_v2", + "Standard_D12", + "Standard_D12_v2", + "Standard_D13", + "Standard_D13_v2", + "Standard_D14", + "Standard_D14_v2", + "Standard_D15_v2", + "Standard_D2", + "Standard_D2_v2", + "Standard_D3", + "Standard_D3_v2", + "Standard_D4", + "Standard_D4_v2", + "Standard_D5_v2", + "Standard_DS13", + "Standard_DS13_v2", + "Standard_DS14", + "Standard_DS14_v2", + "Standard_DS15_v2", + "Standard_DS5_v2", + "Standard_F16", + "Standard_F8", + "Standard_G1", + "Standard_G2", + "Standard_G3", + "Standard_G4", + "Standard_G5", + "Standard_GS2", + "Standard_GS3", + "Standard_GS4", + "Standard_GS5", + "Standard_H16", + "Standard_H16m", + "Standard_H16mr", + "Standard_H16r", + "Standard_H8", + "Standard_H8m", + "Standard_NC12", + "Standard_NC24", + "Standard_NC24r", + "Standard_NC6", + "Standard_NV12", + "Standard_NV24", + "Standard_NV6" + ], + "metadata": { + "description": "The size of the Virtual Machine." + }, + "type": "string" + }, + "nameSuffix": { + "defaultValue": "31559618", + "metadata": { + "description": "A string hash of the master DNS name to uniquely identify the cluster." + }, + "type": "string" + }, + "sshRSAPublicKey": { + "metadata": { + "description": "SSH public key used for auth to all Linux machines. Not Required. If not set, you must provide a password key." + }, + "type": "string" + }, + "targetEnvironment": { + "defaultValue": "AzureCloud", + "metadata": { + "description": "The azure deploy environment. Currently support: AzureCloud, AzureChinaCloud" + }, + "type": "string" + } + }, + "variables": { + "adminUsername": "[parameters('linuxAdminUsername')]", + "agentprivateAccountName": "[concat(variables('storageAccountBaseName'), 'agnt0')]", + "agentprivateCount": "[parameters('agentprivateCount')]", + "agentprivateNSGID": "[resourceId('Microsoft.Network/networkSecurityGroups',variables('agentprivateNSGName'))]", + "agentprivateNSGName": "[concat(variables('orchestratorName'), '-agentprivate-nsg-', variables('nameSuffix'))]", + "agentprivateStorageAccountOffset": "[mul(variables('maxStorageAccountsPerAgent'),0)]", + "agentprivateStorageAccountsCount": "[variables('maxStorageAccountsPerAgent')]", + "agentprivateSubnet": "[parameters('agentprivateSubnet')]", + "agentprivateSubnetName": "[concat(variables('orchestratorName'), '-agentprivateSubnet')]", + "agentprivateVMNamePrefix": "[concat(variables('orchestratorName'), '-agentprivate-', variables('nameSuffix'))]", + "agentprivateVMSize": "[parameters('agentprivateVMSize')]", + "agentprivateVnetSubnetID": "[concat(variables('vnetID'),'/subnets/',variables('agentprivateSubnetName'))]", + "agentpublicAccountName": "[concat(variables('storageAccountBaseName'), 'agnt1')]", + "agentpublicCount": "[parameters('agentpublicCount')]", + "agentpublicEndpointDNSNamePrefix": "[tolower(parameters('agentpublicEndpointDNSNamePrefix'))]", + "agentpublicIPAddressName": "[concat(variables('orchestratorName'), '-agent-ip-', variables('agentpublicEndpointDNSNamePrefix'), '-', variables('nameSuffix'))]", + "agentpublicLbBackendPoolName": "[concat(variables('orchestratorName'), '-agentpublic-', variables('nameSuffix'))]", + "agentpublicLbID": "[resourceId('Microsoft.Network/loadBalancers',variables('agentpublicLbName'))]", + "agentpublicLbIPConfigID": "[concat(variables('agentpublicLbID'),'/frontendIPConfigurations/', variables('agentpublicLbIPConfigName'))]", + "agentpublicLbIPConfigName": "[concat(variables('orchestratorName'), '-agentpublic-', variables('nameSuffix'))]", + "agentpublicLbName": "[concat(variables('orchestratorName'), '-agentpublic-', variables('nameSuffix'))]", + "agentpublicNSGID": "[resourceId('Microsoft.Network/networkSecurityGroups',variables('agentpublicNSGName'))]", + "agentpublicNSGName": "[concat(variables('orchestratorName'), '-agentpublic-nsg-', variables('nameSuffix'))]", + "agentpublicStorageAccountOffset": "[mul(variables('maxStorageAccountsPerAgent'),1)]", + "agentpublicStorageAccountsCount": "[variables('maxStorageAccountsPerAgent')]", + "agentpublicSubnet": "[parameters('agentpublicSubnet')]", + "agentpublicSubnetName": "[concat(variables('orchestratorName'), '-agentpublicSubnet')]", + "agentpublicVMNamePrefix": "[concat(variables('orchestratorName'), '-agentpublic-', variables('nameSuffix'))]", + "agentpublicVMSize": "[parameters('agentpublicVMSize')]", + "agentpublicVnetSubnetID": "[concat(variables('vnetID'),'/subnets/',variables('agentpublicSubnetName'))]", + "apiVersionDefault": "2016-03-30", + "apiVersionStorage": "2015-06-15", + "dataStorageAccountPrefixSeed": 97, + "dcosBootstrapURL": "[parameters('dcosBootstrapURL')]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], + "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", + "masterCount": 3, + "masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]", + "masterFirstAddrOctet4": "[variables('masterFirstAddrOctets')[3]]", + "masterFirstAddrOctets": "[split(parameters('firstConsecutiveStaticIP'),'.')]", + "masterFirstAddrPrefix": "[concat(variables('masterFirstAddrOctets')[0],'.',variables('masterFirstAddrOctets')[1],'.',variables('masterFirstAddrOctets')[2],'.')]", + "masterLbBackendPoolName": "[concat(variables('orchestratorName'), '-master-pool-', variables('nameSuffix'))]", + "masterLbID": "[resourceId('Microsoft.Network/loadBalancers',variables('masterLbName'))]", + "masterLbIPConfigID": "[concat(variables('masterLbID'),'/frontendIPConfigurations/', variables('masterLbIPConfigName'))]", + "masterLbIPConfigName": "[concat(variables('orchestratorName'), '-master-lbFrontEnd-', variables('nameSuffix'))]", + "masterLbName": "[concat(variables('orchestratorName'), '-master-lb-', variables('nameSuffix'))]", + "masterNSGID": "[resourceId('Microsoft.Network/networkSecurityGroups',variables('masterNSGName'))]", + "masterNSGName": "[concat(variables('orchestratorName'), '-master-nsg-', variables('nameSuffix'))]", + "masterPublicIPAddressName": "[concat(variables('orchestratorName'), '-master-ip-', variables('masterEndpointDNSNamePrefix'), '-', variables('nameSuffix'))]", + "masterStorageAccountExhibitorName": "[concat(variables('storageAccountBaseName'), 'exhb0')]", + "masterStorageAccountName": "[concat(variables('storageAccountBaseName'), 'mstr0')]", + "masterSubnet": "[parameters('masterSubnet')]", + "masterSubnetName": "[concat(variables('orchestratorName'), '-masterSubnet')]", + "masterVMNamePrefix": "[concat(variables('orchestratorName'), '-master-', variables('nameSuffix'), '-')]", + "masterVMNic": [ + "[concat(variables('masterVMNamePrefix'), 'nic-0')]", + "[concat(variables('masterVMNamePrefix'), 'nic-1')]", + "[concat(variables('masterVMNamePrefix'), 'nic-2')]", + "[concat(variables('masterVMNamePrefix'), 'nic-3')]", + "[concat(variables('masterVMNamePrefix'), 'nic-4')]", + "[concat(variables('masterVMNamePrefix'), 'nic-5')]", + "[concat(variables('masterVMNamePrefix'), 'nic-6')]" + ], + "masterVMSize": "[parameters('masterVMSize')]", + "masterVnetSubnetID": "[concat(variables('vnetID'),'/subnets/',variables('masterSubnetName'))]", + "maxStorageAccountsPerAgent": "[div(variables('maxVMsPerPool'),variables('maxVMsPerStorageAccount'))]", + "maxVMsPerPool": 100, + "maxVMsPerStorageAccount": 20, + "nameSuffix": "[parameters('nameSuffix')]", + "oauthEnabled": "false", + "orchestratorName": "dcos", + "osImageOffer": "UbuntuServer", + "osImagePublisher": "Canonical", + "osImageSKU": "16.04.0-LTS", + "osImageVersion": "16.04.201606270", + "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", + "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location'),variables('orchestratorName')))]", + "storageAccountPrefixes": [ + "0", + "6", + "c", + "i", + "o", + "u", + "1", + "7", + "d", + "j", + "p", + "v", + "2", + "8", + "e", + "k", + "q", + "w", + "3", + "9", + "f", + "l", + "r", + "x", + "4", + "a", + "g", + "m", + "s", + "y", + "5", + "b", + "h", + "n", + "t", + "z" + ], + "storageAccountPrefixesCount": "[length(variables('storageAccountPrefixes'))]", + "storageAccountType": "Standard_LRS", + "targetEnvironment": "[parameters('targetEnvironment')]", + "virtualNetworkName": "[concat(variables('orchestratorName'), '-vnet-', variables('nameSuffix'))]", + "vmSizesMap": { + "Basic_A2": { + "storageAccountType": "Standard_LRS" + }, + "Basic_A3": { + "storageAccountType": "Standard_LRS" + }, + "Basic_A4": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A10": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A11": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A2_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A2m_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A3": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A4": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A4_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A4m_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A5": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A6": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A7": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A8": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A8_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A8m_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A9": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D11": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D11_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D12": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D12_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D13": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D13_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D14": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D14_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D15_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D2_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D3": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D3_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D4": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D4_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D5_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_DS11": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS11_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS12": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS12_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS13": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS13_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS14": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS14_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS15_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS2_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS3": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS3_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS4": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS4_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS5_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_F16": { + "storageAccountType": "Standard_LRS" + }, + "Standard_F16s": { + "storageAccountType": "Premium_LRS" + }, + "Standard_F2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_F2s": { + "storageAccountType": "Premium_LRS" + }, + "Standard_F4": { + "storageAccountType": "Standard_LRS" + }, + "Standard_F4s": { + "storageAccountType": "Premium_LRS" + }, + "Standard_F8": { + "storageAccountType": "Standard_LRS" + }, + "Standard_F8s": { + "storageAccountType": "Premium_LRS" + }, + "Standard_G1": { + "storageAccountType": "Standard_LRS" + }, + "Standard_G2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_G3": { + "storageAccountType": "Standard_LRS" + }, + "Standard_G4": { + "storageAccountType": "Standard_LRS" + }, + "Standard_G5": { + "storageAccountType": "Standard_LRS" + }, + "Standard_GS1": { + "storageAccountType": "Premium_LRS" + }, + "Standard_GS2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_GS3": { + "storageAccountType": "Premium_LRS" + }, + "Standard_GS4": { + "storageAccountType": "Premium_LRS" + }, + "Standard_GS5": { + "storageAccountType": "Premium_LRS" + }, + "Standard_H16": { + "storageAccountType": "Standard_LRS" + }, + "Standard_H16m": { + "storageAccountType": "Standard_LRS" + }, + "Standard_H16mr": { + "storageAccountType": "Standard_LRS" + }, + "Standard_H16r": { + "storageAccountType": "Standard_LRS" + }, + "Standard_H8": { + "storageAccountType": "Standard_LRS" + }, + "Standard_H8m": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NC12": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NC24": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NC24r": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NC6": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NV12": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NV24": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NV6": { + "storageAccountType": "Standard_LRS" + } + }, + "vnetID": "[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]" + }, + "resources": [ + { + "apiVersion": "[variables('apiVersionDefault')]", + "location": "[variables('location')]", + "name": "[variables('agentprivateNSGName')]", + "properties": { + "securityRules": [] + }, + "type": "Microsoft.Network/networkSecurityGroups" + }, + { + "apiVersion": "[variables('apiVersionStorage')]", + "copy": { + "count": "[variables('agentprivateStorageAccountsCount')]", + "name": "loop" + }, + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", + "properties": { + "accountType": "[variables('vmSizesMap')[variables('agentprivateVMSize')].storageAccountType]" + }, + "type": "Microsoft.Storage/storageAccounts" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "dependsOn": [ + "[variables('vnetID')]", + "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(0,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(0,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(1,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(1,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(2,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(2,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('agentprivateVMNamePrefix'), '-vmss')]", + "properties": { + "upgradePolicy": { + "mode": "Manual" + }, + "virtualMachineProfile": { + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "nic", + "properties": { + "ipConfigurations": [ + { + "name": "nicipconfig", + "properties": { + "subnet": { + "id": "[variables('agentprivateVnetSubnetID')]" + } + } + } + ], + "primary": "true" + } + } + ] + }, + "osProfile": { + "adminUsername": "[variables('adminUsername')]", + "computerNamePrefix": "[variables('agentprivateVMNamePrefix')]", + "customData": "[base64(concat('#cloud-config\n\n', '{\"bootcmd\":[\"bash -c \\\"if [ ! -f /var/lib/sdb-gpt ];then echo DCOS-5890;parted -s /dev/sdb mklabel gpt;touch /var/lib/sdb-gpt;fi\\\"\"],\"disk_setup\":{\"ephemeral0\":{\"layout\":[50,50],\"overwrite\":true,\"table_type\":\"gpt\"}},\"fs_setup\":[{\"device\":\"ephemeral0.1\",\"filesystem\":\"ext4\",\"overwrite\":true},{\"device\":\"ephemeral0.2\",\"filesystem\":\"ext4\",\"overwrite\":true}],\"mounts\":[[\"ephemeral0.1\",\"/var/lib/mesos\"],[\"ephemeral0.2\",\"/var/lib/docker\"]],\"runcmd\":[[\"ln\",\"-s\",\"/bin/rm\",\"/usr/bin/rm\"],[\"ln\",\"-s\",\"/bin/mkdir\",\"/usr/bin/mkdir\"],[\"ln\",\"-s\",\"/bin/tar\",\"/usr/bin/tar\"],[\"ln\",\"-s\",\"/bin/ln\",\"/usr/bin/ln\"],[\"ln\",\"-s\",\"/bin/cp\",\"/usr/bin/cp\"],[\"ln\",\"-s\",\"/bin/systemctl\",\"/usr/bin/systemctl\"],[\"ln\",\"-s\",\"/bin/mount\",\"/usr/bin/mount\"],[\"ln\",\"-s\",\"/bin/bash\",\"/usr/bin/bash\"],[\"ln\",\"-s\",\"/usr/sbin/useradd\",\"/usr/bin/useradd\"],[\"systemctl\",\"disable\",\"--now\",\"resolvconf.service\"],[\"systemctl\",\"mask\",\"--now\",\"lxc-net.service\"],\"/opt/azure/containers/provision.sh\",[\"cp\",\"-p\",\"/etc/resolv.conf\",\"/tmp/resolv.conf\"],[\"rm\",\"-f\",\"/etc/resolv.conf\"],[\"cp\",\"-p\",\"/tmp/resolv.conf\",\"/etc/resolv.conf\"],[\"systemctl\",\"start\",\"dcos-docker-install.service\"],[\"systemctl\",\"start\",\"dcos-config-writer.service\"],[\"systemctl\",\"restart\",\"systemd-journald.service\"],[\"systemctl\",\"restart\",\"docker.service\"],[\"systemctl\",\"start\",\"dcos-link-env.service\"],[\"systemctl\",\"enable\",\"dcos-setup.service\"],[\"systemctl\",\"--no-block\",\"start\",\"dcos-setup.service\"]],\"write_files\":[{\"content\":\"https://dcosio.azureedge.net/dcos/stable\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/repository-url\",\"permissions\":\"0644\"},{\"content\":\"DCOS_ENVIRONMENT=',variables('targetEnvironment'),'\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/dcos-deploy-environment\",\"permissions\":\"0644\"},{\"content\":\"[\\\"dcos-config--setup_b1cd359287504efb780257bd12cc3a63704e42d4\\\", \\\"dcos-metadata--setup_b1cd359287504efb780257bd12cc3a63704e42d4\\\"]\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/cluster-packages.json\",\"permissions\":\"0644\"},{\"content\":\"[Journal]\\nMaxLevelConsole=warning\\nRateLimitInterval=1s\\nRateLimitBurst=20000\\n\",\"owner\":\"root\",\"path\":\"/etc/systemd/journald.conf.d/dcos.conf\",\"permissions\":\"0644\"},{\"content\":\"rexray:\\n loglevel: info\\n modules:\\n default-admin:\\n host: tcp://127.0.0.1:61003\\n default-docker:\\n disabled: true\\n\",\"path\":\"/etc/rexray/config.yml\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nAfter=network-online.target\\nWants=network-online.target\\n[Service]\\nType=oneshot\\nEnvironment=DEBIAN_FRONTEND=noninteractive\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStart=/usr/bin/bash -c \\\"try=1;until dpkg -D3 -i /var/lib/mesos/dl/d.deb || ((try\\u003e9));do echo retry $((try++));sleep $((try*try));done;systemctl --now start docker;systemctl restart docker.socket\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-docker-install.service\",\"permissions\":\"0644\"},{\"content\":\"[Service]\\nRestart=always\\nStartLimitInterval=0\\nRestartSec=15\\nExecStartPre=-/sbin/ip link del docker0\\nExecStart=\\nExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay\\n\",\"path\":\"/etc/systemd/system/docker.service.d/execstart.conf\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nPartOf=docker.service\\n[Socket]\\nListenStream=/var/run/docker.sock\\nSocketMode=0660\\nSocketUser=root\\nSocketGroup=docker\\nListenStream=2375\\nBindIPv6Only=both\\n[Install]\\nWantedBy=sockets.target\\n\",\"path\":\"/etc/systemd/system/docker.socket\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nRequires=dcos-setup.service\\nAfter=dcos-setup.service\\n[Service]\\nType=oneshot\\nEnvironmentFile=/etc/environment\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/usr/bin/bash -c \\\"echo $(detect_ip) $(hostname) \\u003e /etc/hosts\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-config-writer.service\",\"permissions\":\"0644\"},{\"content\":\"MESOS_CLUSTER=',variables('masterPublicIPAddressName'),'\\n\",\"path\":\"/etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/mesos-master-provider\"},{\"content\":\"ADMINROUTER_ACTIVATE_AUTH_MODULE=',variables('oauthEnabled'),'\\n\",\"path\":\"/etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/adminrouter.env\"},{\"content\":\"[\\\"', reference(variables('masterVMNic')[0]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[1]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[2]).ipConfigurations[0].properties.privateIPAddress,'\\\"]\\n\",\"path\":\"/etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/master_list\"},{\"content\":\"EXHIBITOR_BACKEND=AZURE\\nAZURE_CONTAINER=dcos-exhibitor\\nAZURE_PREFIX=',variables('masterPublicIPAddressName'),'\\n\",\"path\":\"/etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/exhibitor\"},{\"content\":\"com.netflix.exhibitor.azure.account-name=',variables('masterStorageAccountExhibitorName'),'\\ncom.netflix.exhibitor.azure.account-key=', listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('masterStorageAccountExhibitorName')), '2015-06-15').key1,'\\n\",\"path\":\"/etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/exhibitor.properties\"},{\"content\":\"{\\\"uiConfiguration\\\":{\\\"plugins\\\":{\\\"banner\\\":{\\\"enabled\\\":false,\\\"backgroundColor\\\":\\\"#1E232F\\\",\\\"foregroundColor\\\":\\\"#FFFFFF\\\",\\\"headerTitle\\\":null,\\\"headerContent\\\":null,\\\"footerContent\\\":null,\\\"imagePath\\\":null,\\\"dismissible\\\":null},\\\"branding\\\":{\\\"enabled\\\":false},\\\"external-links\\\": {\\\"enabled\\\": false},\\n\\n\\\"authentication\\\":{\\\"enabled\\\":false},\\n\\n\\\"oauth\\\":{\\\"enabled\\\":',variables('oauthEnabled'),',\\\"authHost\\\":\\\"https://dcos.auth0.com\\\"},\\n\\n\\n\\\"tracking\\\":{\\\"enabled\\\":false}}}}\\n\",\"path\":\"/etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/ui-config.json\"},{\"content\":\"{}\",\"path\":\"/etc/mesosphere/setup-packages/dcos-provider-azure--setup/pkginfo.json\"},{\"content\":\"[Unit]\\nBefore=dcos.target\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/mkdir -p /etc/profile.d\\nExecStart=/usr/bin/ln -sf /opt/mesosphere/environment.export /etc/profile.d/dcos.sh\\n\",\"path\":\"/etc/systemd/system/dcos-link-env.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Download DC/OS to this host.\\nAfter=network-online.target\\nWants=network-online.target\\nConditionPathExists=!/opt/mesosphere/\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/curl --keepalive-time 2 -fLsSv --retry 20 -Y 100000 -y 60 -o /var/lib/mesos/dl/bootstrap.tar.xz ',variables('dcosBootstrapURL'),'\\nExecStartPre=/usr/bin/mkdir -p /opt/mesosphere\\nExecStart=/usr/bin/tar -axf /var/lib/mesos/dl/bootstrap.tar.xz -C /opt/mesosphere\\nExecStartPost=-/usr/bin/rm -f /var/lib/mesos/dl/bootstrap.tar.xz\\n\",\"path\":\"/etc/systemd/system/dcos-download.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Specialize DC/OS for this host.\\nRequires=dcos-download.service\\nAfter=dcos-download.service\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/opt/mesosphere/bin/pkgpanda setup --no-block-systemd\\n[Install]\\nWantedBy=multi-user.target\\n\",\"path\":\"/etc/systemd/system/dcos-setup.service\",\"permissions\":\"0644\"},{\"content\":\"\",\"path\":\"/etc/mesosphere/roles/azure\"},{\"content\":\"#!/bin/bash\\n\\n\\nMESOSDIR=/var/lib/mesos/dl\\nmkdir $MESOSDIR\\n\\n\\n# load the env vars\\n. /etc/mesosphere/setup-flags/dcos-deploy-environment\\n\\n\\n# default dc/os component download address (Azure CDN)\\nDOCKER_ENGINE_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libltdl7_2.4.6-0.1_amd64.deb\\n\\n\\ncase $DCOS_ENVIRONMENT in\\n# because of Chinese GreatWall Firewall, the default packages on Azure CDN is blocked. So the following Chinese local mirror url should be used instead.\\nAzureChinaCloud)\\nDOCKER_ENGINE_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libltdl7_2.4.6-0.1_amd64.deb\\n;;\\nesac\\n\\n\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/d.deb $DOCKER_ENGINE_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/1.deb $LIBIPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/2.deb $IPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/3.deb $UNZIP_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/4.deb $LIBLTDL_DOWNLOAD_URL \\u0026\\nwait\\n\\n\\nfor i in {1..300}; do\\ndpkg -i $MESOSDIR/{1,2,3,4}.deb\\nif [ \\\"$?\\\" = \\\"0\\\" ]\\nthen\\necho \\\"succeeded\\\"\\nbreak\\nfi\\nsleep 1\\ndone\\n\\n\\ntouch /etc/mesosphere/roles/slave\\n\",\"owner\":\"root\",\"path\":\"/opt/azure/containers/provision.sh\",\"permissions\":\"0744\"},{\"content\":\"\",\"owner\":\"root\",\"path\":\"/var/lib/dcos/mesos-slave-common\",\"permissions\":\"0644\"}]}'))]", + "linuxConfiguration": { + "disablePasswordAuthentication": "true", + "ssh": { + "publicKeys": [ + { + "keyData": "[parameters('sshRSAPublicKey')]", + "path": "[variables('sshKeyPath')]" + } + ] + } + } + }, + "storageProfile": { + "imageReference": { + "offer": "[variables('osImageOffer')]", + "publisher": "[variables('osImagePublisher')]", + "sku": "[variables('osImageSKU')]", + "version": "[variables('osImageVersion')]" + }, + "osDisk": { + "caching": "ReadOnly", + "createOption": "FromImage", + "name": "vmssosdisk", + "vhdContainers": [ + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(0,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(0,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(1,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(1,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(2,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(2,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'osdisk')]" + ] + } + } + } + }, + "sku": { + "capacity": "[variables('agentprivateCount')]", + "name": "[variables('agentprivateVMSize')]", + "tier": "Standard" + }, + "tags": { + "creationSource": "[concat('acsengine-', variables('agentprivateVMNamePrefix'), '-vmss')]" + }, + "type": "Microsoft.Compute/virtualMachineScaleSets" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "location": "[variables('location')]", + "name": "[variables('agentpublicNSGName')]", + "properties": { + "securityRules": [ + { + "name": "Allow_80", + "properties": { + "access": "Allow", + "description": "Allow traffic from the Internet to port 80", + "destinationAddressPrefix": "*", + "destinationPortRange": "80", + "direction": "Inbound", + "priority": 200, + "protocol": "*", + "sourceAddressPrefix": "Internet", + "sourcePortRange": "*" + } + }, + { + "name": "Allow_443", + "properties": { + "access": "Allow", + "description": "Allow traffic from the Internet to port 443", + "destinationAddressPrefix": "*", + "destinationPortRange": "443", + "direction": "Inbound", + "priority": 201, + "protocol": "*", + "sourceAddressPrefix": "Internet", + "sourcePortRange": "*" + } + }, + { + "name": "Allow_8080", + "properties": { + "access": "Allow", + "description": "Allow traffic from the Internet to port 8080", + "destinationAddressPrefix": "*", + "destinationPortRange": "8080", + "direction": "Inbound", + "priority": 202, + "protocol": "*", + "sourceAddressPrefix": "Internet", + "sourcePortRange": "*" + } + } + ] + }, + "type": "Microsoft.Network/networkSecurityGroups" + }, + { + "apiVersion": "[variables('apiVersionStorage')]", + "copy": { + "count": "[variables('agentpublicStorageAccountsCount')]", + "name": "loop" + }, + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", + "properties": { + "accountType": "[variables('vmSizesMap')[variables('agentpublicVMSize')].storageAccountType]" + }, + "type": "Microsoft.Storage/storageAccounts" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "location": "[variables('location')]", + "name": "[variables('agentpublicIPAddressName')]", + "properties": { + "dnsSettings": { + "domainNameLabel": "[variables('agentpublicEndpointDNSNamePrefix')]" + }, + "publicIPAllocationMethod": "Dynamic" + }, + "type": "Microsoft.Network/publicIPAddresses" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('agentpublicIPAddressName'))]" + ], + "location": "[variables('location')]", + "name": "[variables('agentpublicLbName')]", + "properties": { + "backendAddressPools": [ + { + "name": "[variables('agentpublicLbBackendPoolName')]" + } + ], + "frontendIPConfigurations": [ + { + "name": "[variables('agentpublicLbIPConfigName')]", + "properties": { + "publicIPAddress": { + "id": "[resourceId('Microsoft.Network/publicIPAddresses',variables('agentpublicIPAddressName'))]" + } + } + } + ], + "inboundNatRules": [], + "loadBalancingRules": [ + { + "name": "LBRule80", + "properties": { + "backendAddressPool": { + "id": "[concat(variables('agentpublicLbID'), '/backendAddressPools/', variables('agentpublicLbBackendPoolName'))]" + }, + "backendPort": 80, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "[variables('agentpublicLbIPConfigID')]" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 5, + "loadDistribution": "Default", + "probe": { + "id": "[concat(variables('agentpublicLbID'),'/probes/tcp80Probe')]" + }, + "protocol": "tcp" + } + }, + { + "name": "LBRule443", + "properties": { + "backendAddressPool": { + "id": "[concat(variables('agentpublicLbID'), '/backendAddressPools/', variables('agentpublicLbBackendPoolName'))]" + }, + "backendPort": 443, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "[variables('agentpublicLbIPConfigID')]" + }, + "frontendPort": 443, + "idleTimeoutInMinutes": 5, + "loadDistribution": "Default", + "probe": { + "id": "[concat(variables('agentpublicLbID'),'/probes/tcp443Probe')]" + }, + "protocol": "tcp" + } + }, + { + "name": "LBRule8080", + "properties": { + "backendAddressPool": { + "id": "[concat(variables('agentpublicLbID'), '/backendAddressPools/', variables('agentpublicLbBackendPoolName'))]" + }, + "backendPort": 8080, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "[variables('agentpublicLbIPConfigID')]" + }, + "frontendPort": 8080, + "idleTimeoutInMinutes": 5, + "loadDistribution": "Default", + "probe": { + "id": "[concat(variables('agentpublicLbID'),'/probes/tcp8080Probe')]" + }, + "protocol": "tcp" + } + } + ], + "probes": [ + { + "name": "tcp80Probe", + "properties": { + "intervalInSeconds": "5", + "numberOfProbes": "2", + "port": 80, + "protocol": "tcp" + } + }, + { + "name": "tcp443Probe", + "properties": { + "intervalInSeconds": "5", + "numberOfProbes": "2", + "port": 443, + "protocol": "tcp" + } + }, + { + "name": "tcp8080Probe", + "properties": { + "intervalInSeconds": "5", + "numberOfProbes": "2", + "port": 8080, + "protocol": "tcp" + } + } + ] + }, + "type": "Microsoft.Network/loadBalancers" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "dependsOn": [ + "[variables('vnetID')]", + "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(0,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(0,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(1,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(1,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(2,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(2,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", + "[concat('Microsoft.Network/loadBalancers/', variables('agentpublicLbName'))]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('agentpublicVMNamePrefix'), '-vmss')]", + "properties": { + "upgradePolicy": { + "mode": "Manual" + }, + "virtualMachineProfile": { + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "nic", + "properties": { + "ipConfigurations": [ + { + "name": "nicipconfig", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "[concat('/subscriptions/', subscription().subscriptionId,'/resourceGroups/', resourceGroup().name, '/providers/Microsoft.Network/loadBalancers/', variables('agentpublicLbName'), '/backendAddressPools/',variables('agentpublicLbBackendPoolName'))]" + } + ], + "subnet": { + "id": "[variables('agentpublicVnetSubnetID')]" + } + } + } + ], + "primary": "true" + } + } + ] + }, + "osProfile": { + "adminUsername": "[variables('adminUsername')]", + "computerNamePrefix": "[variables('agentpublicVMNamePrefix')]", + "customData": "[base64(concat('#cloud-config\n\n', '{\"bootcmd\":[\"bash -c \\\"if [ ! -f /var/lib/sdb-gpt ];then echo DCOS-5890;parted -s /dev/sdb mklabel gpt;touch /var/lib/sdb-gpt;fi\\\"\"],\"disk_setup\":{\"ephemeral0\":{\"layout\":[50,50],\"overwrite\":true,\"table_type\":\"gpt\"}},\"fs_setup\":[{\"device\":\"ephemeral0.1\",\"filesystem\":\"ext4\",\"overwrite\":true},{\"device\":\"ephemeral0.2\",\"filesystem\":\"ext4\",\"overwrite\":true}],\"mounts\":[[\"ephemeral0.1\",\"/var/lib/mesos\"],[\"ephemeral0.2\",\"/var/lib/docker\"]],\"runcmd\":[[\"ln\",\"-s\",\"/bin/rm\",\"/usr/bin/rm\"],[\"ln\",\"-s\",\"/bin/mkdir\",\"/usr/bin/mkdir\"],[\"ln\",\"-s\",\"/bin/tar\",\"/usr/bin/tar\"],[\"ln\",\"-s\",\"/bin/ln\",\"/usr/bin/ln\"],[\"ln\",\"-s\",\"/bin/cp\",\"/usr/bin/cp\"],[\"ln\",\"-s\",\"/bin/systemctl\",\"/usr/bin/systemctl\"],[\"ln\",\"-s\",\"/bin/mount\",\"/usr/bin/mount\"],[\"ln\",\"-s\",\"/bin/bash\",\"/usr/bin/bash\"],[\"ln\",\"-s\",\"/usr/sbin/useradd\",\"/usr/bin/useradd\"],[\"systemctl\",\"disable\",\"--now\",\"resolvconf.service\"],[\"systemctl\",\"mask\",\"--now\",\"lxc-net.service\"],\"/opt/azure/containers/provision.sh\",[\"cp\",\"-p\",\"/etc/resolv.conf\",\"/tmp/resolv.conf\"],[\"rm\",\"-f\",\"/etc/resolv.conf\"],[\"cp\",\"-p\",\"/tmp/resolv.conf\",\"/etc/resolv.conf\"],[\"systemctl\",\"start\",\"dcos-docker-install.service\"],[\"systemctl\",\"start\",\"dcos-config-writer.service\"],[\"systemctl\",\"restart\",\"systemd-journald.service\"],[\"systemctl\",\"restart\",\"docker.service\"],[\"systemctl\",\"start\",\"dcos-link-env.service\"],[\"systemctl\",\"enable\",\"dcos-setup.service\"],[\"systemctl\",\"--no-block\",\"start\",\"dcos-setup.service\"]],\"write_files\":[{\"content\":\"https://dcosio.azureedge.net/dcos/stable\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/repository-url\",\"permissions\":\"0644\"},{\"content\":\"DCOS_ENVIRONMENT=',variables('targetEnvironment'),'\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/dcos-deploy-environment\",\"permissions\":\"0644\"},{\"content\":\"[\\\"dcos-config--setup_b1cd359287504efb780257bd12cc3a63704e42d4\\\", \\\"dcos-metadata--setup_b1cd359287504efb780257bd12cc3a63704e42d4\\\"]\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/cluster-packages.json\",\"permissions\":\"0644\"},{\"content\":\"[Journal]\\nMaxLevelConsole=warning\\nRateLimitInterval=1s\\nRateLimitBurst=20000\\n\",\"owner\":\"root\",\"path\":\"/etc/systemd/journald.conf.d/dcos.conf\",\"permissions\":\"0644\"},{\"content\":\"rexray:\\n loglevel: info\\n modules:\\n default-admin:\\n host: tcp://127.0.0.1:61003\\n default-docker:\\n disabled: true\\n\",\"path\":\"/etc/rexray/config.yml\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nAfter=network-online.target\\nWants=network-online.target\\n[Service]\\nType=oneshot\\nEnvironment=DEBIAN_FRONTEND=noninteractive\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStart=/usr/bin/bash -c \\\"try=1;until dpkg -D3 -i /var/lib/mesos/dl/d.deb || ((try\\u003e9));do echo retry $((try++));sleep $((try*try));done;systemctl --now start docker;systemctl restart docker.socket\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-docker-install.service\",\"permissions\":\"0644\"},{\"content\":\"[Service]\\nRestart=always\\nStartLimitInterval=0\\nRestartSec=15\\nExecStartPre=-/sbin/ip link del docker0\\nExecStart=\\nExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay\\n\",\"path\":\"/etc/systemd/system/docker.service.d/execstart.conf\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nPartOf=docker.service\\n[Socket]\\nListenStream=/var/run/docker.sock\\nSocketMode=0660\\nSocketUser=root\\nSocketGroup=docker\\nListenStream=2375\\nBindIPv6Only=both\\n[Install]\\nWantedBy=sockets.target\\n\",\"path\":\"/etc/systemd/system/docker.socket\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nRequires=dcos-setup.service\\nAfter=dcos-setup.service\\n[Service]\\nType=oneshot\\nEnvironmentFile=/etc/environment\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/usr/bin/bash -c \\\"echo $(detect_ip) $(hostname) \\u003e /etc/hosts\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-config-writer.service\",\"permissions\":\"0644\"},{\"content\":\"MESOS_CLUSTER=',variables('masterPublicIPAddressName'),'\\n\",\"path\":\"/etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/mesos-master-provider\"},{\"content\":\"ADMINROUTER_ACTIVATE_AUTH_MODULE=',variables('oauthEnabled'),'\\n\",\"path\":\"/etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/adminrouter.env\"},{\"content\":\"[\\\"', reference(variables('masterVMNic')[0]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[1]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[2]).ipConfigurations[0].properties.privateIPAddress,'\\\"]\\n\",\"path\":\"/etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/master_list\"},{\"content\":\"EXHIBITOR_BACKEND=AZURE\\nAZURE_CONTAINER=dcos-exhibitor\\nAZURE_PREFIX=',variables('masterPublicIPAddressName'),'\\n\",\"path\":\"/etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/exhibitor\"},{\"content\":\"com.netflix.exhibitor.azure.account-name=',variables('masterStorageAccountExhibitorName'),'\\ncom.netflix.exhibitor.azure.account-key=', listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('masterStorageAccountExhibitorName')), '2015-06-15').key1,'\\n\",\"path\":\"/etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/exhibitor.properties\"},{\"content\":\"{\\\"uiConfiguration\\\":{\\\"plugins\\\":{\\\"banner\\\":{\\\"enabled\\\":false,\\\"backgroundColor\\\":\\\"#1E232F\\\",\\\"foregroundColor\\\":\\\"#FFFFFF\\\",\\\"headerTitle\\\":null,\\\"headerContent\\\":null,\\\"footerContent\\\":null,\\\"imagePath\\\":null,\\\"dismissible\\\":null},\\\"branding\\\":{\\\"enabled\\\":false},\\\"external-links\\\": {\\\"enabled\\\": false},\\n\\n\\\"authentication\\\":{\\\"enabled\\\":false},\\n\\n\\\"oauth\\\":{\\\"enabled\\\":',variables('oauthEnabled'),',\\\"authHost\\\":\\\"https://dcos.auth0.com\\\"},\\n\\n\\n\\\"tracking\\\":{\\\"enabled\\\":false}}}}\\n\",\"path\":\"/etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/ui-config.json\"},{\"content\":\"{}\",\"path\":\"/etc/mesosphere/setup-packages/dcos-provider-azure--setup/pkginfo.json\"},{\"content\":\"[Unit]\\nBefore=dcos.target\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/mkdir -p /etc/profile.d\\nExecStart=/usr/bin/ln -sf /opt/mesosphere/environment.export /etc/profile.d/dcos.sh\\n\",\"path\":\"/etc/systemd/system/dcos-link-env.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Download DC/OS to this host.\\nAfter=network-online.target\\nWants=network-online.target\\nConditionPathExists=!/opt/mesosphere/\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/curl --keepalive-time 2 -fLsSv --retry 20 -Y 100000 -y 60 -o /var/lib/mesos/dl/bootstrap.tar.xz ',variables('dcosBootstrapURL'),'\\nExecStartPre=/usr/bin/mkdir -p /opt/mesosphere\\nExecStart=/usr/bin/tar -axf /var/lib/mesos/dl/bootstrap.tar.xz -C /opt/mesosphere\\nExecStartPost=-/usr/bin/rm -f /var/lib/mesos/dl/bootstrap.tar.xz\\n\",\"path\":\"/etc/systemd/system/dcos-download.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Specialize DC/OS for this host.\\nRequires=dcos-download.service\\nAfter=dcos-download.service\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/opt/mesosphere/bin/pkgpanda setup --no-block-systemd\\n[Install]\\nWantedBy=multi-user.target\\n\",\"path\":\"/etc/systemd/system/dcos-setup.service\",\"permissions\":\"0644\"},{\"content\":\"\",\"path\":\"/etc/mesosphere/roles/azure\"},{\"content\":\"#!/bin/bash\\n\\n\\nMESOSDIR=/var/lib/mesos/dl\\nmkdir $MESOSDIR\\n\\n\\n# load the env vars\\n. /etc/mesosphere/setup-flags/dcos-deploy-environment\\n\\n\\n# default dc/os component download address (Azure CDN)\\nDOCKER_ENGINE_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libltdl7_2.4.6-0.1_amd64.deb\\n\\n\\ncase $DCOS_ENVIRONMENT in\\n# because of Chinese GreatWall Firewall, the default packages on Azure CDN is blocked. So the following Chinese local mirror url should be used instead.\\nAzureChinaCloud)\\nDOCKER_ENGINE_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libltdl7_2.4.6-0.1_amd64.deb\\n;;\\nesac\\n\\n\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/d.deb $DOCKER_ENGINE_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/1.deb $LIBIPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/2.deb $IPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/3.deb $UNZIP_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/4.deb $LIBLTDL_DOWNLOAD_URL \\u0026\\nwait\\n\\n\\nfor i in {1..300}; do\\ndpkg -i $MESOSDIR/{1,2,3,4}.deb\\nif [ \\\"$?\\\" = \\\"0\\\" ]\\nthen\\necho \\\"succeeded\\\"\\nbreak\\nfi\\nsleep 1\\ndone\\n\\n\\ntouch /etc/mesosphere/roles/slave_public\\n\",\"owner\":\"root\",\"path\":\"/opt/azure/containers/provision.sh\",\"permissions\":\"0744\"},{\"content\":\"\",\"owner\":\"root\",\"path\":\"/var/lib/dcos/mesos-slave-common\",\"permissions\":\"0644\"}]}'))]", + "linuxConfiguration": { + "disablePasswordAuthentication": "true", + "ssh": { + "publicKeys": [ + { + "keyData": "[parameters('sshRSAPublicKey')]", + "path": "[variables('sshKeyPath')]" + } + ] + } + } + }, + "storageProfile": { + "imageReference": { + "offer": "[variables('osImageOffer')]", + "publisher": "[variables('osImagePublisher')]", + "sku": "[variables('osImageSKU')]", + "version": "[variables('osImageVersion')]" + }, + "osDisk": { + "caching": "ReadOnly", + "createOption": "FromImage", + "name": "vmssosdisk", + "vhdContainers": [ + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(0,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(0,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(1,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(1,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(2,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(2,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'osdisk')]" + ] + } + } + } + }, + "sku": { + "capacity": "[variables('agentpublicCount')]", + "name": "[variables('agentpublicVMSize')]", + "tier": "Standard" + }, + "tags": { + "creationSource": "[concat('acsengine-', variables('agentpublicVMNamePrefix'), '-vmss')]" + }, + "type": "Microsoft.Compute/virtualMachineScaleSets" + }, + { + "apiVersion": "[variables('apiVersionStorage')]", + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" + ], + "location": "[variables('location')]", + "name": "[variables('masterStorageAccountName')]", + "properties": { + "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" + }, + "type": "Microsoft.Storage/storageAccounts" + }, + { + "apiVersion": "[variables('apiVersionStorage')]", + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" + ], + "location": "[variables('location')]", + "name": "[variables('masterStorageAccountExhibitorName')]", + "properties": { + "accountType": "Standard_LRS" + }, + "type": "Microsoft.Storage/storageAccounts" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "dependsOn": [ + "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentprivateNSGName'))]", + "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentpublicNSGName'))]" + ], + "location": "[variables('location')]", + "name": "[variables('virtualNetworkName')]", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "[variables('masterSubnet')]", + "[variables('agentprivateSubnet')]", + "[variables('agentpublicSubnet')]" + ] + }, + "subnets": [ + { + "name": "[variables('masterSubnetName')]", + "properties": { + "addressPrefix": "[variables('masterSubnet')]" + } + }, + { + "name": "[variables('agentprivateSubnetName')]", + "properties": { + "addressPrefix": "[variables('agentprivateSubnet')]", + "networkSecurityGroup": { + "id": "[resourceId('Microsoft.Network/networkSecurityGroups', variables('agentprivateNSGName'))]" + } + } + }, + { + "name": "[variables('agentpublicSubnetName')]", + "properties": { + "addressPrefix": "[variables('agentpublicSubnet')]", + "networkSecurityGroup": { + "id": "[resourceId('Microsoft.Network/networkSecurityGroups', variables('agentpublicNSGName'))]" + } + } + } + ] + }, + "type": "Microsoft.Network/virtualNetworks" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "location": "[variables('location')]", + "name": "[variables('masterAvailabilitySet')]", + "properties": {}, + "type": "Microsoft.Compute/availabilitySets" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "location": "[variables('location')]", + "name": "[variables('masterPublicIPAddressName')]", + "properties": { + "dnsSettings": { + "domainNameLabel": "[variables('masterEndpointDNSNamePrefix')]" + }, + "publicIPAllocationMethod": "Dynamic" + }, + "type": "Microsoft.Network/publicIPAddresses" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" + ], + "location": "[variables('location')]", + "name": "[variables('masterLbName')]", + "properties": { + "backendAddressPools": [ + { + "name": "[variables('masterLbBackendPoolName')]" + } + ], + "frontendIPConfigurations": [ + { + "name": "[variables('masterLbIPConfigName')]", + "properties": { + "publicIPAddress": { + "id": "[resourceId('Microsoft.Network/publicIPAddresses',variables('masterPublicIPAddressName'))]" + } + } + } + ] + }, + "type": "Microsoft.Network/loadBalancers" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "copy": { + "count": "[variables('masterCount')]", + "name": "masterLbLoopNode" + }, + "dependsOn": [ + "[variables('masterLbID')]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", + "properties": { + "backendPort": 22, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "[variables('masterLbIPConfigID')]" + }, + "frontendPort": "[copyIndex(2200)]", + "protocol": "tcp" + }, + "type": "Microsoft.Network/loadBalancers/inboundNatRules" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "location": "[variables('location')]", + "name": "[variables('masterNSGName')]", + "properties": { + "securityRules": [ + { + "name": "ssh", + "properties": { + "access": "Allow", + "description": "Allow SSH", + "destinationAddressPrefix": "*", + "destinationPortRange": "22", + "direction": "Inbound", + "priority": 200, + "protocol": "Tcp", + "sourceAddressPrefix": "*", + "sourcePortRange": "*" + } + } + ] + }, + "type": "Microsoft.Network/networkSecurityGroups" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "copy": { + "count": "[variables('masterCount')]", + "name": "nicLoopNode" + }, + "dependsOn": [ + "[variables('masterNSGID')]", + "[variables('vnetID')]", + "[variables('masterLbID')]", + "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", + "properties": { + "ipConfigurations": [ + { + "name": "ipConfigNode", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" + } + ], + "privateIPAddress": "[concat(variables('masterFirstAddrPrefix'), copyIndex(int(variables('masterFirstAddrOctet4'))))]", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "[variables('masterVnetSubnetID')]" + } + } + } + ], + "networkSecurityGroup": { + "id": "[variables('masterNSGID')]" + } + }, + "type": "Microsoft.Network/networkInterfaces" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "copy": { + "count": "[variables('masterCount')]", + "name": "vmLoopNode" + }, + "dependsOn": [ + "[concat('Microsoft.Network/networkInterfaces/', variables('masterVMNamePrefix'), 'nic-', copyIndex())]", + "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", + "[variables('masterStorageAccountName')]", + "[variables('masterStorageAccountExhibitorName')]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", + "properties": { + "availabilitySet": { + "id": "[resourceId('Microsoft.Compute/availabilitySets',variables('masterAvailabilitySet'))]" + }, + "hardwareProfile": { + "vmSize": "[variables('masterVMSize')]" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "[resourceId('Microsoft.Network/networkInterfaces',concat(variables('masterVMNamePrefix'), 'nic-', copyIndex()))]" + } + ] + }, + "osProfile": { + "adminUsername": "[variables('adminUsername')]", + "computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]", + "customData": "[base64(concat('#cloud-config\n\n', '{\"bootcmd\":[\"bash -c \\\"if [ ! -f /var/lib/sdb-gpt ];then echo DCOS-5890;parted -s /dev/sdb mklabel gpt;touch /var/lib/sdb-gpt;fi\\\"\"],\"disk_setup\":{\"ephemeral0\":{\"layout\":[50,50],\"overwrite\":true,\"table_type\":\"gpt\"}},\"fs_setup\":[{\"device\":\"ephemeral0.1\",\"filesystem\":\"ext4\",\"overwrite\":true},{\"device\":\"ephemeral0.2\",\"filesystem\":\"ext4\",\"overwrite\":true}],\"mounts\":[[\"ephemeral0.1\",\"/var/lib/mesos\"],[\"ephemeral0.2\",\"/var/lib/docker\"]],\"runcmd\":[[\"ln\",\"-s\",\"/bin/rm\",\"/usr/bin/rm\"],[\"ln\",\"-s\",\"/bin/mkdir\",\"/usr/bin/mkdir\"],[\"ln\",\"-s\",\"/bin/tar\",\"/usr/bin/tar\"],[\"ln\",\"-s\",\"/bin/ln\",\"/usr/bin/ln\"],[\"ln\",\"-s\",\"/bin/cp\",\"/usr/bin/cp\"],[\"ln\",\"-s\",\"/bin/systemctl\",\"/usr/bin/systemctl\"],[\"ln\",\"-s\",\"/bin/mount\",\"/usr/bin/mount\"],[\"ln\",\"-s\",\"/bin/bash\",\"/usr/bin/bash\"],[\"ln\",\"-s\",\"/usr/sbin/useradd\",\"/usr/bin/useradd\"],[\"systemctl\",\"disable\",\"--now\",\"resolvconf.service\"],[\"systemctl\",\"mask\",\"--now\",\"lxc-net.service\"],\"/opt/azure/containers/provision.sh\",[\"cp\",\"-p\",\"/etc/resolv.conf\",\"/tmp/resolv.conf\"],[\"rm\",\"-f\",\"/etc/resolv.conf\"],[\"cp\",\"-p\",\"/tmp/resolv.conf\",\"/etc/resolv.conf\"],[\"systemctl\",\"start\",\"dcos-docker-install.service\"],[\"systemctl\",\"start\",\"dcos-config-writer.service\"],[\"systemctl\",\"restart\",\"systemd-journald.service\"],[\"systemctl\",\"restart\",\"docker.service\"],[\"systemctl\",\"start\",\"dcos-link-env.service\"],[\"systemctl\",\"enable\",\"dcos-setup.service\"],[\"systemctl\",\"--no-block\",\"start\",\"dcos-setup.service\"]],\"write_files\":[{\"content\":\"https://dcosio.azureedge.net/dcos/stable\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/repository-url\",\"permissions\":\"0644\"},{\"content\":\"DCOS_ENVIRONMENT=',variables('targetEnvironment'),'\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/dcos-deploy-environment\",\"permissions\":\"0644\"},{\"content\":\"[\\\"dcos-config--setup_b1cd359287504efb780257bd12cc3a63704e42d4\\\", \\\"dcos-metadata--setup_b1cd359287504efb780257bd12cc3a63704e42d4\\\"]\\n\",\"owner\":\"root\",\"path\":\"/etc/mesosphere/setup-flags/cluster-packages.json\",\"permissions\":\"0644\"},{\"content\":\"[Journal]\\nMaxLevelConsole=warning\\nRateLimitInterval=1s\\nRateLimitBurst=20000\\n\",\"owner\":\"root\",\"path\":\"/etc/systemd/journald.conf.d/dcos.conf\",\"permissions\":\"0644\"},{\"content\":\"rexray:\\n loglevel: info\\n modules:\\n default-admin:\\n host: tcp://127.0.0.1:61003\\n default-docker:\\n disabled: true\\n\",\"path\":\"/etc/rexray/config.yml\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nAfter=network-online.target\\nWants=network-online.target\\n[Service]\\nType=oneshot\\nEnvironment=DEBIAN_FRONTEND=noninteractive\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStart=/usr/bin/bash -c \\\"try=1;until dpkg -D3 -i /var/lib/mesos/dl/d.deb || ((try\\u003e9));do echo retry $((try++));sleep $((try*try));done;systemctl --now start docker;systemctl restart docker.socket\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-docker-install.service\",\"permissions\":\"0644\"},{\"content\":\"[Service]\\nRestart=always\\nStartLimitInterval=0\\nRestartSec=15\\nExecStartPre=-/sbin/ip link del docker0\\nExecStart=\\nExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay\\n\",\"path\":\"/etc/systemd/system/docker.service.d/execstart.conf\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nPartOf=docker.service\\n[Socket]\\nListenStream=/var/run/docker.sock\\nSocketMode=0660\\nSocketUser=root\\nSocketGroup=docker\\nListenStream=2375\\nBindIPv6Only=both\\n[Install]\\nWantedBy=sockets.target\\n\",\"path\":\"/etc/systemd/system/docker.socket\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nRequires=dcos-setup.service\\nAfter=dcos-setup.service\\n[Service]\\nType=oneshot\\nEnvironmentFile=/etc/environment\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/usr/bin/bash -c \\\"echo $(detect_ip) $(hostname) \\u003e /etc/hosts\\\"\\n\",\"path\":\"/etc/systemd/system/dcos-config-writer.service\",\"permissions\":\"0644\"},{\"content\":\"MESOS_CLUSTER=',variables('masterPublicIPAddressName'),'\\n\",\"path\":\"/etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/mesos-master-provider\"},{\"content\":\"ADMINROUTER_ACTIVATE_AUTH_MODULE=',variables('oauthEnabled'),'\\n\",\"path\":\"/etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/adminrouter.env\"},{\"content\":\"[\\\"', reference(variables('masterVMNic')[0]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[1]).ipConfigurations[0].properties.privateIPAddress,'\\\", \\\"', reference(variables('masterVMNic')[2]).ipConfigurations[0].properties.privateIPAddress,'\\\"]\\n\",\"path\":\"/etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/master_list\"},{\"content\":\"EXHIBITOR_BACKEND=AZURE\\nAZURE_CONTAINER=dcos-exhibitor\\nAZURE_PREFIX=',variables('masterPublicIPAddressName'),'\\n\",\"path\":\"/etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/exhibitor\"},{\"content\":\"com.netflix.exhibitor.azure.account-name=',variables('masterStorageAccountExhibitorName'),'\\ncom.netflix.exhibitor.azure.account-key=', listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('masterStorageAccountExhibitorName')), '2015-06-15').key1,'\\n\",\"path\":\"/etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/exhibitor.properties\"},{\"content\":\"{\\\"uiConfiguration\\\":{\\\"plugins\\\":{\\\"banner\\\":{\\\"enabled\\\":false,\\\"backgroundColor\\\":\\\"#1E232F\\\",\\\"foregroundColor\\\":\\\"#FFFFFF\\\",\\\"headerTitle\\\":null,\\\"headerContent\\\":null,\\\"footerContent\\\":null,\\\"imagePath\\\":null,\\\"dismissible\\\":null},\\\"branding\\\":{\\\"enabled\\\":false},\\\"external-links\\\": {\\\"enabled\\\": false},\\n\\n\\\"authentication\\\":{\\\"enabled\\\":false},\\n\\n\\\"oauth\\\":{\\\"enabled\\\":',variables('oauthEnabled'),',\\\"authHost\\\":\\\"https://dcos.auth0.com\\\"},\\n\\n\\n\\\"tracking\\\":{\\\"enabled\\\":false}}}}\\n\",\"path\":\"/etc/mesosphere/setup-packages/dcos-provider-azure--setup/etc/ui-config.json\"},{\"content\":\"{}\",\"path\":\"/etc/mesosphere/setup-packages/dcos-provider-azure--setup/pkginfo.json\"},{\"content\":\"[Unit]\\nBefore=dcos.target\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/mkdir -p /etc/profile.d\\nExecStart=/usr/bin/ln -sf /opt/mesosphere/environment.export /etc/profile.d/dcos.sh\\n\",\"path\":\"/etc/systemd/system/dcos-link-env.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Download DC/OS to this host.\\nAfter=network-online.target\\nWants=network-online.target\\nConditionPathExists=!/opt/mesosphere/\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nExecStartPre=/usr/bin/curl --keepalive-time 2 -fLsSv --retry 20 -Y 100000 -y 60 -o /var/lib/mesos/dl/bootstrap.tar.xz ',variables('dcosBootstrapURL'),'\\nExecStartPre=/usr/bin/mkdir -p /opt/mesosphere\\nExecStart=/usr/bin/tar -axf /var/lib/mesos/dl/bootstrap.tar.xz -C /opt/mesosphere\\nExecStartPost=-/usr/bin/rm -f /var/lib/mesos/dl/bootstrap.tar.xz\\n\",\"path\":\"/etc/systemd/system/dcos-download.service\",\"permissions\":\"0644\"},{\"content\":\"[Unit]\\nDescription=Pkgpanda: Specialize DC/OS for this host.\\nRequires=dcos-download.service\\nAfter=dcos-download.service\\n[Service]\\nType=oneshot\\nStandardOutput=journal+console\\nStandardError=journal+console\\nEnvironmentFile=/opt/mesosphere/environment\\nExecStart=/opt/mesosphere/bin/pkgpanda setup --no-block-systemd\\n[Install]\\nWantedBy=multi-user.target\\n\",\"path\":\"/etc/systemd/system/dcos-setup.service\",\"permissions\":\"0644\"},{\"content\":\"\",\"path\":\"/etc/mesosphere/roles/azure\"},{\"content\":\"#!/bin/bash\\n\\n\\nMESOSDIR=/var/lib/mesos/dl\\nmkdir $MESOSDIR\\n\\n\\n# load the env vars\\n. /etc/mesosphere/setup-flags/dcos-deploy-environment\\n\\n\\n# default dc/os component download address (Azure CDN)\\nDOCKER_ENGINE_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=https://az837203.vo.msecnd.net/dcos-deps/libltdl7_2.4.6-0.1_amd64.deb\\n\\n\\ncase $DCOS_ENVIRONMENT in\\n# because of Chinese GreatWall Firewall, the default packages on Azure CDN is blocked. So the following Chinese local mirror url should be used instead.\\nAzureChinaCloud)\\nDOCKER_ENGINE_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/docker-engine_1.11.2-0~xenial_amd64.deb\\nLIBIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libipset3_6.29-1_amd64.deb\\nIPSET_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/ipset_6.29-1_amd64.deb\\nUNZIP_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/unzip_6.0-20ubuntu1_amd64.deb\\nLIBLTDL_DOWNLOAD_URL=http://acsengine.blob.core.chinacloudapi.cn/dcos/libltdl7_2.4.6-0.1_amd64.deb\\n;;\\nesac\\n\\n\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/d.deb $DOCKER_ENGINE_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/1.deb $LIBIPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/2.deb $IPSET_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/3.deb $UNZIP_DOWNLOAD_URL \\u0026\\ncurl -fLsSv --retry 20 -Y 100000 -y 60 -o $MESOSDIR/4.deb $LIBLTDL_DOWNLOAD_URL \\u0026\\nwait\\n\\n\\nfor i in {1..300}; do\\ndpkg -i $MESOSDIR/{1,2,3,4}.deb\\nif [ \\\"$?\\\" = \\\"0\\\" ]\\nthen\\necho \\\"succeeded\\\"\\nbreak\\nfi\\nsleep 1\\ndone\\n\\n\\ntouch /etc/mesosphere/roles/master\\ntouch /etc/mesosphere/roles/azure_master\\n\",\"owner\":\"root\",\"path\":\"/opt/azure/containers/provision.sh\",\"permissions\":\"0744\"},{\"content\":\"\",\"owner\":\"root\",\"path\":\"/var/lib/dcos/mesos-slave-common\",\"permissions\":\"0644\"}]}'))]", + "linuxConfiguration": { + "disablePasswordAuthentication": "true", + "ssh": { + "publicKeys": [ + { + "keyData": "[variables('sshRSAPublicKey')]", + "path": "[variables('sshKeyPath')]" + } + ] + } + } + }, + "storageProfile": { + "imageReference": { + "offer": "[variables('osImageOffer')]", + "publisher": "[variables('osImagePublisher')]", + "sku": "[variables('osImageSKU')]", + "version": "[variables('osImageVersion')]" + }, + "osDisk": { + "caching": "ReadWrite", + "createOption": "FromImage", + "name": "[concat(variables('masterVMNamePrefix'), copyIndex(),'-osdisk')]", + "vhd": { + "uri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('masterStorageAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'vhds/',variables('masterVMNamePrefix'),copyIndex(),'-osdisk.vhd')]" + } + } + } + }, + "tags": { + "creationSource": "[concat('acsengine-', variables('masterVMNamePrefix'), copyIndex())]" + }, + "type": "Microsoft.Compute/virtualMachines" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "dependsOn": [ + "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), sub(variables('masterCount'), 1))]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('masterVMNamePrefix'), sub(variables('masterCount'), 1), '/waitforleader')]", + "properties": { + "autoUpgradeMinorVersion": true, + "publisher": "Microsoft.OSTCExtensions", + "settings": { + "commandToExecute": "sh -c 'until ping -c1 leader.mesos;do echo waiting for leader.mesos;sleep 15;done;echo leader.mesos up'" + }, + "type": "CustomScriptForLinux", + "typeHandlerVersion": "1.4" + }, + "type": "Microsoft.Compute/virtualMachines/extensions" + } + ], + "outputs": { + "agentpublicFQDN": { + "type": "string", + "value": "[reference(concat('Microsoft.Network/publicIPAddresses/', variables('agentpublicIPAddressName'))).dnsSettings.fqdn]" + }, + "masterFQDN": { + "type": "string", + "value": "[reference(concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))).dnsSettings.fqdn]" + } + } +} \ No newline at end of file diff --git a/pkg/acsengine/testdata/location/dcos_expected_params.json b/pkg/acsengine/testdata/location/dcos_expected_params.json new file mode 100644 index 000000000..a5b5846d8 --- /dev/null +++ b/pkg/acsengine/testdata/location/dcos_expected_params.json @@ -0,0 +1,50 @@ +{ + "agentprivateCount": { + "value": 3 + }, + "agentprivateSubnet": { + "value": "10.0.0.0/16" + }, + "agentprivateVMSize": { + "value": "Standard_D2_v2" + }, + "agentpublicCount": { + "value": 3 + }, + "agentpublicEndpointDNSNamePrefix": { + "value": "agentpublic1" + }, + "agentpublicSubnet": { + "value": "10.1.0.0/16" + }, + "agentpublicVMSize": { + "value": "Standard_D2_v2" + }, + "dcosBootstrapURL": { + "value": "https://dcosio.azureedge.net/dcos/stable/bootstrap/5df43052907c021eeb5de145419a3da1898c58a5.bootstrap.tar.xz" + }, + "firstConsecutiveStaticIP": { + "value": "172.16.0.5" + }, + "linuxAdminUsername": { + "value": "azureuser" + }, + "location": { + "value": "eastus" + }, + "masterEndpointDNSNamePrefix": { + "value": "masterdns1" + }, + "masterSubnet": { + "value": "172.16.0.0/24" + }, + "masterVMSize": { + "value": "Standard_D2_v2" + }, + "sshRSAPublicKey": { + "value": "ssh-rsa PUBLICKEY azureuser@linuxvm" + }, + "targetEnvironment": { + "value": "AzurePublicCloud" + } +} \ No newline at end of file diff --git a/pkg/acsengine/testdata/location/kubernetes.json b/pkg/acsengine/testdata/location/kubernetes.json new file mode 100644 index 000000000..7cd8ac4e2 --- /dev/null +++ b/pkg/acsengine/testdata/location/kubernetes.json @@ -0,0 +1,51 @@ +{ + "apiVersion": "vlabs", + "location": "westus", + "properties": { + "orchestratorProfile": { + "orchestratorType": "Kubernetes" + }, + "masterProfile": { + "count": 1, + "dnsPrefix": "masterdns1", + "vmSize": "Standard_D2_v2" + }, + "agentPoolProfiles": [ + { + "name": "agentpool1", + "count": 3, + "vmSize": "Standard_D2_v2", + "availabilityProfile": "AvailabilitySet" + }, + { + "name": "agentpool2", + "count": 3, + "vmSize": "Standard_D2_v2", + "availabilityProfile": "AvailabilitySet" + } + ], + "linuxProfile": { + "adminUsername": "azureuser", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa PUBLICKEY azureuser@linuxvm" + } + ] + } + }, + "servicePrincipalProfile": { + "servicePrincipalClientID": "ServicePrincipalClientID", + "servicePrincipalClientSecret": "myServicePrincipalClientSecret" + }, + "certificateProfile": { + "caCertificate": "caCertificate", + "apiServerCertificate": "apiServerCertificate", + "apiServerPrivateKey": "apiServerPrivateKey", + "clientCertificate": "clientCertificate", + "clientPrivateKey": "clientPrivateKey", + "kubeConfigCertificate": "kubeConfigCertificate", + "kubeConfigPrivateKey": "kubeConfigPrivateKey" + } + } +} \ No newline at end of file diff --git a/pkg/acsengine/testdata/location/kubernetes_expected.json b/pkg/acsengine/testdata/location/kubernetes_expected.json new file mode 100644 index 000000000..5e09bd9b4 --- /dev/null +++ b/pkg/acsengine/testdata/location/kubernetes_expected.json @@ -0,0 +1,2036 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "agentpool1Count": { + "allowedValues": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100 + ], + "defaultValue": 3, + "metadata": { + "description": "The number of agents for the cluster. This value can be from 1 to 100" + }, + "type": "int" + }, + "agentpool1Offset": { + "allowedValues": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99 + ], + "defaultValue": 0, + "metadata": { + "description": "The offset into the agent pool where to start creating agents. This value can be from 0 to 99, but must be less than agentCount" + }, + "type": "int" + }, + "agentpool1Subnet": { + "defaultValue": "10.240.0.0/16", + "metadata": { + "description": "Sets the subnet of agent pool 'agentpool1'." + }, + "type": "string" + }, + "agentpool1VMSize": { + "allowedValues": [ + "Basic_A2", + "Basic_A3", + "Basic_A4", + "Standard_A10", + "Standard_A11", + "Standard_A2", + "Standard_A2_v2", + "Standard_A2m_v2", + "Standard_A3", + "Standard_A4", + "Standard_A4_v2", + "Standard_A4m_v2", + "Standard_A5", + "Standard_A6", + "Standard_A7", + "Standard_A8", + "Standard_A8_v2", + "Standard_A8m_v2", + "Standard_A9", + "Standard_D11", + "Standard_D11_v2", + "Standard_D12", + "Standard_D12_v2", + "Standard_D13", + "Standard_D13_v2", + "Standard_D14", + "Standard_D14_v2", + "Standard_D15_v2", + "Standard_D2", + "Standard_D2_v2", + "Standard_D3", + "Standard_D3_v2", + "Standard_D4", + "Standard_D4_v2", + "Standard_D5_v2", + "Standard_DS11", + "Standard_DS11_v2", + "Standard_DS12", + "Standard_DS12_v2", + "Standard_DS13", + "Standard_DS13_v2", + "Standard_DS14", + "Standard_DS14_v2", + "Standard_DS15_v2", + "Standard_DS2", + "Standard_DS2_v2", + "Standard_DS3", + "Standard_DS3_v2", + "Standard_DS4", + "Standard_DS4_v2", + "Standard_DS5_v2", + "Standard_F16", + "Standard_F16s", + "Standard_F2", + "Standard_F2s", + "Standard_F4", + "Standard_F4s", + "Standard_F8", + "Standard_F8s", + "Standard_G1", + "Standard_G2", + "Standard_G3", + "Standard_G4", + "Standard_G5", + "Standard_GS1", + "Standard_GS2", + "Standard_GS3", + "Standard_GS4", + "Standard_GS5", + "Standard_H16", + "Standard_H16m", + "Standard_H16mr", + "Standard_H16r", + "Standard_H8", + "Standard_H8m", + "Standard_NC12", + "Standard_NC24", + "Standard_NC24r", + "Standard_NC6", + "Standard_NV12", + "Standard_NV24", + "Standard_NV6" + ], + "defaultValue": "Standard_D2_v2", + "metadata": { + "description": "The size of the Virtual Machine." + }, + "type": "string" + }, + "agentpool2Count": { + "allowedValues": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100 + ], + "defaultValue": 3, + "metadata": { + "description": "The number of agents for the cluster. This value can be from 1 to 100" + }, + "type": "int" + }, + "agentpool2Offset": { + "allowedValues": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99 + ], + "defaultValue": 0, + "metadata": { + "description": "The offset into the agent pool where to start creating agents. This value can be from 0 to 99, but must be less than agentCount" + }, + "type": "int" + }, + "agentpool2Subnet": { + "defaultValue": "10.240.0.0/16", + "metadata": { + "description": "Sets the subnet of agent pool 'agentpool2'." + }, + "type": "string" + }, + "agentpool2VMSize": { + "allowedValues": [ + "Basic_A2", + "Basic_A3", + "Basic_A4", + "Standard_A10", + "Standard_A11", + "Standard_A2", + "Standard_A2_v2", + "Standard_A2m_v2", + "Standard_A3", + "Standard_A4", + "Standard_A4_v2", + "Standard_A4m_v2", + "Standard_A5", + "Standard_A6", + "Standard_A7", + "Standard_A8", + "Standard_A8_v2", + "Standard_A8m_v2", + "Standard_A9", + "Standard_D11", + "Standard_D11_v2", + "Standard_D12", + "Standard_D12_v2", + "Standard_D13", + "Standard_D13_v2", + "Standard_D14", + "Standard_D14_v2", + "Standard_D15_v2", + "Standard_D2", + "Standard_D2_v2", + "Standard_D3", + "Standard_D3_v2", + "Standard_D4", + "Standard_D4_v2", + "Standard_D5_v2", + "Standard_DS11", + "Standard_DS11_v2", + "Standard_DS12", + "Standard_DS12_v2", + "Standard_DS13", + "Standard_DS13_v2", + "Standard_DS14", + "Standard_DS14_v2", + "Standard_DS15_v2", + "Standard_DS2", + "Standard_DS2_v2", + "Standard_DS3", + "Standard_DS3_v2", + "Standard_DS4", + "Standard_DS4_v2", + "Standard_DS5_v2", + "Standard_F16", + "Standard_F16s", + "Standard_F2", + "Standard_F2s", + "Standard_F4", + "Standard_F4s", + "Standard_F8", + "Standard_F8s", + "Standard_G1", + "Standard_G2", + "Standard_G3", + "Standard_G4", + "Standard_G5", + "Standard_GS1", + "Standard_GS2", + "Standard_GS3", + "Standard_GS4", + "Standard_GS5", + "Standard_H16", + "Standard_H16m", + "Standard_H16mr", + "Standard_H16r", + "Standard_H8", + "Standard_H8m", + "Standard_NC12", + "Standard_NC24", + "Standard_NC24r", + "Standard_NC6", + "Standard_NV12", + "Standard_NV24", + "Standard_NV6" + ], + "defaultValue": "Standard_D2_v2", + "metadata": { + "description": "The size of the Virtual Machine." + }, + "type": "string" + }, + "apiServerCertificate": { + "metadata": { + "description": "The base 64 server certificate used on the master" + }, + "type": "string" + }, + "apiServerPrivateKey": { + "metadata": { + "description": "The base 64 server private key used on the master." + }, + "type": "securestring" + }, + "caCertificate": { + "metadata": { + "description": "The base 64 certificate authority certificate" + }, + "type": "string" + }, + "clientCertificate": { + "metadata": { + "description": "The base 64 client certificate used to communicate with the master" + }, + "type": "string" + }, + "clientPrivateKey": { + "metadata": { + "description": "The base 64 client private key used to communicate with the master" + }, + "type": "securestring" + }, + "dockerEngineDownloadRepo": { + "defaultValue": "https://apt.dockerproject.org/repo", + "metadata": { + "description": "The docker engine download url for kubernetes." + }, + "type": "string" + }, + "firstConsecutiveStaticIP": { + "defaultValue": "10.240.255.5", + "metadata": { + "description": "Sets the static IP of the first master" + }, + "type": "string" + }, + "kubeConfigCertificate": { + "metadata": { + "description": "The base 64 certificate used by cli to communicate with the master" + }, + "type": "string" + }, + "kubeConfigPrivateKey": { + "metadata": { + "description": "The base 64 private key used by cli to communicate with the master" + }, + "type": "securestring" + }, + "kubernetesAddonManagerSpec": { + "defaultValue": "", + "metadata": { + "description": "The container spec for hyperkube." + }, + "type": "string" + }, + "kubernetesAddonResizerSpec": { + "defaultValue": "", + "metadata": { + "description": "The container spec for addon-resizer." + }, + "type": "string" + }, + "kubernetesDNSMasqSpec": { + "defaultValue": "", + "metadata": { + "description": "The container spec for kube-dnsmasq-amd64." + }, + "type": "string" + }, + "kubernetesDashboardSpec": { + "defaultValue": "", + "metadata": { + "description": "The container spec for kubernetes-dashboard-amd64." + }, + "type": "string" + }, + "kubernetesExecHealthzSpec": { + "defaultValue": "", + "metadata": { + "description": "The container spec for exechealthz-amd64." + }, + "type": "string" + }, + "kubernetesHeapsterSpec": { + "defaultValue": "", + "metadata": { + "description": "The container spec for heapster." + }, + "type": "string" + }, + "kubernetesHyperkubeSpec": { + "defaultValue": "", + "metadata": { + "description": "The container spec for hyperkube." + }, + "type": "string" + }, + "kubernetesKubeDNSSpec": { + "defaultValue": "", + "metadata": { + "description": "The container spec for kubedns-amd64." + }, + "type": "string" + }, + "kubernetesPodInfraContainerSpec": { + "defaultValue": "", + "metadata": { + "description": "The container spec for pod infra." + }, + "type": "string" + }, + "linuxAdminUsername": { + "metadata": { + "description": "User name for the Linux Virtual Machines (SSH or Password)." + }, + "type": "string" + }, + "location": { + "defaultValue": "westus", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, + "masterEndpointDNSNamePrefix": { + "metadata": { + "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." + }, + "type": "string" + }, + "masterSubnet": { + "defaultValue": "10.240.0.0/16", + "metadata": { + "description": "Sets the subnet of the master node(s)." + }, + "type": "string" + }, + "masterVMSize": { + "allowedValues": [ + "Basic_A2", + "Basic_A3", + "Basic_A4", + "Standard_A10", + "Standard_A11", + "Standard_A2", + "Standard_A2_v2", + "Standard_A2m_v2", + "Standard_A3", + "Standard_A4", + "Standard_A4_v2", + "Standard_A4m_v2", + "Standard_A5", + "Standard_A6", + "Standard_A7", + "Standard_A8", + "Standard_A8_v2", + "Standard_A8m_v2", + "Standard_A9", + "Standard_D11", + "Standard_D11_v2", + "Standard_D12", + "Standard_D12_v2", + "Standard_D13", + "Standard_D13_v2", + "Standard_D14", + "Standard_D14_v2", + "Standard_D15_v2", + "Standard_D2", + "Standard_D2_v2", + "Standard_D3", + "Standard_D3_v2", + "Standard_D4", + "Standard_D4_v2", + "Standard_D5_v2", + "Standard_DS11", + "Standard_DS11_v2", + "Standard_DS12", + "Standard_DS12_v2", + "Standard_DS13", + "Standard_DS13_v2", + "Standard_DS14", + "Standard_DS14_v2", + "Standard_DS15_v2", + "Standard_DS2", + "Standard_DS2_v2", + "Standard_DS3", + "Standard_DS3_v2", + "Standard_DS4", + "Standard_DS4_v2", + "Standard_DS5_v2", + "Standard_F16", + "Standard_F16s", + "Standard_F2", + "Standard_F2s", + "Standard_F4", + "Standard_F4s", + "Standard_F8", + "Standard_F8s", + "Standard_G1", + "Standard_G2", + "Standard_G3", + "Standard_G4", + "Standard_G5", + "Standard_GS1", + "Standard_GS2", + "Standard_GS3", + "Standard_GS4", + "Standard_GS5", + "Standard_H16", + "Standard_H16m", + "Standard_H16mr", + "Standard_H16r", + "Standard_H8", + "Standard_H8m", + "Standard_NC12", + "Standard_NC24", + "Standard_NC24r", + "Standard_NC6", + "Standard_NV12", + "Standard_NV24", + "Standard_NV6" + ], + "metadata": { + "description": "The size of the Virtual Machine." + }, + "type": "string" + }, + "nameSuffix": { + "defaultValue": "31559618", + "metadata": { + "description": "A string hash of the master DNS name to uniquely identify the cluster." + }, + "type": "string" + }, + "networkPolicy": { + "allowedValues": [ + "none", + "calico" + ], + "defaultValue": "none", + "metadata": { + "description": "The network policy enforcement to use (none|calico)" + }, + "type": "string" + }, + "servicePrincipalClientId": { + "metadata": { + "description": "Client ID (used by cloudprovider)" + }, + "type": "securestring" + }, + "servicePrincipalClientSecret": { + "metadata": { + "description": "The Service Principal Client Secret." + }, + "type": "securestring" + }, + "sshRSAPublicKey": { + "metadata": { + "description": "SSH public key used for auth to all Linux machines. Not Required. If not set, you must provide a password key." + }, + "type": "string" + }, + "targetEnvironment": { + "defaultValue": "AzureCloud", + "metadata": { + "description": "The azure deploy environment. Currently support: AzureCloud, AzureChinaCloud" + }, + "type": "string" + } + }, + "variables": { + "agentpool1AccountName": "[concat(variables('storageAccountBaseName'), 'agnt0')]", + "agentpool1AvailabilitySet": "[concat('agentpool1-availabilitySet-', variables('nameSuffix'))]", + "agentpool1Count": "[parameters('agentpool1Count')]", + "agentpool1Index": 0, + "agentpool1Offset": "[parameters('agentpool1Offset')]", + "agentpool1StorageAccountOffset": "[mul(variables('maxStorageAccountsPerAgent'),variables('agentpool1Index'))]", + "agentpool1StorageAccountsCount": "[add(div(variables('agentpool1Count'), variables('maxVMsPerStorageAccount')), mod(add(mod(variables('agentpool1Count'), variables('maxVMsPerStorageAccount')),2), add(mod(variables('agentpool1Count'), variables('maxVMsPerStorageAccount')),1)))]", + "agentpool1SubnetName": "[variables('subnetName')]", + "agentpool1VMNamePrefix": "[concat(variables('orchestratorName'), '-agentpool1-', variables('nameSuffix'), '-')]", + "agentpool1VMSize": "[parameters('agentpool1VMSize')]", + "agentpool1VnetSubnetID": "[variables('vnetSubnetID')]", + "agentpool2AccountName": "[concat(variables('storageAccountBaseName'), 'agnt1')]", + "agentpool2AvailabilitySet": "[concat('agentpool2-availabilitySet-', variables('nameSuffix'))]", + "agentpool2Count": "[parameters('agentpool2Count')]", + "agentpool2Index": 1, + "agentpool2Offset": "[parameters('agentpool2Offset')]", + "agentpool2StorageAccountOffset": "[mul(variables('maxStorageAccountsPerAgent'),variables('agentpool2Index'))]", + "agentpool2StorageAccountsCount": "[add(div(variables('agentpool2Count'), variables('maxVMsPerStorageAccount')), mod(add(mod(variables('agentpool2Count'), variables('maxVMsPerStorageAccount')),2), add(mod(variables('agentpool2Count'), variables('maxVMsPerStorageAccount')),1)))]", + "agentpool2SubnetName": "[variables('subnetName')]", + "agentpool2VMNamePrefix": "[concat(variables('orchestratorName'), '-agentpool2-', variables('nameSuffix'), '-')]", + "agentpool2VMSize": "[parameters('agentpool2VMSize')]", + "agentpool2VnetSubnetID": "[variables('vnetSubnetID')]", + "apiServerCertificate": "[parameters('apiServerCertificate')]", + "apiServerPrivateKey": "[parameters('apiServerPrivateKey')]", + "apiVersionDefault": "2016-03-30", + "apiVersionStorage": "2015-06-15", + "caCertificate": "[parameters('caCertificate')]", + "clientCertificate": "[parameters('clientCertificate')]", + "clientPrivateKey": "[parameters('clientPrivateKey')]", + "dockerEngineDownloadRepo": "[parameters('dockerEngineDownloadRepo')]", + "dockerEngineVersion": "1.12.*", + "kubeConfigCertificate": "[parameters('kubeConfigCertificate')]", + "kubeConfigPrivateKey": "[parameters('kubeConfigPrivateKey')]", + "kubeDnsServiceIp": "10.0.0.10", + "kubeServiceCidr": "10.0.0.0/16", + "kubernetesAddonManagerSpec": "[parameters('kubernetesAddonManagerSpec')]", + "kubernetesAddonResizerSpec": "[parameters('kubernetesAddonResizerSpec')]", + "kubernetesDNSMasqSpec": "[parameters('kubernetesDNSMasqSpec')]", + "kubernetesDashboardSpec": "[parameters('kubernetesDashboardSpec')]", + "kubernetesExecHealthzSpec": "[parameters('kubernetesExecHealthzSpec')]", + "kubernetesHeapsterSpec": "[parameters('kubernetesHeapsterSpec')]", + "kubernetesHyperkubeSpec": "[parameters('kubernetesHyperkubeSpec')]", + "kubernetesKubeDNSSpec": "[parameters('kubernetesKubeDNSSpec')]", + "kubernetesPodInfraContainerSpec": "[parameters('kubernetesPodInfraContainerSpec')]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], + "masterAvailabilitySet": "[concat('master-availabilityset-', variables('nameSuffix'))]", + "masterCount": 1, + "masterEtcdClientPort": 2379, + "masterEtcdClientURLs": [ + "[concat('http://', variables('masterPrivateIpAddrs')[0], ':', variables('masterEtcdClientPort'))]", + "[concat('http://', variables('masterPrivateIpAddrs')[1], ':', variables('masterEtcdClientPort'))]", + "[concat('http://', variables('masterPrivateIpAddrs')[2], ':', variables('masterEtcdClientPort'))]", + "[concat('http://', variables('masterPrivateIpAddrs')[3], ':', variables('masterEtcdClientPort'))]", + "[concat('http://', variables('masterPrivateIpAddrs')[4], ':', variables('masterEtcdClientPort'))]" + ], + "masterEtcdClusterStates": [ + "[concat(variables('masterVMNames')[0], '=', variables('masterEtcdPeerURLs')[0])]", + "[concat(variables('masterVMNames')[0], '=', variables('masterEtcdPeerURLs')[0], ',', variables('masterVMNames')[1], '=', variables('masterEtcdPeerURLs')[1], ',', variables('masterVMNames')[2], '=', variables('masterEtcdPeerURLs')[2])]", + "[concat(variables('masterVMNames')[0], '=', variables('masterEtcdPeerURLs')[0], ',', variables('masterVMNames')[1], '=', variables('masterEtcdPeerURLs')[1], ',', variables('masterVMNames')[2], '=', variables('masterEtcdPeerURLs')[2], ',', variables('masterVMNames')[3], '=', variables('masterEtcdPeerURLs')[3], ',', variables('masterVMNames')[4], '=', variables('masterEtcdPeerURLs')[4])]" + ], + "masterEtcdPeerURLs": [ + "[concat('http://', variables('masterPrivateIpAddrs')[0], ':', variables('masterEtcdServerPort'))]", + "[concat('http://', variables('masterPrivateIpAddrs')[1], ':', variables('masterEtcdServerPort'))]", + "[concat('http://', variables('masterPrivateIpAddrs')[2], ':', variables('masterEtcdServerPort'))]", + "[concat('http://', variables('masterPrivateIpAddrs')[3], ':', variables('masterEtcdServerPort'))]", + "[concat('http://', variables('masterPrivateIpAddrs')[4], ':', variables('masterEtcdServerPort'))]" + ], + "masterEtcdServerPort": 2380, + "masterFirstAddrComment": "these MasterFirstAddrComment are used to place multiple masters consecutively in the address space", + "masterFirstAddrOctet4": "[variables('masterFirstAddrOctets')[3]]", + "masterFirstAddrOctets": "[split(parameters('firstConsecutiveStaticIP'),'.')]", + "masterFirstAddrPrefix": "[concat(variables('masterFirstAddrOctets')[0],'.',variables('masterFirstAddrOctets')[1],'.',variables('masterFirstAddrOctets')[2],'.')]", + "masterFqdnPrefix": "[toLower(parameters('masterEndpointDNSNamePrefix'))]", + "masterInternalLbID": "[resourceId('Microsoft.Network/loadBalancers',variables('masterInternalLbName'))]", + "masterInternalLbIPConfigID": "[concat(variables('masterInternalLbID'),'/frontendIPConfigurations/', variables('masterInternalLbIPConfigName'))]", + "masterInternalLbIPConfigName": "[concat(variables('orchestratorName'), '-master-internal-lbFrontEnd-', variables('nameSuffix'))]", + "masterInternalLbIPOffset": 10, + "masterInternalLbIp": "[concat(variables('masterFirstAddrPrefix'), add(variables('masterInternalLbIPOffset'), int(variables('masterFirstAddrOctet4'))))]", + "masterInternalLbName": "[concat(variables('orchestratorName'), '-master-internal-lb-', variables('nameSuffix'))]", + "masterLbBackendPoolName": "[concat(variables('orchestratorName'), '-master-pool-', variables('nameSuffix'))]", + "masterLbID": "[resourceId('Microsoft.Network/loadBalancers',variables('masterLbName'))]", + "masterLbIPConfigID": "[concat(variables('masterLbID'),'/frontendIPConfigurations/', variables('masterLbIPConfigName'))]", + "masterLbIPConfigName": "[concat(variables('orchestratorName'), '-master-lbFrontEnd-', variables('nameSuffix'))]", + "masterLbName": "[concat(variables('orchestratorName'), '-master-lb-', variables('nameSuffix'))]", + "masterPrivateIp": "[parameters('firstConsecutiveStaticIP')]", + "masterPrivateIpAddrs": [ + "[concat(variables('masterFirstAddrPrefix'), add(0, int(variables('masterFirstAddrOctet4'))))]", + "[concat(variables('masterFirstAddrPrefix'), add(1, int(variables('masterFirstAddrOctet4'))))]", + "[concat(variables('masterFirstAddrPrefix'), add(2, int(variables('masterFirstAddrOctet4'))))]", + "[concat(variables('masterFirstAddrPrefix'), add(3, int(variables('masterFirstAddrOctet4'))))]", + "[concat(variables('masterFirstAddrPrefix'), add(4, int(variables('masterFirstAddrOctet4'))))]" + ], + "masterPublicIPAddressName": "[concat(variables('orchestratorName'), '-master-ip-', variables('masterFqdnPrefix'), '-', variables('nameSuffix'))]", + "masterStorageAccountName": "[concat(variables('storageAccountBaseName'), 'mstr0')]", + "masterVMNamePrefix": "[concat(variables('orchestratorName'), '-master-', variables('nameSuffix'), '-')]", + "masterVMNames": [ + "[concat(variables('masterVMNamePrefix'), '0')]", + "[concat(variables('masterVMNamePrefix'), '1')]", + "[concat(variables('masterVMNamePrefix'), '2')]", + "[concat(variables('masterVMNamePrefix'), '3')]", + "[concat(variables('masterVMNamePrefix'), '4')]" + ], + "masterVMSize": "[parameters('masterVMSize')]", + "maxStorageAccountsPerAgent": "[div(variables('maxVMsPerPool'),variables('maxVMsPerStorageAccount'))]", + "maxVMsPerPool": 100, + "maxVMsPerStorageAccount": 20, + "nameSuffix": "[parameters('nameSuffix')]", + "networkPolicy": "[parameters('networkPolicy')]", + "nsgID": "[resourceId('Microsoft.Network/networkSecurityGroups',variables('nsgName'))]", + "nsgName": "[concat(variables('masterVMNamePrefix'), 'nsg')]", + "orchestratorName": "k8s", + "osImageOffer": "UbuntuServer", + "osImagePublisher": "Canonical", + "osImageSKU": "16.04.0-LTS", + "osImageVersion": "16.04.201606270", + "primaryAvailablitySetName": "[concat('agentpool1-availabilitySet-',variables('nameSuffix'))]", + "provisionScript": "H4sIAAAAAAAA/9RZUXfauPJ/96eYGh7+/71rDG3apuxm97jgdH1DIQsk9/Ruu6ywBWhjSxxJTsJm+e73SLKNDSbNbfty/dAaaWZ+M6PRzHjSeObOCXXnSKwsq/Hlj9WAydQbT2Hi98b+FPre1AMH/N4vI+gHE+/twO9/lXyrAecEx5GABePwB/or5bj1p2D0D2vqD73hdBb0z+zmQ2drW5Ort0N/OumNg8tpMBpmO8+3tjX2J6Orcc+fvRuPri7V6outbQ1GPU8Rqt8nBb/69XJrW0N/+q/R+GI28XtX42D6Ycf7amtb18F4euUNZhmVWn6tgEZXU382VXarpdOtbV2Og/fe+MPMu/aCgfc2GChZE4PzRqH64+ug588ux8GwF1x6g1lvEPg7w9qP0Ri3azrlgYurt/7Anyq6a2/qzy78D3pP+WDqjd/505k/vA7Go+F7f2jYXpRMvRwNgp7hUP6wGvAeCYk5MBpvQOCQYyks7zJQ+vjjAxjltp436/njaXAe9LypdkJH+eu9N5n649n5r33t7s7rTNveaHgevDtgOa1u5wDKX17/fTC8mvhjfbhto2ewgFq1gAjAyVpuvge5whTuMCCOgTIJjKolSLSFFlnAb7/BM3D+Arv5UCtra8OnTz9oORYAAA5XDOyjsJRRJ4NGQqQJocsMDCiLsG1pIbXss0tv+suZ7WIZujfpHHOKJRZuiLkULloTgfkt5q0bvLG1EMnScHVUby1tayjDVcIiaL86OXkiObujwBmTXfXPk3iMW4778G+YI4FfnYDjRDhkEYafPisXxwI/xef7/r5j/Kbw94JYdRfkUWeHMcFUGk8XXj4mZGtbVf8+Snjg2Ueoc5/WkBz36CPyLO/fV2N/9s/JaHjE/F2iLRm+x3Vgb93+YQAdEiEJP/4I/ug8C4UDigd9+HYYszSyu3bz4TCZbe3vDZHEFFEZRHZXySqKRLEv0rkIOVlLwmhOdVg5CnKEop4OgoL2eL4+ZJronPkZRpPEC2aOBUt5iN9xlq4Na7V+FZQxC5EywxDl5axsKcVyiBJctnK3jcOUE7nRODuq+rpXcN1WRO6VwZ0NLJV4iuYx3tGWamNBt+YkQXzj3SISozmJidxMyvKPFc+tbW0tf3T+tc2LP+zD6LzcvXxdtyKwBOdeVaQ7RKTuWdSlCmUMkgHHa8YliDQMsRCLNIYwTnVFWGEUy5W1SGmoDhQwFSnHF4b1//4fzAXIRC1YSqOzjl5SCAQIhYdOq/Wq3d7+ABHTO+pRVQ0cDG4quKuiJdZtX67Sp4KwKGr5U4FqV7bmHKObYmVBilcRY7wGo1fEqMnYWoVmWRw4FEM7A68Aa9pnhcJK1YiFKoM/oqnJjblJlHHIeCIS6UJPqJAojktuj7O6WYi4JzLTu2TSglhba3ckAsshlqqiXMbpklAojkXgCBwCtnB/z3Nu0VENrt4Fw7PWd+6RHdW5ujbo9BvhBUpjqY8nxnIfva/NGq2lqIFu/N4f9S788Wx0OZ2ctb5rlH8qkMYTQEJGF2SZW8liEm4KpC9okNTTUH2WaXtEsej1+6Ph5MwOUUxC5hjYBK1bG5TEkK1GCCeMCiz1qr3HbMrWQdWKIkZ3OD1vEPRGs6vx4MxeSbkWXdfl6K61JHKVzlOBecioVAU+ZIm75uxPHEoD72b/oRM8X8xR9PIlmnfmrxed9iJavJi/ePPy9OXJ687itN15jk/fnLq3z1ttd4mlJHTpCIm4xFFZtSwKdb52V0zo7VPhzFF4g2nkaNWdBFG0xNyuXInfymnZ9OhbG84g81+N143nI3ZHY4aizKOg/CgqNCp7aGCVQZoPxrXVFJI/YcpjcExntzuBrdt80AK2NjhiMgDH4VjyDXSe569OhGO0gU5bse5OpMRZwSoSh76Yed+3MypBNxhUcixbpZt6jhN2i6MvNZAn4CyOm3dcySxdVHTVYY+WmErxDY7yIPWElOwTlLKDDY5zy+I0weaChJS43fyty1lpm61ltp29dTmzj7v/QBEV4BTLx5SxP5NXTanzZRjtstpGSJyodC4kWwOWoTlVdUR8Ae4t4m5M5sqkKE9oe4wc6ztoeA/hjII1gJiqpiUrIUdkljbN68Rc97qS/KamJD87KG+ELljNuZvSJiSSqYDmz9UY1PyPKld7hEZmhpvlqf3gLtv09bW/Iu948a8oltdurWApIHeFujaKLkxRO36uedWrP9i6mojvJUehLFqxRwSHMnYy8kcAylSHFnj5132l6TM15JEw+4ad3xGOrFN1VKhW6DWS3fxZp7G2XRJdKx4qLZsxrD4O641vH9BUY3IvLg/if//qrQX8DUuO11AMVv6HzHt6912B+dwtLOn+X9/EO06kvog93dYVcbwb5/WD8Zm7Ygl2m8Uwz20pzD3C82DgnzUrjK5pFjVhchMRDs4aqiSlkVizKqs009ohd3evdYKeSF4Sn7AIXrfb9cLU5qvqpmbV2+e/9oeTdLEg92dm1oHW65aZxIQssa1SPB4OQHSAeoq4tyIU9fSspO6Ia1FCxZP9Iq2Q2lYpvBoQEaHTXMyWS0KXgBbqq9VMhIGlcp1mKQ9L+Md9aVRnOY5joTW5xlwQRrtw27GyVCK6lpOnla5xD+aSLEiIJHZQKleME7lxIiRRFz7azepo+aOdIaor24W8v2+WJs2tZj4TaTV3VlsAFCVYiywRf7Qt/TVwL41i5j1TLNPykEXtqg+J/S0HRQmhmuAYWMo5ptLJgQ4pbgiNumCukaVAtGJ14kpoWplMaaLll5xauLJ+9J7ZkzHe4E0tw4X/4aNt2fBTbfw3gGclsS5WRBElzr3KGo18JI5opMe0Vrk/s2o+SK1Kpbeq5bkkUP/J4kvG+nv5y8RyeRxTWvHzznSveOtZ8zf4q4S5Q0E2wAhZso6xxHuTDOs/AQAA//9SiBrPzRsAAA==", + "registerSchedulable": "false", + "resourceGroup": "[resourceGroup().name]", + "routeTableID": "[resourceId('Microsoft.Network/routeTables', variables('routeTableName'))]", + "routeTableName": "[concat(variables('masterVMNamePrefix'),'routetable')]", + "servicePrincipalClientId": "[parameters('servicePrincipalClientId')]", + "servicePrincipalClientSecret": "[parameters('servicePrincipalClientSecret')]", + "sshKeyPath": "[concat('/home/',variables('username'),'/.ssh/authorized_keys')]", + "sshNatPorts": [ + 22, + 2201, + 2202, + 2203, + 2204 + ], + "sshPublicKeyData": "[parameters('sshRSAPublicKey')]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),variables('location')))]", + "storageAccountPrefixes": [ + "0", + "6", + "c", + "i", + "o", + "u", + "1", + "7", + "d", + "j", + "p", + "v", + "2", + "8", + "e", + "k", + "q", + "w", + "3", + "9", + "f", + "l", + "r", + "x", + "4", + "a", + "g", + "m", + "s", + "y", + "5", + "b", + "h", + "n", + "t", + "z" + ], + "storageAccountPrefixesCount": "[length(variables('storageAccountPrefixes'))]", + "subnet": "[parameters('masterSubnet')]", + "subnetName": "[concat(variables('orchestratorName'), '-subnet')]", + "subscriptionId": "[subscription().subscriptionId]", + "targetEnvironment": "[parameters('targetEnvironment')]", + "tenantId": "[subscription().tenantId]", + "username": "[parameters('linuxAdminUsername')]", + "virtualNetworkName": "[concat(variables('orchestratorName'), '-vnet-', variables('nameSuffix'))]", + "vmSizesMap": { + "Basic_A2": { + "storageAccountType": "Standard_LRS" + }, + "Basic_A3": { + "storageAccountType": "Standard_LRS" + }, + "Basic_A4": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A10": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A11": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A2_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A2m_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A3": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A4": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A4_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A4m_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A5": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A6": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A7": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A8": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A8_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A8m_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A9": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D11": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D11_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D12": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D12_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D13": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D13_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D14": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D14_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D15_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D2_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D3": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D3_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D4": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D4_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D5_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_DS11": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS11_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS12": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS12_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS13": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS13_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS14": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS14_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS15_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS2_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS3": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS3_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS4": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS4_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS5_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_F16": { + "storageAccountType": "Standard_LRS" + }, + "Standard_F16s": { + "storageAccountType": "Premium_LRS" + }, + "Standard_F2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_F2s": { + "storageAccountType": "Premium_LRS" + }, + "Standard_F4": { + "storageAccountType": "Standard_LRS" + }, + "Standard_F4s": { + "storageAccountType": "Premium_LRS" + }, + "Standard_F8": { + "storageAccountType": "Standard_LRS" + }, + "Standard_F8s": { + "storageAccountType": "Premium_LRS" + }, + "Standard_G1": { + "storageAccountType": "Standard_LRS" + }, + "Standard_G2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_G3": { + "storageAccountType": "Standard_LRS" + }, + "Standard_G4": { + "storageAccountType": "Standard_LRS" + }, + "Standard_G5": { + "storageAccountType": "Standard_LRS" + }, + "Standard_GS1": { + "storageAccountType": "Premium_LRS" + }, + "Standard_GS2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_GS3": { + "storageAccountType": "Premium_LRS" + }, + "Standard_GS4": { + "storageAccountType": "Premium_LRS" + }, + "Standard_GS5": { + "storageAccountType": "Premium_LRS" + }, + "Standard_H16": { + "storageAccountType": "Standard_LRS" + }, + "Standard_H16m": { + "storageAccountType": "Standard_LRS" + }, + "Standard_H16mr": { + "storageAccountType": "Standard_LRS" + }, + "Standard_H16r": { + "storageAccountType": "Standard_LRS" + }, + "Standard_H8": { + "storageAccountType": "Standard_LRS" + }, + "Standard_H8m": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NC12": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NC24": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NC24r": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NC6": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NV12": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NV24": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NV6": { + "storageAccountType": "Standard_LRS" + } + }, + "vmsPerStorageAccount": 20, + "vnetCidr": "10.0.0.0/8", + "vnetID": "[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]", + "vnetSubnetID": "[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]" + }, + "resources": [ + { + "apiVersion": "[variables('apiVersionDefault')]", + "copy": { + "count": "[sub(variables('agentpool1Count'), variables('agentpool1Offset'))]", + "name": "loop" + }, + "dependsOn": [ + "[variables('vnetID')]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('agentpool1VMNamePrefix'), 'nic-', copyIndex(variables('agentpool1Offset')))]", + "properties": { + "enableIPForwarding": true, + "ipConfigurations": [ + { + "name": "ipconfig1", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "[variables('agentpool1VnetSubnetID')]" + } + } + } + ] + }, + "type": "Microsoft.Network/networkInterfaces" + }, + { + "apiVersion": "[variables('apiVersionStorage')]", + "copy": { + "count": "[variables('agentpool1StorageAccountsCount')]", + "name": "loop" + }, + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool1AccountName'))]", + "properties": { + "accountType": "[variables('vmSizesMap')[variables('agentpool1VMSize')].storageAccountType]" + }, + "type": "Microsoft.Storage/storageAccounts" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "location": "[variables('location')]", + "name": "[variables('agentpool1AvailabilitySet')]", + "properties": {}, + "type": "Microsoft.Compute/availabilitySets" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "copy": { + "count": "[sub(variables('agentpool1Count'), variables('agentpool1Offset'))]", + "name": "vmLoopNode" + }, + "dependsOn": [ + "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(div(copyIndex(variables('agentpool1Offset')),variables('maxVMsPerStorageAccount')),variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(div(copyIndex(variables('agentpool1Offset')),variables('maxVMsPerStorageAccount')),variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool1AccountName'))]", + "[concat('Microsoft.Network/networkInterfaces/', variables('agentpool1VMNamePrefix'), 'nic-', copyIndex(variables('agentpool1Offset')))]", + "[concat('Microsoft.Compute/availabilitySets/', variables('agentpool1AvailabilitySet'))]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')))]", + "properties": { + "availabilitySet": { + "id": "[resourceId('Microsoft.Compute/availabilitySets',variables('agentpool1AvailabilitySet'))]" + }, + "hardwareProfile": { + "vmSize": "[variables('agentpool1VMSize')]" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "[resourceId('Microsoft.Network/networkInterfaces',concat(variables('agentpool1VMNamePrefix'), 'nic-', copyIndex(variables('agentpool1Offset'))))]" + } + ] + }, + "osProfile": { + "adminUsername": "[variables('username')]", + "computername": "[concat(variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')))]", + "customData": "[base64(concat('#cloud-config\n\n# { { { variable } } }\n\nruncmd:\n- apt-get update\n- apt-get install -y apt-transport-https ca-certificates\n- for i in 1 2 3 4 5; do curl --max-time 60 -fsSL https://apt.dockerproject.org/gpg | apt-key add -; [ $? -eq 0 ] && break || sleep 5; done\n- echo \"deb ',variables('dockerEngineDownloadRepo'),' ubuntu-xenial main\" | sudo tee /etc/apt/sources.list.d/docker.list\n- \"echo \\\"Package: docker-engine\\nPin: version ',variables('dockerEngineVersion'),'\\nPin-Priority: 550\\n\\\" > /etc/apt/preferences.d/docker.pref\"\n- apt-get update\n- apt-get install -y docker-engine\n- systemctl restart docker\n- mkdir -p /etc/kubernetes/manifests\n- usermod -aG docker ',variables('username'),'\n\nwrite_files:\n- path: \"/etc/systemd/system/docker.service.d/clear_mount_propagation_flags.conf\"\n permissions: \"0644\"\n owner: \"root\"\n content: |\n [Service]\n MountFlags=shared\n\n- path: \"/etc/systemd/system/docker.service.d/exec_start.conf\"\n permissions: \"0644\"\n owner: \"root\"\n content: |\n [Service]\n ExecStart=\n ExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay --log-driver=journald\n\n- path: \"/etc/docker/daemon.json\"\n permissions: \"0644\"\n owner: \"root\"\n content: |\n {\n \"live-restore\": true\n }\n\n- path: \"/etc/kubernetes/certs/ca.crt\"\n permissions: \"0644\"\n encoding: \"base64\"\n owner: \"root\"\n content: |\n ',variables('caCertificate'),'\n\n- path: \"/etc/kubernetes/certs/apiserver.crt\"\n permissions: \"0644\"\n encoding: \"base64\"\n owner: \"root\"\n content: |\n ',variables('apiserverCertificate'),'\n\n- path: \"/etc/kubernetes/certs/client.crt\"\n permissions: \"0644\"\n encoding: \"base64\"\n owner: \"root\"\n content: |\n ',variables('clientCertificate'),'\n\n- path: \"/var/lib/kubelet/kubeconfig\"\n permissions: \"0644\"\n owner: \"root\"\n content: |\n apiVersion: v1\n kind: Config\n clusters:\n - name: localcluster\n cluster:\n certificate-authority: /etc/kubernetes/certs/ca.crt\n server: https://',variables('masterInternalLbIp'),':443\n users:\n - name: client\n user:\n client-certificate: /etc/kubernetes/certs/client.crt\n client-key: /etc/kubernetes/certs/client.key\n contexts:\n - context:\n cluster: localcluster\n user: client\n name: localclustercontext\n current-context: localclustercontext\n\n- path: \"/etc/systemd/system/kubectl-extract.service\"\n permissions: \"0644\"\n owner: \"root\"\n content: |\n [Unit]\n Description=Kubectl extraction\n Requires=docker.service\n After=docker.service\n ConditionPathExists=!/usr/local/bin/kubectl\n\n [Service]\n TimeoutStartSec=0\n Restart=on-failure\n RestartSec=5s\n ExecStartPre=/bin/mkdir -p /tmp/kubectldir\n ExecStartPre=/usr/bin/docker pull ',variables('kubernetesHyperkubeSpec'),'\n ExecStartPre=/usr/bin/docker run --rm -v /tmp/kubectldir:/opt/kubectldir ',variables('kubernetesHyperkubeSpec'),' /bin/bash -c \"cp /hyperkube /opt/kubectldir/\"\n ExecStartPre=/bin/mv /tmp/kubectldir/hyperkube /usr/local/bin/kubectl\n ExecStart=/bin/chmod a+x /usr/local/bin/kubectl\n\n [Install]\n WantedBy=multi-user.target\n\n- path: \"/etc/default/kubelet\"\n permissions: \"0644\"\n owner: \"root\"\n content: |\n KUBELET_CLUSTER_DNS=',variables('kubeDnsServiceIP'),'\n KUBELET_API_SERVERS=https://',variables('masterInternalLbIp'),':443\n KUBELET_IMAGE=',variables('kubernetesHyperkubeSpec'),'\n KUBELET_NETWORK_PLUGIN=kubenet\n DOCKER_OPTS=\n CUSTOM_CMD=/bin/true\n KUBELET_REGISTER_SCHEDULABLE=true\n KUBELET_NODE_LABELS=role=agent\n KUBELET_POD_INFRA_CONTAINER_IMAGE=',variables('kubernetesPodInfraContainerSpec'),'\n\n- path: \"/etc/systemd/system/kubelet.service\"\n permissions: \"0644\"\n encoding: gzip\n owner: \"root\"\n content: !!binary |\n H4sIAAAAAAAA/5RU0Y7qNhB9z1dEV/fVpOojkh9Y8N0iKKAE2ofbq8iJh8TFsdOxHUqr/fcqISwE2EorpMg+c87MnPGI7zst3Y9gBjZHWTtpNF34DBS4IIa/vESwVJj8ADiygI3MIZjsHeA9GHxPzqcfQQzWcXSUqyM/2YDpRqLRFWj3TSqgEbg8ErDnXrno0Ndif0OetKoNAo0yqaOM2zKMTO0i/o9HiHKjHZca0F5EI1s+0VUHITEkdRg1HCMls/+pURmvXUhIJrV44H8mQcUPQGzJER7zXGU08hY73Xl4IXod/hGEISEaHC2Ndf21lmJwRdlIBQWIHmiM8hXQSEAzbj93sD3ZcfdBcxdpe0Ovx+8HPD5htN2fW4zGd8DHgt7ujaJHxv1gnshMMX4/PCRu96RNgRoc2Gh8Bzyas9gMBUOgFXydracLFqfrzTbp1GH49d/F7oUt2Tad/zp5ZW89HIZReaoBW314WYlLqK3Ka0na7Qe09Ms1yWQzTxMW/8bi5O3LQNAmyY3ey+JxaNfYQFIbQaTeIyfv609kxQu4rbhZz9L56ls8Safr1XYyX7G4tzKsz4VAsJb+NOp+w5hS5nizZ9ShhwEDNM8U9I6fRQRkviikLkjJtVCAdsC6OL971YpruQfr7sjKWwdIhLb0anS63CVbFqezVfL2nG4qLjXtryNlcq4GRIRCdkyblyC8ahu/KRCz13lXIZn+wma75eRlyYaVtBFAFM9A3Ta2Ws9Yupy8sOVDY8YLUqNppACk3T/ZE8IHs+nooz+t0cO3auGbhTibwtMn05RcYi01qYwAWqOppM298ZZkKEUxbFODOxo8kFr5Qupb52z7+zpepJvl7nW+Gppv6M/BfwEAAP//lFb2TV8GAAA=\n\n- path: \"/opt/azure/containers/kubelet.sh\"\n permissions: \"0755\"\n owner: \"root\"\n content: |\n #!/bin/bash\n exit 0\n\n- path: \"/opt/azure/containers/provision.sh\"\n permissions: \"0744\"\n encoding: gzip\n owner: \"root\"\n content: !!binary |\n ',variables('provisionScript'),'\n'))]", + "linuxConfiguration": { + "disablePasswordAuthentication": "true", + "ssh": { + "publicKeys": [ + { + "keyData": "[parameters('sshRSAPublicKey')]", + "path": "[variables('sshKeyPath')]" + } + ] + } + } + }, + "storageProfile": { + "imageReference": { + "offer": "[variables('osImageOffer')]", + "publisher": "[variables('osImagePublisher')]", + "sku": "[variables('osImageSKU')]", + "version": "[variables('osImageVersion')]" + }, + "osDisk": { + "caching": "ReadWrite", + "createOption": "FromImage", + "name": "[concat(variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')),'-osdisk')]", + "vhd": { + "uri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(div(copyIndex(variables('agentpool1Offset')),variables('maxVMsPerStorageAccount')),variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(div(copyIndex(variables('agentpool1Offset')),variables('maxVMsPerStorageAccount')),variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool1AccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'osdisk/', variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')), '-osdisk.vhd')]" + } + } + } + }, + "tags": { + "creationSource": "[concat('acsengine-', variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')))]" + }, + "type": "Microsoft.Compute/virtualMachines" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "copy": { + "count": "[sub(variables('agentpool1Count'), variables('agentpool1Offset'))]", + "name": "vmLoopNode" + }, + "dependsOn": [ + "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')))]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')),'/cse', copyIndex(variables('agentpool1Offset')))]", + "properties": { + "autoUpgradeMinorVersion": true, + "protectedSettings": { + "commandToExecute": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/provision.sh ',variables('tenantID'),' ',variables('subscriptionId'),' ',variables('resourceGroup'),' ',variables('location'),' ',variables('subnetName'),' ',variables('nsgName'),' ',variables('virtualNetworkName'),' ',variables('routeTableName'),' ',variables('primaryAvailablitySetName'),' ',variables('servicePrincipalClientId'),' ',variables('servicePrincipalClientSecret'),' ',variables('clientPrivateKey'),' ',variables('targetEnvironment'),' ',variables('networkPolicy'),' >> /var/log/azure/cluster-provision.log 2>&1 &\" &')]" + }, + "publisher": "Microsoft.OSTCExtensions", + "settings": {}, + "type": "CustomScriptForLinux", + "typeHandlerVersion": "1.5" + }, + "type": "Microsoft.Compute/virtualMachines/extensions" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "copy": { + "count": "[sub(variables('agentpool2Count'), variables('agentpool2Offset'))]", + "name": "loop" + }, + "dependsOn": [ + "[variables('vnetID')]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('agentpool2VMNamePrefix'), 'nic-', copyIndex(variables('agentpool2Offset')))]", + "properties": { + "enableIPForwarding": true, + "ipConfigurations": [ + { + "name": "ipconfig1", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "[variables('agentpool2VnetSubnetID')]" + } + } + } + ] + }, + "type": "Microsoft.Network/networkInterfaces" + }, + { + "apiVersion": "[variables('apiVersionStorage')]", + "copy": { + "count": "[variables('agentpool2StorageAccountsCount')]", + "name": "loop" + }, + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName'))]", + "properties": { + "accountType": "[variables('vmSizesMap')[variables('agentpool2VMSize')].storageAccountType]" + }, + "type": "Microsoft.Storage/storageAccounts" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "location": "[variables('location')]", + "name": "[variables('agentpool2AvailabilitySet')]", + "properties": {}, + "type": "Microsoft.Compute/availabilitySets" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "copy": { + "count": "[sub(variables('agentpool2Count'), variables('agentpool2Offset'))]", + "name": "vmLoopNode" + }, + "dependsOn": [ + "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(div(copyIndex(variables('agentpool2Offset')),variables('maxVMsPerStorageAccount')),variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(div(copyIndex(variables('agentpool2Offset')),variables('maxVMsPerStorageAccount')),variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName'))]", + "[concat('Microsoft.Network/networkInterfaces/', variables('agentpool2VMNamePrefix'), 'nic-', copyIndex(variables('agentpool2Offset')))]", + "[concat('Microsoft.Compute/availabilitySets/', variables('agentpool2AvailabilitySet'))]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('agentpool2VMNamePrefix'), copyIndex(variables('agentpool2Offset')))]", + "properties": { + "availabilitySet": { + "id": "[resourceId('Microsoft.Compute/availabilitySets',variables('agentpool2AvailabilitySet'))]" + }, + "hardwareProfile": { + "vmSize": "[variables('agentpool2VMSize')]" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "[resourceId('Microsoft.Network/networkInterfaces',concat(variables('agentpool2VMNamePrefix'), 'nic-', copyIndex(variables('agentpool2Offset'))))]" + } + ] + }, + "osProfile": { + "adminUsername": "[variables('username')]", + "computername": "[concat(variables('agentpool2VMNamePrefix'), copyIndex(variables('agentpool2Offset')))]", + "customData": "[base64(concat('#cloud-config\n\n# { { { variable } } }\n\nruncmd:\n- apt-get update\n- apt-get install -y apt-transport-https ca-certificates\n- for i in 1 2 3 4 5; do curl --max-time 60 -fsSL https://apt.dockerproject.org/gpg | apt-key add -; [ $? -eq 0 ] && break || sleep 5; done\n- echo \"deb ',variables('dockerEngineDownloadRepo'),' ubuntu-xenial main\" | sudo tee /etc/apt/sources.list.d/docker.list\n- \"echo \\\"Package: docker-engine\\nPin: version ',variables('dockerEngineVersion'),'\\nPin-Priority: 550\\n\\\" > /etc/apt/preferences.d/docker.pref\"\n- apt-get update\n- apt-get install -y docker-engine\n- systemctl restart docker\n- mkdir -p /etc/kubernetes/manifests\n- usermod -aG docker ',variables('username'),'\n\nwrite_files:\n- path: \"/etc/systemd/system/docker.service.d/clear_mount_propagation_flags.conf\"\n permissions: \"0644\"\n owner: \"root\"\n content: |\n [Service]\n MountFlags=shared\n\n- path: \"/etc/systemd/system/docker.service.d/exec_start.conf\"\n permissions: \"0644\"\n owner: \"root\"\n content: |\n [Service]\n ExecStart=\n ExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay --log-driver=journald\n\n- path: \"/etc/docker/daemon.json\"\n permissions: \"0644\"\n owner: \"root\"\n content: |\n {\n \"live-restore\": true\n }\n\n- path: \"/etc/kubernetes/certs/ca.crt\"\n permissions: \"0644\"\n encoding: \"base64\"\n owner: \"root\"\n content: |\n ',variables('caCertificate'),'\n\n- path: \"/etc/kubernetes/certs/apiserver.crt\"\n permissions: \"0644\"\n encoding: \"base64\"\n owner: \"root\"\n content: |\n ',variables('apiserverCertificate'),'\n\n- path: \"/etc/kubernetes/certs/client.crt\"\n permissions: \"0644\"\n encoding: \"base64\"\n owner: \"root\"\n content: |\n ',variables('clientCertificate'),'\n\n- path: \"/var/lib/kubelet/kubeconfig\"\n permissions: \"0644\"\n owner: \"root\"\n content: |\n apiVersion: v1\n kind: Config\n clusters:\n - name: localcluster\n cluster:\n certificate-authority: /etc/kubernetes/certs/ca.crt\n server: https://',variables('masterInternalLbIp'),':443\n users:\n - name: client\n user:\n client-certificate: /etc/kubernetes/certs/client.crt\n client-key: /etc/kubernetes/certs/client.key\n contexts:\n - context:\n cluster: localcluster\n user: client\n name: localclustercontext\n current-context: localclustercontext\n\n- path: \"/etc/systemd/system/kubectl-extract.service\"\n permissions: \"0644\"\n owner: \"root\"\n content: |\n [Unit]\n Description=Kubectl extraction\n Requires=docker.service\n After=docker.service\n ConditionPathExists=!/usr/local/bin/kubectl\n\n [Service]\n TimeoutStartSec=0\n Restart=on-failure\n RestartSec=5s\n ExecStartPre=/bin/mkdir -p /tmp/kubectldir\n ExecStartPre=/usr/bin/docker pull ',variables('kubernetesHyperkubeSpec'),'\n ExecStartPre=/usr/bin/docker run --rm -v /tmp/kubectldir:/opt/kubectldir ',variables('kubernetesHyperkubeSpec'),' /bin/bash -c \"cp /hyperkube /opt/kubectldir/\"\n ExecStartPre=/bin/mv /tmp/kubectldir/hyperkube /usr/local/bin/kubectl\n ExecStart=/bin/chmod a+x /usr/local/bin/kubectl\n\n [Install]\n WantedBy=multi-user.target\n\n- path: \"/etc/default/kubelet\"\n permissions: \"0644\"\n owner: \"root\"\n content: |\n KUBELET_CLUSTER_DNS=',variables('kubeDnsServiceIP'),'\n KUBELET_API_SERVERS=https://',variables('masterInternalLbIp'),':443\n KUBELET_IMAGE=',variables('kubernetesHyperkubeSpec'),'\n KUBELET_NETWORK_PLUGIN=kubenet\n DOCKER_OPTS=\n CUSTOM_CMD=/bin/true\n KUBELET_REGISTER_SCHEDULABLE=true\n KUBELET_NODE_LABELS=role=agent\n KUBELET_POD_INFRA_CONTAINER_IMAGE=',variables('kubernetesPodInfraContainerSpec'),'\n\n- path: \"/etc/systemd/system/kubelet.service\"\n permissions: \"0644\"\n encoding: gzip\n owner: \"root\"\n content: !!binary |\n H4sIAAAAAAAA/5RU0Y7qNhB9z1dEV/fVpOojkh9Y8N0iKKAE2ofbq8iJh8TFsdOxHUqr/fcqISwE2EorpMg+c87MnPGI7zst3Y9gBjZHWTtpNF34DBS4IIa/vESwVJj8ADiygI3MIZjsHeA9GHxPzqcfQQzWcXSUqyM/2YDpRqLRFWj3TSqgEbg8ErDnXrno0Ndif0OetKoNAo0yqaOM2zKMTO0i/o9HiHKjHZca0F5EI1s+0VUHITEkdRg1HCMls/+pURmvXUhIJrV44H8mQcUPQGzJER7zXGU08hY73Xl4IXod/hGEISEaHC2Ndf21lmJwRdlIBQWIHmiM8hXQSEAzbj93sD3ZcfdBcxdpe0Ovx+8HPD5htN2fW4zGd8DHgt7ujaJHxv1gnshMMX4/PCRu96RNgRoc2Gh8Bzyas9gMBUOgFXydracLFqfrzTbp1GH49d/F7oUt2Tad/zp5ZW89HIZReaoBW314WYlLqK3Ka0na7Qe09Ms1yWQzTxMW/8bi5O3LQNAmyY3ey+JxaNfYQFIbQaTeIyfv609kxQu4rbhZz9L56ls8Safr1XYyX7G4tzKsz4VAsJb+NOp+w5hS5nizZ9ShhwEDNM8U9I6fRQRkviikLkjJtVCAdsC6OL971YpruQfr7sjKWwdIhLb0anS63CVbFqezVfL2nG4qLjXtryNlcq4GRIRCdkyblyC8ahu/KRCz13lXIZn+wma75eRlyYaVtBFAFM9A3Ta2Ws9Yupy8sOVDY8YLUqNppACk3T/ZE8IHs+nooz+t0cO3auGbhTibwtMn05RcYi01qYwAWqOppM298ZZkKEUxbFODOxo8kFr5Qupb52z7+zpepJvl7nW+Gppv6M/BfwEAAP//lFb2TV8GAAA=\n\n- path: \"/opt/azure/containers/kubelet.sh\"\n permissions: \"0755\"\n owner: \"root\"\n content: |\n #!/bin/bash\n exit 0\n\n- path: \"/opt/azure/containers/provision.sh\"\n permissions: \"0744\"\n encoding: gzip\n owner: \"root\"\n content: !!binary |\n ',variables('provisionScript'),'\n'))]", + "linuxConfiguration": { + "disablePasswordAuthentication": "true", + "ssh": { + "publicKeys": [ + { + "keyData": "[parameters('sshRSAPublicKey')]", + "path": "[variables('sshKeyPath')]" + } + ] + } + } + }, + "storageProfile": { + "imageReference": { + "offer": "[variables('osImageOffer')]", + "publisher": "[variables('osImagePublisher')]", + "sku": "[variables('osImageSKU')]", + "version": "[variables('osImageVersion')]" + }, + "osDisk": { + "caching": "ReadWrite", + "createOption": "FromImage", + "name": "[concat(variables('agentpool2VMNamePrefix'), copyIndex(variables('agentpool2Offset')),'-osdisk')]", + "vhd": { + "uri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(div(copyIndex(variables('agentpool2Offset')),variables('maxVMsPerStorageAccount')),variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(div(copyIndex(variables('agentpool2Offset')),variables('maxVMsPerStorageAccount')),variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'osdisk/', variables('agentpool2VMNamePrefix'), copyIndex(variables('agentpool2Offset')), '-osdisk.vhd')]" + } + } + } + }, + "tags": { + "creationSource": "[concat('acsengine-', variables('agentpool2VMNamePrefix'), copyIndex(variables('agentpool2Offset')))]" + }, + "type": "Microsoft.Compute/virtualMachines" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "copy": { + "count": "[sub(variables('agentpool2Count'), variables('agentpool2Offset'))]", + "name": "vmLoopNode" + }, + "dependsOn": [ + "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool2VMNamePrefix'), copyIndex(variables('agentpool2Offset')))]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('agentpool2VMNamePrefix'), copyIndex(variables('agentpool2Offset')),'/cse', copyIndex(variables('agentpool2Offset')))]", + "properties": { + "autoUpgradeMinorVersion": true, + "protectedSettings": { + "commandToExecute": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/provision.sh ',variables('tenantID'),' ',variables('subscriptionId'),' ',variables('resourceGroup'),' ',variables('location'),' ',variables('subnetName'),' ',variables('nsgName'),' ',variables('virtualNetworkName'),' ',variables('routeTableName'),' ',variables('primaryAvailablitySetName'),' ',variables('servicePrincipalClientId'),' ',variables('servicePrincipalClientSecret'),' ',variables('clientPrivateKey'),' ',variables('targetEnvironment'),' ',variables('networkPolicy'),' >> /var/log/azure/cluster-provision.log 2>&1 &\" &')]" + }, + "publisher": "Microsoft.OSTCExtensions", + "settings": {}, + "type": "CustomScriptForLinux", + "typeHandlerVersion": "1.5" + }, + "type": "Microsoft.Compute/virtualMachines/extensions" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "location": "[variables('location')]", + "name": "[variables('masterAvailabilitySet')]", + "properties": {}, + "type": "Microsoft.Compute/availabilitySets" + }, + { + "apiVersion": "[variables('apiVersionStorage')]", + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" + ], + "location": "[variables('location')]", + "name": "[variables('masterStorageAccountName')]", + "properties": { + "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" + }, + "type": "Microsoft.Storage/storageAccounts" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "dependsOn": [ + "[concat('Microsoft.Network/networkSecurityGroups/', variables('nsgName'))]", + "[concat('Microsoft.Network/routeTables/', variables('routeTableName'))]" + ], + "location": "[variables('location')]", + "name": "[variables('virtualNetworkName')]", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "[variables('vnetCidr')]" + ] + }, + "subnets": [ + { + "name": "[variables('subnetName')]", + "properties": { + "addressPrefix": "[variables('subnet')]", + "networkSecurityGroup": { + "id": "[variables('nsgID')]" + }, + "routeTable": { + "id": "[variables('routeTableID')]" + } + } + } + ] + }, + "type": "Microsoft.Network/virtualNetworks" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "location": "[variables('location')]", + "name": "[variables('nsgName')]", + "properties": { + "securityRules": [ + { + "name": "allow_ssh", + "properties": { + "access": "Allow", + "description": "Allow SSH traffic to master", + "destinationAddressPrefix": "*", + "destinationPortRange": "22-22", + "direction": "Inbound", + "priority": 101, + "protocol": "Tcp", + "sourceAddressPrefix": "*", + "sourcePortRange": "*" + } + }, + { + "name": "allow_kube_tls", + "properties": { + "access": "Allow", + "description": "Allow kube-apiserver (tls) traffic to master", + "destinationAddressPrefix": "*", + "destinationPortRange": "443-443", + "direction": "Inbound", + "priority": 100, + "protocol": "Tcp", + "sourceAddressPrefix": "*", + "sourcePortRange": "*" + } + } + ] + }, + "type": "Microsoft.Network/networkSecurityGroups" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "location": "[variables('location')]", + "name": "[variables('routeTableName')]", + "type": "Microsoft.Network/routeTables" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" + ], + "location": "[variables('location')]", + "name": "[variables('masterLbName')]", + "properties": { + "backendAddressPools": [ + { + "name": "[variables('masterLbBackendPoolName')]" + } + ], + "frontendIPConfigurations": [ + { + "name": "[variables('masterLbIPConfigName')]", + "properties": { + "publicIPAddress": { + "id": "[resourceId('Microsoft.Network/publicIPAddresses',variables('masterPublicIPAddressName'))]" + } + } + } + ], + "loadBalancingRules": [ + { + "name": "LBRuleHTTPS", + "properties": { + "backendAddressPool": { + "id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]" + }, + "backendPort": 443, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "[variables('masterLbIPConfigID')]" + }, + "frontendPort": 443, + "idleTimeoutInMinutes": 5, + "loadDistribution": "Default", + "probe": { + "id": "[concat(variables('masterLbID'),'/probes/tcpHTTPSProbe')]" + }, + "protocol": "tcp" + } + } + ], + "probes": [ + { + "name": "tcpHTTPSProbe", + "properties": { + "intervalInSeconds": "5", + "numberOfProbes": "2", + "port": 443, + "protocol": "tcp" + } + } + ] + }, + "type": "Microsoft.Network/loadBalancers" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "dependsOn": [ + "[variables('vnetID')]" + ], + "location": "[variables('location')]", + "name": "[variables('masterInternalLbName')]", + "properties": { + "backendAddressPools": [ + { + "name": "[variables('masterLbBackendPoolName')]" + } + ], + "frontendIPConfigurations": [ + { + "name": "[variables('masterInternalLbIPConfigName')]", + "properties": { + "privateIPAddress": "[variables('masterInternalLbIp')]", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "[variables('vnetSubnetID')]" + } + } + } + ], + "loadBalancingRules": [ + { + "name": "InternalLBRuleHTTPS", + "properties": { + "backendAddressPool": { + "id": "[concat(variables('masterInternalLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]" + }, + "backendPort": 4443, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "[variables('masterInternalLbIPConfigID')]" + }, + "frontendPort": 443, + "idleTimeoutInMinutes": 5, + "protocol": "tcp" + } + } + ], + "probes": [ + { + "name": "tcpHTTPSProbe", + "properties": { + "intervalInSeconds": "5", + "numberOfProbes": "2", + "port": 4443, + "protocol": "tcp" + } + } + ] + }, + "type": "Microsoft.Network/loadBalancers" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "location": "[variables('location')]", + "name": "[variables('masterPublicIPAddressName')]", + "properties": { + "dnsSettings": { + "domainNameLabel": "[variables('masterFqdnPrefix')]" + }, + "publicIPAllocationMethod": "Dynamic" + }, + "type": "Microsoft.Network/publicIPAddresses" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "copy": { + "count": "[variables('masterCount')]", + "name": "masterLbLoopNode" + }, + "dependsOn": [ + "[variables('masterLbID')]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", + "properties": { + "backendPort": 22, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "[variables('masterLbIPConfigID')]" + }, + "frontendPort": "[variables('sshNatPorts')[copyIndex()]]", + "protocol": "tcp" + }, + "type": "Microsoft.Network/loadBalancers/inboundNatRules" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "copy": { + "count": "[variables('masterCount')]", + "name": "nicLoopNode" + }, + "dependsOn": [ + "[variables('vnetID')]", + "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]", + "[variables('masterInternalLbName')]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", + "properties": { + "enableIPForwarding": true, + "ipConfigurations": [ + { + "name": "ipconfig1", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]" + }, + { + "id": "[concat(variables('masterInternalLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" + } + ], + "privateIPAddress": "[concat(variables('masterFirstAddrPrefix'), copyIndex(int(variables('masterFirstAddrOctet4'))))]", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "[variables('vnetSubnetID')]" + } + } + } + ] + }, + "type": "Microsoft.Network/networkInterfaces" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "copy": { + "count": "[variables('masterCount')]", + "name": "vmLoopNode" + }, + "dependsOn": [ + "[concat('Microsoft.Network/networkInterfaces/', variables('masterVMNamePrefix'), 'nic-', copyIndex())]", + "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", + "[variables('masterStorageAccountName')]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", + "properties": { + "availabilitySet": { + "id": "[resourceId('Microsoft.Compute/availabilitySets',variables('masterAvailabilitySet'))]" + }, + "hardwareProfile": { + "vmSize": "[variables('masterVMSize')]" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "[resourceId('Microsoft.Network/networkInterfaces',concat(variables('masterVMNamePrefix'),'nic-', copyIndex()))]" + } + ] + }, + "osProfile": { + "adminUsername": "[variables('username')]", + "computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]", + "customData": "[base64(concat('#cloud-config\n\n# { { { variable } } }\n\npackages:\n - etcd\n - jq\n - traceroute\n\nruncmd:\n- /bin/echo DAEMON_ARGS=--name \"',variables('masterVMNames')[copyIndex()],'\" --initial-advertise-peer-urls \"',variables('masterEtcdPeerURLs')[copyIndex()],'\" --listen-peer-urls \"',variables('masterEtcdPeerURLs')[copyIndex()],'\" --advertise-client-urls \"',variables('masterEtcdClientURLs')[copyIndex()],'\" --listen-client-urls \"',concat(variables('masterEtcdClientURLs')[copyIndex()], ',http://127.0.0.1:', variables('masterEtcdClientPort')),'\" --initial-cluster-token \"k8s-etcd-cluster\" --initial-cluster \"',variables('masterEtcdClusterStates')[div(variables('masterCount'), 2)],'\" --initial-cluster-state \"new\" | tee -a /etc/default/etcd\n- apt-get update\n- apt-get install -y apt-transport-https ca-certificates\n- for i in 1 2 3 4 5; do curl --max-time 60 -fsSL https://apt.dockerproject.org/gpg | apt-key add -; [ $? -eq 0 ] && break || sleep 5; done\n- echo \"deb ',variables('dockerEngineDownloadRepo'),' ubuntu-xenial main\" | sudo tee /etc/apt/sources.list.d/docker.list\n- \"echo \\\"Package: docker-engine\\nPin: version ',variables('dockerEngineVersion'),'\\nPin-Priority: 550\\n\\\" > /etc/apt/preferences.d/docker.pref\"\n- apt-get update\n- apt-get install -y docker-engine\n- systemctl restart docker\n- mkdir -p /etc/kubernetes/manifests\n- usermod -aG docker ',variables('username'),'\n\nwrite_files:\n- path: \"/etc/systemd/system/docker.service.d/clear_mount_propagation_flags.conf\"\n permissions: \"0644\"\n owner: \"root\"\n content: |\n [Service]\n MountFlags=shared\n\n- path: \"/etc/systemd/system/docker.service.d/exec_start.conf\"\n permissions: \"0644\"\n owner: \"root\"\n content: |\n [Service]\n ExecStart=\n ExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay --log-driver=journald\n\n- path: \"/etc/docker/daemon.json\"\n permissions: \"0644\"\n owner: \"root\"\n content: |\n {\n \"live-restore\": true\n }\n\n- path: \"/etc/kubernetes/certs/ca.crt\"\n permissions: \"0644\"\n encoding: \"base64\"\n owner: \"root\"\n content: |\n ',variables('caCertificate'),'\n\n- path: \"/etc/kubernetes/certs/apiserver.crt\"\n permissions: \"0644\"\n encoding: \"base64\"\n owner: \"root\"\n content: |\n ',variables('apiServerCertificate'),'\n\n- path: \"/etc/kubernetes/certs/client.crt\"\n permissions: \"0644\"\n encoding: \"base64\"\n owner: \"root\"\n content: |\n ',variables('clientCertificate'),'\n\n- path: \"/var/lib/kubelet/kubeconfig\"\n permissions: \"0644\"\n owner: \"root\"\n content: |\n apiVersion: v1\n kind: Config\n clusters:\n - name: localcluster\n cluster:\n certificate-authority: /etc/kubernetes/certs/ca.crt\n server: ',concat('https://', variables('masterPrivateIpAddrs')[copyIndex()], ':443'),'\n users:\n - name: client\n user:\n client-certificate: /etc/kubernetes/certs/client.crt\n client-key: /etc/kubernetes/certs/client.key\n contexts:\n - context:\n cluster: localcluster\n user: client\n name: localclustercontext\n current-context: localclustercontext\n\n- path: /etc/kubernetes/manifests/kube-apiserver.yaml\n permissions: \"0644\"\n encoding: gzip\n owner: \"root\"\n content: !!binary |\n H4sIAAAAAAAA/6SUzW7bMBCE734KQmczStIADYQoQOEW6CEN0gTofU2ubdb863KpwH36grKcH8lJC9Q+kcP9djRLCaL5gZRM8I2ourNqtjVeN6K6C7qaOWTQwNDMhPDgsBHVNi9RQjQJqUOqBiFFUE9q2iVGVyQLS7SpVAvBBqkRKnimYGW04LHfV8HF4NFzI16zZymiKrWbkPgW+THQthFMudQVDhiPNNDl2/7KzzhYF/WqyOSRMX3dRaSyfIiorg8HVXAOSgDDupCrenM4W73cnnTpd6UE7UwqicrhadvbQ0Q3ZoVqpyzOb4wzfA9+jTR/QOqMwk9Khex5/hlXkC0/cCBY48JCSvN7TCGTwu85MEz6acKU2tOT/j9WrQ2PMpLpjMU16pFsfEKVCWUMxO3l6eW4/qV8cfFhpCobspaRQmc0Ugu/M+HRIyr4lVm3NbKqn4dQ9wUnP1Pwk7Z9JlLZnBhJmiippNX2IxwSWxhN16NCZKXlfi6p3TDHpq7Pzj/22Zw1Vw4K7gsrvbAGPd8F4qOIXzlQdpIQdFsu3TjWw/BlP7R2AC/KYsxjm6RCYrkyFicRFCXVT7wTRXykvgwQGOUWd/+G2eJuMojywFLBewAFRwwchgH7G/o/JtL+VsslqC163Zasz0dnuvbisNMFmx1+K12HN/3V246s5HP7Z4wQrpTcAW8aUY1cVlNOByStWfYsi/wmqAOqrVnWL87tHY4/Q8eNlS9Zj3rix3cc/s3d27SJzT8BAAD//3URH4TmBQAA\n\n- path: /etc/kubernetes/manifests/kube-controller-manager.yaml\n permissions: \"0644\"\n encoding: gzip\n owner: \"root\"\n content: !!binary |\n H4sIAAAAAAAA/4yTT4/TQAzF7/0Uo9wnaVcrWEWbPSIuoEpI3F3HbYfOPzxOoHx65G66hXS7kNt4fn7vxfJAdl+Ji0uxNdW4qhYHF/vWVOvUV4tAAj0ItAtjIgRqTXUYNmQxReHkPbENEGFHXE1EyYAvWDkWoaBXHjbki8oYI464NZOEzR4ineqYQk6RorTmhsmiZEIV2acin0l+JD60RnhQAcXBReLJxv5HYv1cgJ1ij8pxJKHy8ZiJ9fglEz6dQUwhgM5mOqtF1ezPbPVn+bbd6draAEWIu9Xd+3pZL+tV+7B8WM4YVcUUt27XNSNw492m0ZonaS53sybwPiEI2Zh6suh6Lp1OaIahHzTACehWy/ru/l6DNKt3N0AdZvf4HPvD9z6umbbu59MVnYbeZk6j64k7+DXwtbMi5/8iweYy+ObUUH8rKc66OCWxCHbrPF11IbGUBqFGlllfIR4dkgXENESxmd2o0znQ8S0tyE47iesDHWeSnqAntuQJ5bXRjt3duTImPwT6pM7lr72ZVpME7cX7omNM0J41yL411Sxida0zAlvvNnbajptCsy1S7jni/M28Hkyf3UnqRT+/kfBf6W6rXcX8HQAA//+MbUgupQQAAA==\n\n- path: /etc/kubernetes/manifests/kube-scheduler.yaml\n permissions: \"0644\"\n encoding: gzip\n owner: \"root\"\n content: !!binary |\n H4sIAAAAAAAA/4SST4/aMBDF7/kUlu8mgUuR1fTcSyukSr1PnCmx8D/Zk1R8+9VAIGwWdn3zvPd+PA+BZP9iLjYGLeS0ldXJhl4LeYi9rDwS9ECgKyECeNRCnsYOVTED9qPDLGehJDCLei6EniUHHbrCaSHIYtbCxEA5OpUcBLzMTfQpBgykxXt2VRIazg6x0G+k/zGftKA8co45YAPmma5e9+NjPRxZ/c5yDkhYfp4TZr7+SWh+3Iwmeg+h1/OVwbIeblb5OP7wI5epUh4KYW63u2+bZtNstnrf7JuVh2Emhn/22NYT5NrZruaZQ6oXbRVyCD1mhQ4NtbyHlT61u9tkim70+CuOgcrjW+YlIRm1bGLBCOE5cgAatJA1kqmf2e6cCbJytlNz9Zeg1RPZd224/veeF+MP4IK689MnDb9q95r2pOb1vAUAAP//QKFYEiUDAAA=\n\n- path: /etc/kubernetes/manifests/kube-addon-manager.yaml\n permissions: \"0644\"\n encoding: gzip\n owner: \"root\"\n content: !!binary |\n H4sIAAAAAAAA/3yQzU7DMAzH730Ka/eqcNglQkg8QGESEneTWFvUJQ6xU9S3R+kX22XH2L//h4PJf1EWz9HA+NwMPjoDJ3ZNIEWHiqYBiBjIwFC+qUXnOLYBI54prytJaLe9TKIUGoDxxlUS2epzYdF30l/OgwHNhRoAy1HRR8pSifZRFoAPeCYDL3WdIynJW2X6BflMZF9nLpNwyZZmz2XwU0h0fwPYVAwcw/4OFDhPBo5PvZ+HI19LoJ5L3GRbubmXrMpQgRPqxcChI7Xdf7duAQ97B3Qf8Trtpy8Jd3ffWNfPmn1XeXqY8RcAAP//D9wkjsgBAAA=\n\n- path: /etc/kubernetes/addons/kube-dns-service.yaml\n permissions: \"0644\"\n encoding: gzip\n owner: \"root\"\n content: !!binary |\n H4sIAAAAAAAA/3xQwUoDMRC95yuG3lO7iCBztRcRpFD1ns2+Q9hsEjKTgn8vcbugoCWXvDfvvXmMK+EDVUJOTJfBzCFNTGfUS/AwC9RNTh0bouhGROk/ovlRrCuFaW4j7JRkZduImqCQfch3PjZRVCtrFtNOa8PuD2VyC5he2ojj69kQrfhHdCekOL+x8imKxUiB732um55PTMNh399wMEQlV/3ua6+JW88+YHq4X0HNmn2OTO/H02+xVV9uGd6eukEQ4TXX/y7zFQAA//8ZlC5KYQEAAA==\n\n- path: /etc/kubernetes/addons/kube-dns-deployment.yaml\n permissions: \"0644\"\n encoding: gzip\n owner: \"root\"\n content: !!binary |\n H4sIAAAAAAAA/8xW32/bNhB+919x0F4nRW6RNSPmAkNSrMDQzpizvcx7oMlLRIQiGd7RiDvsfx8kOxatOplTDEP5ZNzPz/fdfZAM5neMZLwTsJ5O7ozTAn7FYI2SbLy79I6jtxbjpEWWWrIUEwArV2ip+wVwl1YYHTJSZfyZsokYY0kY10ahgIJjwmIbeUGlDEH0KaV21FvXQ//vJwBOtjhElIORglSPHtoQYzuhgKoDEbeAScCrCQChRcU+itObMrbBSsZtSv5Puyed89yPgx5NAKQa1MlirKQNjaxGY4iGjZK2DF4LKIoT09hbjLtOUPzx17K4w82yEMviclfwR629o1+c3SyLb5eFD128j33MuwdDTMvi7z8f++U8PT2Ml7F4ZHwAj0x0T3nH0jiM+8YlyHibwSihKEvtW2ncbNeqsl5JWxWjGEdl8JFn07o+fz04TStvUcAPA+qf0wqvPi4WAdXbfZg1a3RINI9+hUN7gBtpbIp43USkxlst4DzzNszhJ+Q8ASBIbgQUZw1Ky82nsmutHRWHQT6ygIv6oj4wd6R3W/3++nqeOYwzbKS9Qis3C1TeaRLwXZ5KSSkkynBOMy+bFn3iferwH4Yjyjnu0B2wsGdq3uPuh5zV31bpOOjJyTwhevbKWwG/Xc2/pCCr8EzR68uhaESpzVESn6Vpn/YEQdMvJuh1fRIFEcmnqJByfNa0hukQcYutjxsB0zf1B5N5It4npHG0Cqmfa3u0Rlbi6M0pqRosyXzC7qLq0bU5X3ao7Xpk71QA42z66k1VV3U1/WZ0jX2Q9bfljVTGGt7MyudO9erj4oOk+8NT3a9GK+n+5I09vl0vX9Snt/Rf9vP4lFs9c2S9v0shF1aNNzJZrmitqgPZg/1o4e2ZxvWZS9aO5puine3FZzen4j/rK3pKT+z+mfT1Ib1Od9I3st8ng/zcPrx7QPV+W/r/k+/PJghfnXzvoJ58DCPcT8npC2Xp/AWqdFyUsgra0dxbozYCrrZLuXM4r3Fx8N3WvRXy+AvJkwBrXHr4JwAA//+O/Dp4ugoAAA==\n\n- path: /etc/kubernetes/addons/kube-proxy-daemonset.yaml\n permissions: \"0644\"\n encoding: gzip\n owner: \"root\"\n content: !!binary |\n H4sIAAAAAAAA/5RUO4/bPBDs/SsW6nk8t8L3pUmKNHkABtLT1JxNmA+Fu3Tsfx9Qii3pHspFFTG7nJ2dsWl69wOZXYot4SKI9cj6vN1DzHZzcrFr6ZNBSHEH2QSI6YyYdkPkzR6e64noVPbIEQJ+cElbX1iQFSOfnUVLjeSCZui0KfQpIko7XFJ9TpfrUBGH3FJMHTZE0QQ866gQ98becL6yIGy4h60iBKH3RjAKmgut31zsuowXUohuI8aLUYyLyHcyVcmCid3ErqjRx2uPXLmbGbwco6hRqrbYFJ/c4X99Nll7t9cV8xA91SYSF8yhWvrf5Pnn26hdD/than3FxPHL4FSyxcyQCv4sYFlgRLYvLW0fH8MdZdiSnVw/pii4yLy9z+7sPA7oWqqR30vn5EvAl1TinF9RqMh3I8eWGg2xmtlriyzczGjHPZi9GkrqmFgWwk33Lfrrs5mvsE+WvaSHWDXV/5n+PdHNExlrfxtTN/0K+ZXyaYGPfs5+grVxkDJP44+0wlnz0WRoawYH3ZOzZmHCisPr3O9Z+42l14nfimslrPp/3cHDSsoTZX3IHpbvU+KWvIvl8jsAAP//tEWDlf4EAAA=\n\n- path: /etc/kubernetes/addons/kubernetes-dashboard-deployment.yaml\n permissions: \"0644\"\n encoding: gzip\n owner: \"root\"\n content: !!binary |\n H4sIAAAAAAAA/4xSTYvcMAy951eIuWdmh1LomlIoHeilh4EpvSvOY8esYhtLSTf/vrg7HwlsP3QST0/PT7I4hx8oGlJ0hBdDrKnupn0H433zHGLv6IAsaR4QrRlg3LOxa4iEO4jWjOh57FAiDLoNaedlVENpFWUKHo42VkZsXpkftOWc3aKl7VnPXeLS/2ZMV0PTfvt+u2+IIg/4Y0MtamZ/YbQ6q2FoNMNXbwVZgmd1VJUUAm+pvLoe2Pz522KMf9szDFnYcBFYrKOGrLT+Z9irzRo+ReMQUW4KLXF5Ukc3wTDwExx9vOsdrnKnDP9pTTyOIsckwc+OPstPnvVWlzAhQvVYUoe7YaKzWf4KW0JEme3saLPbrNFUzNHjw+PDAg4xWGA5QHg+wafYq6N3S4aFAWm0t4p//ej7o4sNt/etHd+yk0uy5JM4+v7leMFj6nFaHUKNevHb9R0ndSQhji/U/AoAAP//WoCbXSkDAAA=\n\n- path: /etc/kubernetes/addons/kubernetes-dashboard-service.yaml\n permissions: \"0644\"\n encoding: gzip\n owner: \"root\"\n content: !!binary |\n H4sIAAAAAAAA/4yOsU4EMQxE+3yFdX3g6O78EQgJid6bjCC63SSyvSfd36NkKagQ3Wg843nSywfUSqtM95dwKzUzvUPvJSFscMniwoFolQWrDUV02xdohcOeSntO624OjXa0mE6uO05H8mJReudflZjFvpYmmgNRlQ1/Hq1L+klEe5hjC9aRBkdv6hMoTsl0Oc9NF/2Ev03rer4O07AieVP+F5Q/OpheW8Z4Er4DAAD//6UyTnEjAQAA\n\n- path: /etc/kubernetes/addons/kube-heapster-service.yaml\n permissions: \"0644\"\n encoding: gzip\n owner: \"root\"\n content: !!binary |\n H4sIAAAAAAAA/2yOvWrEMBCEez3F4l75q4yeIGUgkH4tD4mwLIndtSFvf8h2cQfXDcN++w239APRVEug/d0tqcyBviF7inArjGc2Do4o84SsPREt2wQpMOhLqq8xb2oQrycVaDDZMDy5LLwi0Ce4dcARncXfY6GN+5eOev1Xw+q0IXZ1q2LHBn/EQOPboTGWX9jXVY0fjkiREa3KtXhUz63duW4BAAD//6ozJXX5AAAA\n\n- path: /etc/kubernetes/addons/kube-heapster-deployment.yaml\n permissions: \"0644\"\n encoding: gzip\n owner: \"root\"\n content: !!binary |\n H4sIAAAAAAAA/6xUX2vbThB816c49Pw7xf41gfSoCiFJ6UPThAQKpSpmc9pUh+9f71bGaul3L5IlR1bsEEL1ZGZ3Z9Zzc8c5T5bKloJdoNeuMWgpiR6lSBgL6LWSEAWbJ4wRGq+BsK0wNvS0n3SWQFkMcUA4UwZ+oGDvlvU9BouE8SOCj4ThzqN83/e1s8aALcUW4Cw9qvrWdIxyHl0dJOaPlFmsjYHQLMArUaRF+jhgwaBgA9EWDrghiY+CLfizxkg7GGPS14KdzswOaNC40Ag2P55dqVFFK6NeTbDPrbOydPYWo/r1Ise8KxcWrG0mlklf56czM0FxTQG62iw7mRY3G+bdgnvn+objJ2WqAsbK6TI/mVTKbbjy4Uj4ap79n834PRJk8+naQ6LyA1HwTmvuMShX5m9m7TddNZIyQC7kuPbOoiUF+lA8eGfdq0NycuCM374wIy+aR7saH/kKdI0fgjO7fA8KdXmLD7toj98AVYIZJCiBIGs9GLVtLLn6uri5vlh8Pru6/Pdq0YN8VvLu5ux80LWuxDvUKMmFsUAXmNEboNyRi4JpZet1srFvIzkMabhHPfJ9eRo5eL/ndVhhiMpZwTbZ7HGw1hGQcnZEEmWFZa0xZKB9NV1IBkVKgubelYKNnqXnx8hpDL0SS7/9LtIlNkUqivS8J+yehXhtdVOk/xWp822/C13P5VpFikX653urF3esM0Cy+rRjxCEbpiaAV18GCNeEtv0Zj1bz9iDmydjtsdP76fc5PLFO192VjBhWSqJgKYUa23+0TZDoRnhsIqFJnlzmnjr5GwAA//9Ky8Hp3AYAAA==\n\n- path: /etc/kubernetes/addons/default-storage-class.yaml\n permissions: \"0644\"\n encoding: gzip\n owner: \"root\"\n content: !!binary |\n H4sIAAAAAAAA/1zPMU4EMQyF4T6nsLZP0HYoLUdAovdMHshKNlnZzhScHmUZkKB++f7IMcbAd3mDmoyeyXwofyDVZ0syno7rBudrqNJLptfv8aWxWbjBubBzDkSdb8hU8M6zeSDi3oezy+i2ZvrJ7kumlUx1btAOx+MfsXjq+HiT6eI6cQlEjTe0M/MX7W2aQ6NBD9nxa+46DlnnQPM/wp9TEYtYDV8BAAD//2p7hGT6AAAA\n\n- path: \"/etc/systemd/system/kubectl-extract.service\"\n permissions: \"0644\"\n owner: \"root\"\n content: |\n [Unit]\n Description=Kubectl extraction\n Requires=docker.service\n After=docker.service\n ConditionPathExists=!/usr/local/bin/kubectl\n\n [Service]\n TimeoutStartSec=0\n Restart=on-failure\n RestartSec=5s\n ExecStartPre=/bin/mkdir -p /tmp/kubectldir\n ExecStartPre=/usr/bin/docker pull ',variables('kubernetesHyperkubeSpec'),'\n ExecStartPre=/usr/bin/docker run --rm -v /tmp/kubectldir:/opt/kubectldir ',variables('kubernetesHyperkubeSpec'),' /bin/bash -c \"cp /hyperkube /opt/kubectldir/\"\n ExecStartPre=/bin/mv /tmp/kubectldir/hyperkube /usr/local/bin/kubectl\n ExecStart=/bin/chmod a+x /usr/local/bin/kubectl\n\n [Install]\n WantedBy=multi-user.target\n\n- path: \"/etc/default/kubelet\"\n permissions: \"0644\"\n owner: \"root\"\n content: |\n KUBELET_CLUSTER_DNS=',variables('kubeDnsServiceIP'),'\n KUBELET_API_SERVERS=',concat('https://', variables('masterPrivateIpAddrs')[copyIndex()], ':443'),'\n KUBELET_IMAGE=',variables('kubernetesHyperkubeSpec'),'\n KUBELET_NETWORK_PLUGIN=\n DOCKER_OPTS=\n KUBELET_REGISTER_SCHEDULABLE=',variables('registerSchedulable'),'\n KUBELET_NODE_LABELS=role=master\n KUBELET_POD_INFRA_CONTAINER_IMAGE=',variables('kubernetesPodInfraContainerSpec'),'\n\n- path: \"/etc/systemd/system/kubelet.service\"\n permissions: \"0644\"\n encoding: gzip\n owner: \"root\"\n content: !!binary |\n H4sIAAAAAAAA/5RU0Y7qNhB9z1dEV/fVpOojkh9Y8N0iKKAE2ofbq8iJh8TFsdOxHUqr/fcqISwE2EorpMg+c87MnPGI7zst3Y9gBjZHWTtpNF34DBS4IIa/vESwVJj8ADiygI3MIZjsHeA9GHxPzqcfQQzWcXSUqyM/2YDpRqLRFWj3TSqgEbg8ErDnXrno0Ndif0OetKoNAo0yqaOM2zKMTO0i/o9HiHKjHZca0F5EI1s+0VUHITEkdRg1HCMls/+pURmvXUhIJrV44H8mQcUPQGzJER7zXGU08hY73Xl4IXod/hGEISEaHC2Ndf21lmJwRdlIBQWIHmiM8hXQSEAzbj93sD3ZcfdBcxdpe0Ovx+8HPD5htN2fW4zGd8DHgt7ujaJHxv1gnshMMX4/PCRu96RNgRoc2Gh8Bzyas9gMBUOgFXydracLFqfrzTbp1GH49d/F7oUt2Tad/zp5ZW89HIZReaoBW314WYlLqK3Ka0na7Qe09Ms1yWQzTxMW/8bi5O3LQNAmyY3ey+JxaNfYQFIbQaTeIyfv609kxQu4rbhZz9L56ls8Safr1XYyX7G4tzKsz4VAsJb+NOp+w5hS5nizZ9ShhwEDNM8U9I6fRQRkviikLkjJtVCAdsC6OL971YpruQfr7sjKWwdIhLb0anS63CVbFqezVfL2nG4qLjXtryNlcq4GRIRCdkyblyC8ahu/KRCz13lXIZn+wma75eRlyYaVtBFAFM9A3Ta2Ws9Yupy8sOVDY8YLUqNppACk3T/ZE8IHs+nooz+t0cO3auGbhTibwtMn05RcYi01qYwAWqOppM298ZZkKEUxbFODOxo8kFr5Qupb52z7+zpepJvl7nW+Gppv6M/BfwEAAP//lFb2TV8GAAA=\n\n- path: \"/opt/azure/containers/kubelet.sh\"\n permissions: \"0755\"\n owner: \"root\"\n content: |\n #!/bin/bash\n set -e\n\n # Azure does not support two LoadBalancers(LB) sharing the same nic and backend port.\n # As a workaround, the Internal LB(ILB) listens for apiserver traffic on port 4443 and the External LB(ELB) on port 443\n # This IPTable rule then redirects ILB traffic to port 443 in the prerouting chain\n iptables -t nat -A PREROUTING -p tcp --dport 4443 -j REDIRECT --to-port 443\n\n sed -i \"s||',variables('kubernetesAddonManagerSpec'),'|g\" \"/etc/kubernetes/manifests/kube-addon-manager.yaml\"\n sed -i \"s||',variables('kubernetesHyperkubeSpec'),'|g; s||',variables('kubeServiceCidr'),'|g; s||',variables('masterEtcdClientPort'),'|g; s||',variables('masterCount'),'|g\" \"/etc/kubernetes/manifests/kube-apiserver.yaml\"\n sed -i \"s||',variables('kubernetesHyperkubeSpec'),'|g; s||',variables('masterFqdnPrefix'),'|g\" \"/etc/kubernetes/manifests/kube-controller-manager.yaml\"\n sed -i \"s||',variables('kubernetesHyperkubeSpec'),'|g\" \"/etc/kubernetes/manifests/kube-scheduler.yaml\"\n sed -i \"s||',variables('kubernetesHyperkubeSpec'),'|g\" \"/etc/kubernetes/addons/kube-proxy-daemonset.yaml\"\n sed -i \"s||',variables('kubernetesKubeDNSSpec'),'|g; s||',variables('kubernetesDNSMasqSpec'),'|g; s||',variables('kubernetesExecHealthzSpec'),'|g\" \"/etc/kubernetes/addons/kube-dns-deployment.yaml\"\n sed -i \"s||',variables('kubernetesHeapsterSpec'),'|g; s||',variables('kubernetesAddonResizerSpec'),'|g\" \"/etc/kubernetes/addons/kube-heapster-deployment.yaml\"\n sed -i \"s||',variables('kubernetesDashboardSpec'),'|g\" \"/etc/kubernetes/addons/kubernetes-dashboard-deployment.yaml\"\n\n- path: \"/opt/azure/containers/provision.sh\"\n permissions: \"0744\"\n encoding: gzip\n owner: \"root\"\n content: !!binary |\n ',variables('provisionScript'),'\n'))]", + "linuxConfiguration": { + "disablePasswordAuthentication": "true", + "ssh": { + "publicKeys": [ + { + "keyData": "[variables('sshPublicKeyData')]", + "path": "[variables('sshKeyPath')]" + } + ] + } + } + }, + "storageProfile": { + "imageReference": { + "offer": "[variables('osImageOffer')]", + "publisher": "[variables('osImagePublisher')]", + "sku": "[variables('osImageSku')]", + "version": "[variables('osImageVersion')]" + }, + "osDisk": { + "caching": "ReadWrite", + "createOption": "FromImage", + "name": "[concat(variables('masterVMNamePrefix'), copyIndex(),'-osdisk')]", + "vhd": { + "uri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('masterStorageAccountName')),variables('apiVersionStorage')).primaryEndpoints.blob,'vhds/',variables('masterVMNamePrefix'),copyIndex(),'-osdisk.vhd')]" + } + } + } + }, + "tags": { + "creationSource": "[concat('acsengine-', variables('masterVMNamePrefix'), copyIndex())]" + }, + "type": "Microsoft.Compute/virtualMachines" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "copy": { + "count": "[variables('masterCount')]", + "name": "vmLoopNode" + }, + "dependsOn": [ + "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), copyIndex())]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('masterVMNamePrefix'), copyIndex(),'/cse', copyIndex())]", + "properties": { + "autoUpgradeMinorVersion": true, + "protectedSettings": { + "commandToExecute": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/provision.sh ',variables('tenantID'),' ',variables('subscriptionId'),' ',variables('resourceGroup'),' ',variables('location'),' ',variables('subnetName'),' ',variables('nsgName'),' ',variables('virtualNetworkName'),' ',variables('routeTableName'),' ',variables('primaryAvailablitySetName'),' ',variables('servicePrincipalClientId'),' ',variables('servicePrincipalClientSecret'),' ',variables('clientPrivateKey'),' ',variables('targetEnvironment'),' ',variables('networkPolicy'),' ',variables('apiServerPrivateKey'),' ',variables('caCertificate'),' ',variables('masterFqdnPrefix'),' ',variables('kubeConfigCertificate'),' ',variables('kubeConfigPrivateKey'),' ',variables('username'),' >> /var/log/azure/cluster-provision.log 2>&1 &\" &')]" + }, + "publisher": "Microsoft.OSTCExtensions", + "settings": {}, + "type": "CustomScriptForLinux", + "typeHandlerVersion": "1.5" + }, + "type": "Microsoft.Compute/virtualMachines/extensions" + } + ], + "outputs": { + "agentStorageAccountPrefixes": { + "type": "array", + "value": "[variables('storageAccountPrefixes')]" + }, + "agentStorageAccountSuffix": { + "type": "string", + "value": "[variables('storageAccountBaseName')]" + }, + "agentpool1StorageAccountCount": { + "type": "int", + "value": "[variables('agentpool1Count')]" + }, + "agentpool1StorageAccountOffset": { + "type": "int", + "value": "[variables('agentpool1Offset')]" + }, + "agentpool2StorageAccountCount": { + "type": "int", + "value": "[variables('agentpool2Count')]" + }, + "agentpool2StorageAccountOffset": { + "type": "int", + "value": "[variables('agentpool2Offset')]" + }, + "masterFQDN": { + "type": "string", + "value": "[reference(concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))).dnsSettings.fqdn]" + } + } +} \ No newline at end of file diff --git a/pkg/acsengine/testdata/location/kubernetes_expected_params.json b/pkg/acsengine/testdata/location/kubernetes_expected_params.json new file mode 100644 index 000000000..ec7aed36c --- /dev/null +++ b/pkg/acsengine/testdata/location/kubernetes_expected_params.json @@ -0,0 +1,104 @@ +{ + "agentpool1Count": { + "value": 3 + }, + "agentpool1Subnet": { + "value": "10.240.0.0/16" + }, + "agentpool1VMSize": { + "value": "Standard_D2_v2" + }, + "agentpool2Count": { + "value": 3 + }, + "agentpool2Subnet": { + "value": "10.240.0.0/16" + }, + "agentpool2VMSize": { + "value": "Standard_D2_v2" + }, + "apiServerCertificate": { + "value": "YXBpU2VydmVyQ2VydGlmaWNhdGU=" + }, + "apiServerPrivateKey": { + "value": "YXBpU2VydmVyUHJpdmF0ZUtleQ==" + }, + "caCertificate": { + "value": "Y2FDZXJ0aWZpY2F0ZQ==" + }, + "clientCertificate": { + "value": "Y2xpZW50Q2VydGlmaWNhdGU=" + }, + "clientPrivateKey": { + "value": "Y2xpZW50UHJpdmF0ZUtleQ==" + }, + "dockerEngineDownloadRepo": { + "value": "https://apt.dockerproject.org/repo" + }, + "firstConsecutiveStaticIP": { + "value": "10.240.255.5" + }, + "kubeConfigCertificate": { + "value": "a3ViZUNvbmZpZ0NlcnRpZmljYXRl" + }, + "kubeConfigPrivateKey": { + "value": "a3ViZUNvbmZpZ1ByaXZhdGVLZXk=" + }, + "kubernetesAddonManagerSpec": { + "value": "gcr.io/google_containers/kube-addon-manager-amd64:v6.2" + }, + "kubernetesAddonResizerSpec": { + "value": "gcr.io/google_containers/addon-resizer:1.6" + }, + "kubernetesDNSMasqSpec": { + "value": "gcr.io/google_containers/kube-dnsmasq-amd64:1.3" + }, + "kubernetesDashboardSpec": { + "value": "gcr.io/google_containers/kubernetes-dashboard-amd64:v1.5.1" + }, + "kubernetesExecHealthzSpec": { + "value": "gcr.io/google_containers/exechealthz-amd64:1.2" + }, + "kubernetesHeapsterSpec": { + "value": "gcr.io/google_containers/heapster:v1.2.0" + }, + "kubernetesHyperkubeSpec": { + "value": "gcr.io/google_containers/hyperkube-amd64:v1.5.3" + }, + "kubernetesKubeDNSSpec": { + "value": "gcr.io/google_containers/kubedns-amd64:1.7" + }, + "kubernetesPodInfraContainerSpec": { + "value": "gcr.io/google_containers/pause-amd64:3.0" + }, + "linuxAdminUsername": { + "value": "azureuser" + }, + "location": { + "value": "westus" + }, + "masterEndpointDNSNamePrefix": { + "value": "masterdns1" + }, + "masterSubnet": { + "value": "10.240.0.0/16" + }, + "masterVMSize": { + "value": "Standard_D2_v2" + }, + "networkPolicy": { + "value": "none" + }, + "servicePrincipalClientId": { + "value": "ServicePrincipalClientID" + }, + "servicePrincipalClientSecret": { + "value": "myServicePrincipalClientSecret" + }, + "sshRSAPublicKey": { + "value": "ssh-rsa PUBLICKEY azureuser@linuxvm" + }, + "targetEnvironment": { + "value": "AzurePublicCloud" + } +} \ No newline at end of file diff --git a/pkg/acsengine/testdata/location/swarm.json b/pkg/acsengine/testdata/location/swarm.json new file mode 100644 index 000000000..316b17d0b --- /dev/null +++ b/pkg/acsengine/testdata/location/swarm.json @@ -0,0 +1,42 @@ +{ + "apiVersion": "vlabs", + "location": "centralus", + "properties": { + "orchestratorProfile": { + "orchestratorType": "Swarm" + }, + "masterProfile": { + "count": 1, + "dnsPrefix": "masterdns1", + "vmSize": "Standard_D2_v2" + }, + "agentPoolProfiles": [ + { + "name": "agentpool1", + "count": 3, + "vmSize": "Standard_D2_v2", + "dnsPrefix": "agentdns1", + "ports": [ + 80, + 443, + 8080 + ] + }, + { + "name": "agentpool2", + "count": 3, + "vmSize": "Standard_D2_v2" + } + ], + "linuxProfile": { + "adminUsername": "azureuser", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa PUBLICKEY azureuser@linuxvm" + } + ] + } + } + } +} \ No newline at end of file diff --git a/pkg/acsengine/testdata/location/swarm_expected.json b/pkg/acsengine/testdata/location/swarm_expected.json new file mode 100644 index 000000000..7d5fa74e5 --- /dev/null +++ b/pkg/acsengine/testdata/location/swarm_expected.json @@ -0,0 +1,1575 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "agentpool1Count": { + "allowedValues": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100 + ], + "defaultValue": 3, + "metadata": { + "description": "The number of agents for the cluster. This value can be from 1 to 100" + }, + "type": "int" + }, + "agentpool1EndpointDNSNamePrefix": { + "metadata": { + "description": "Sets the Domain name label for the agent pool IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." + }, + "type": "string" + }, + "agentpool1Subnet": { + "defaultValue": "10.0.0.0/16", + "metadata": { + "description": "Sets the subnet of agent pool 'agentpool1'." + }, + "type": "string" + }, + "agentpool1VMSize": { + "allowedValues": [ + "Basic_A2", + "Basic_A3", + "Basic_A4", + "Standard_A10", + "Standard_A11", + "Standard_A2", + "Standard_A2_v2", + "Standard_A2m_v2", + "Standard_A3", + "Standard_A4", + "Standard_A4_v2", + "Standard_A4m_v2", + "Standard_A5", + "Standard_A6", + "Standard_A7", + "Standard_A8", + "Standard_A8_v2", + "Standard_A8m_v2", + "Standard_A9", + "Standard_D11", + "Standard_D11_v2", + "Standard_D12", + "Standard_D12_v2", + "Standard_D13", + "Standard_D13_v2", + "Standard_D14", + "Standard_D14_v2", + "Standard_D15_v2", + "Standard_D2", + "Standard_D2_v2", + "Standard_D3", + "Standard_D3_v2", + "Standard_D4", + "Standard_D4_v2", + "Standard_D5_v2", + "Standard_DS11", + "Standard_DS11_v2", + "Standard_DS12", + "Standard_DS12_v2", + "Standard_DS13", + "Standard_DS13_v2", + "Standard_DS14", + "Standard_DS14_v2", + "Standard_DS15_v2", + "Standard_DS2", + "Standard_DS2_v2", + "Standard_DS3", + "Standard_DS3_v2", + "Standard_DS4", + "Standard_DS4_v2", + "Standard_DS5_v2", + "Standard_F16", + "Standard_F16s", + "Standard_F2", + "Standard_F2s", + "Standard_F4", + "Standard_F4s", + "Standard_F8", + "Standard_F8s", + "Standard_G1", + "Standard_G2", + "Standard_G3", + "Standard_G4", + "Standard_G5", + "Standard_GS1", + "Standard_GS2", + "Standard_GS3", + "Standard_GS4", + "Standard_GS5", + "Standard_H16", + "Standard_H16m", + "Standard_H16mr", + "Standard_H16r", + "Standard_H8", + "Standard_H8m", + "Standard_NC12", + "Standard_NC24", + "Standard_NC24r", + "Standard_NC6", + "Standard_NV12", + "Standard_NV24", + "Standard_NV6" + ], + "defaultValue": "Standard_D2_v2", + "metadata": { + "description": "The size of the Virtual Machine." + }, + "type": "string" + }, + "agentpool2Count": { + "allowedValues": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100 + ], + "defaultValue": 3, + "metadata": { + "description": "The number of agents for the cluster. This value can be from 1 to 100" + }, + "type": "int" + }, + "agentpool2Subnet": { + "defaultValue": "10.1.0.0/16", + "metadata": { + "description": "Sets the subnet of agent pool 'agentpool2'." + }, + "type": "string" + }, + "agentpool2VMSize": { + "allowedValues": [ + "Basic_A2", + "Basic_A3", + "Basic_A4", + "Standard_A10", + "Standard_A11", + "Standard_A2", + "Standard_A2_v2", + "Standard_A2m_v2", + "Standard_A3", + "Standard_A4", + "Standard_A4_v2", + "Standard_A4m_v2", + "Standard_A5", + "Standard_A6", + "Standard_A7", + "Standard_A8", + "Standard_A8_v2", + "Standard_A8m_v2", + "Standard_A9", + "Standard_D11", + "Standard_D11_v2", + "Standard_D12", + "Standard_D12_v2", + "Standard_D13", + "Standard_D13_v2", + "Standard_D14", + "Standard_D14_v2", + "Standard_D15_v2", + "Standard_D2", + "Standard_D2_v2", + "Standard_D3", + "Standard_D3_v2", + "Standard_D4", + "Standard_D4_v2", + "Standard_D5_v2", + "Standard_DS11", + "Standard_DS11_v2", + "Standard_DS12", + "Standard_DS12_v2", + "Standard_DS13", + "Standard_DS13_v2", + "Standard_DS14", + "Standard_DS14_v2", + "Standard_DS15_v2", + "Standard_DS2", + "Standard_DS2_v2", + "Standard_DS3", + "Standard_DS3_v2", + "Standard_DS4", + "Standard_DS4_v2", + "Standard_DS5_v2", + "Standard_F16", + "Standard_F16s", + "Standard_F2", + "Standard_F2s", + "Standard_F4", + "Standard_F4s", + "Standard_F8", + "Standard_F8s", + "Standard_G1", + "Standard_G2", + "Standard_G3", + "Standard_G4", + "Standard_G5", + "Standard_GS1", + "Standard_GS2", + "Standard_GS3", + "Standard_GS4", + "Standard_GS5", + "Standard_H16", + "Standard_H16m", + "Standard_H16mr", + "Standard_H16r", + "Standard_H8", + "Standard_H8m", + "Standard_NC12", + "Standard_NC24", + "Standard_NC24r", + "Standard_NC6", + "Standard_NV12", + "Standard_NV24", + "Standard_NV6" + ], + "defaultValue": "Standard_D2_v2", + "metadata": { + "description": "The size of the Virtual Machine." + }, + "type": "string" + }, + "firstConsecutiveStaticIP": { + "defaultValue": "172.16.0.5", + "metadata": { + "description": "Sets the static IP of the first master" + }, + "type": "string" + }, + "linuxAdminUsername": { + "metadata": { + "description": "User name for the Linux Virtual Machines (SSH or Password)." + }, + "type": "string" + }, + "location": { + "defaultValue": "centralus", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, + "masterEndpointDNSNamePrefix": { + "metadata": { + "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." + }, + "type": "string" + }, + "masterSubnet": { + "defaultValue": "172.16.0.0/24", + "metadata": { + "description": "Sets the subnet of the master node(s)." + }, + "type": "string" + }, + "masterVMSize": { + "allowedValues": [ + "Basic_A2", + "Basic_A3", + "Basic_A4", + "Standard_A10", + "Standard_A11", + "Standard_A2", + "Standard_A2_v2", + "Standard_A2m_v2", + "Standard_A3", + "Standard_A4", + "Standard_A4_v2", + "Standard_A4m_v2", + "Standard_A5", + "Standard_A6", + "Standard_A7", + "Standard_A8", + "Standard_A8_v2", + "Standard_A8m_v2", + "Standard_A9", + "Standard_D11", + "Standard_D11_v2", + "Standard_D12", + "Standard_D12_v2", + "Standard_D13", + "Standard_D13_v2", + "Standard_D14", + "Standard_D14_v2", + "Standard_D15_v2", + "Standard_D2", + "Standard_D2_v2", + "Standard_D3", + "Standard_D3_v2", + "Standard_D4", + "Standard_D4_v2", + "Standard_D5_v2", + "Standard_DS11", + "Standard_DS11_v2", + "Standard_DS12", + "Standard_DS12_v2", + "Standard_DS13", + "Standard_DS13_v2", + "Standard_DS14", + "Standard_DS14_v2", + "Standard_DS15_v2", + "Standard_DS2", + "Standard_DS2_v2", + "Standard_DS3", + "Standard_DS3_v2", + "Standard_DS4", + "Standard_DS4_v2", + "Standard_DS5_v2", + "Standard_F16", + "Standard_F16s", + "Standard_F2", + "Standard_F2s", + "Standard_F4", + "Standard_F4s", + "Standard_F8", + "Standard_F8s", + "Standard_G1", + "Standard_G2", + "Standard_G3", + "Standard_G4", + "Standard_G5", + "Standard_GS1", + "Standard_GS2", + "Standard_GS3", + "Standard_GS4", + "Standard_GS5", + "Standard_H16", + "Standard_H16m", + "Standard_H16mr", + "Standard_H16r", + "Standard_H8", + "Standard_H8m", + "Standard_NC12", + "Standard_NC24", + "Standard_NC24r", + "Standard_NC6", + "Standard_NV12", + "Standard_NV24", + "Standard_NV6" + ], + "metadata": { + "description": "The size of the Virtual Machine." + }, + "type": "string" + }, + "nameSuffix": { + "defaultValue": "31559618", + "metadata": { + "description": "A string hash of the master DNS name to uniquely identify the cluster." + }, + "type": "string" + }, + "sshRSAPublicKey": { + "metadata": { + "description": "SSH public key used for auth to all Linux machines. Not Required. If not set, you must provide a password key." + }, + "type": "string" + }, + "targetEnvironment": { + "defaultValue": "AzureCloud", + "metadata": { + "description": "The azure deploy environment. Currently support: AzureCloud, AzureChinaCloud" + }, + "type": "string" + } + }, + "variables": { + "adminUsername": "[parameters('linuxAdminUsername')]", + "agentCustomScript": "[concat('/usr/bin/nohup /bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1 &\" &')]", + "agentMaxVMs": 100, + "agentRunCmd": "[concat('runcmd:\n - [ /bin/bash, /opt/azure/containers/install-cluster.sh ]\n\n')]", + "agentRunCmdFile": "[concat(' - content: |\n #!/bin/bash\n ','sudo mkdir -p /var/log/azure\n ',variables('agentCustomScript'),'\n path: /opt/azure/containers/install-cluster.sh\n permissions: \"0744\"\n')]", + "agentpool1AccountName": "[concat(variables('storageAccountBaseName'), 'agnt0')]", + "agentpool1Count": "[parameters('agentpool1Count')]", + "agentpool1EndpointDNSNamePrefix": "[tolower(parameters('agentpool1EndpointDNSNamePrefix'))]", + "agentpool1IPAddressName": "[concat(variables('orchestratorName'), '-agent-ip-', variables('agentpool1EndpointDNSNamePrefix'), '-', variables('nameSuffix'))]", + "agentpool1Index": 0, + "agentpool1LbBackendPoolName": "[concat(variables('orchestratorName'), '-agentpool1-', variables('nameSuffix'))]", + "agentpool1LbID": "[resourceId('Microsoft.Network/loadBalancers',variables('agentpool1LbName'))]", + "agentpool1LbIPConfigID": "[concat(variables('agentpool1LbID'),'/frontendIPConfigurations/', variables('agentpool1LbIPConfigName'))]", + "agentpool1LbIPConfigName": "[concat(variables('orchestratorName'), '-agentpool1-', variables('nameSuffix'))]", + "agentpool1LbName": "[concat(variables('orchestratorName'), '-agentpool1-', variables('nameSuffix'))]", + "agentpool1StorageAccountOffset": "[mul(variables('maxStorageAccountsPerAgent'),0)]", + "agentpool1StorageAccountsCount": "[variables('maxStorageAccountsPerAgent')]", + "agentpool1Subnet": "[parameters('agentpool1Subnet')]", + "agentpool1SubnetName": "[concat(variables('orchestratorName'), '-agentpool1subnet')]", + "agentpool1VMNamePrefix": "[concat(variables('orchestratorName'), '-agentpool1-', variables('nameSuffix'))]", + "agentpool1VMSize": "[parameters('agentpool1VMSize')]", + "agentpool1VnetSubnetID": "[concat(variables('vnetID'),'/subnets/',variables('agentpool1SubnetName'))]", + "agentpool2AccountName": "[concat(variables('storageAccountBaseName'), 'agnt1')]", + "agentpool2Count": "[parameters('agentpool2Count')]", + "agentpool2Index": 1, + "agentpool2StorageAccountOffset": "[mul(variables('maxStorageAccountsPerAgent'),1)]", + "agentpool2StorageAccountsCount": "[variables('maxStorageAccountsPerAgent')]", + "agentpool2Subnet": "[parameters('agentpool2Subnet')]", + "agentpool2SubnetName": "[concat(variables('orchestratorName'), '-agentpool2subnet')]", + "agentpool2VMNamePrefix": "[concat(variables('orchestratorName'), '-agentpool2-', variables('nameSuffix'))]", + "agentpool2VMSize": "[parameters('agentpool2VMSize')]", + "agentpool2VnetSubnetID": "[concat(variables('vnetID'),'/subnets/',variables('agentpool2SubnetName'))]", + "apiVersionDefault": "2016-03-30", + "apiVersionStorage": "2015-06-15", + "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", + "configureClusterScriptFile": "configure-swarm-cluster.sh", + "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], + "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", + "masterCount": 1, + "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", + "masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]", + "masterFirstAddrOctet4": "[variables('masterFirstAddrOctets')[3]]", + "masterFirstAddrOctets": "[split(parameters('firstConsecutiveStaticIP'),'.')]", + "masterFirstAddrPrefix": "[concat(variables('masterFirstAddrOctets')[0],'.',variables('masterFirstAddrOctets')[1],'.',variables('masterFirstAddrOctets')[2],'.')]", + "masterLbBackendPoolName": "[concat(variables('orchestratorName'), '-master-pool-', variables('nameSuffix'))]", + "masterLbID": "[resourceId('Microsoft.Network/loadBalancers',variables('masterLbName'))]", + "masterLbIPConfigID": "[concat(variables('masterLbID'),'/frontendIPConfigurations/', variables('masterLbIPConfigName'))]", + "masterLbIPConfigName": "[concat(variables('orchestratorName'), '-master-lbFrontEnd-', variables('nameSuffix'))]", + "masterLbInboundNatRules": [ + [ + { + "id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'0')]" + }, + { + "id": "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]" + } + ], + [ + { + "id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'1')]" + } + ], + [ + { + "id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'2')]" + } + ], + [ + { + "id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'3')]" + } + ], + [ + { + "id": "[concat(variables('masterSshInboundNatRuleIdPrefix'),'4')]" + } + ] + ], + "masterLbName": "[concat(variables('orchestratorName'), '-master-lb-', variables('nameSuffix'))]", + "masterPublicIPAddressName": "[concat(variables('orchestratorName'), '-master-ip-', variables('masterEndpointDNSNamePrefix'), '-', variables('nameSuffix'))]", + "masterSshInboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'))]", + "masterSshPort22InboundNatRuleIdPrefix": "[concat(variables('masterLbID'),'/inboundNatRules/SSHPort22-',variables('masterVMNamePrefix'))]", + "masterSshPort22InboundNatRuleNamePrefix": "[concat(variables('masterLbName'),'/SSHPort22-',variables('masterVMNamePrefix'))]", + "masterStorageAccountName": "[concat(variables('storageAccountBaseName'), '0')]", + "masterSubnet": "[parameters('masterSubnet')]", + "masterSubnetName": "[concat(variables('orchestratorName'), '-masterSubnet')]", + "masterVMNamePrefix": "[concat(variables('orchestratorName'), '-master-', variables('nameSuffix'), '-')]", + "masterVMSize": "[parameters('masterVMSize')]", + "masterVnetSubnetID": "[concat(variables('vnetID'),'/subnets/',variables('masterSubnetName'))]", + "maxStorageAccountsPerAgent": "[div(variables('maxVMsPerPool'),variables('maxVMsPerStorageAccount'))]", + "maxVMsPerPool": 100, + "maxVMsPerStorageAccount": 20, + "nameSuffix": "[parameters('nameSuffix')]", + "orchestratorName": "swarm", + "osImageOffer": "UbuntuServer", + "osImagePublisher": "Canonical", + "osImageSKU": "14.04.4-LTS", + "osImageVersion": "latest", + "postInstallScriptURI": "disabled", + "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", + "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", + "storageAccountPrefixes": [ + "0", + "6", + "c", + "i", + "o", + "u", + "1", + "7", + "d", + "j", + "p", + "v", + "2", + "8", + "e", + "k", + "q", + "w", + "3", + "9", + "f", + "l", + "r", + "x", + "4", + "a", + "g", + "m", + "s", + "y", + "5", + "b", + "h", + "n", + "t", + "z" + ], + "storageAccountPrefixesCount": "[length(variables('storageAccountPrefixes'))]", + "virtualNetworkName": "[concat(variables('orchestratorName'), '-vnet-', variables('nameSuffix'))]", + "vmSizesMap": { + "Basic_A2": { + "storageAccountType": "Standard_LRS" + }, + "Basic_A3": { + "storageAccountType": "Standard_LRS" + }, + "Basic_A4": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A10": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A11": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A2_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A2m_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A3": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A4": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A4_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A4m_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A5": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A6": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A7": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A8": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A8_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A8m_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_A9": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D11": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D11_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D12": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D12_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D13": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D13_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D14": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D14_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D15_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D2_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D3": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D3_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D4": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D4_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_D5_v2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_DS11": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS11_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS12": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS12_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS13": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS13_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS14": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS14_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS15_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS2_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS3": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS3_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS4": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS4_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_DS5_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_F16": { + "storageAccountType": "Standard_LRS" + }, + "Standard_F16s": { + "storageAccountType": "Premium_LRS" + }, + "Standard_F2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_F2s": { + "storageAccountType": "Premium_LRS" + }, + "Standard_F4": { + "storageAccountType": "Standard_LRS" + }, + "Standard_F4s": { + "storageAccountType": "Premium_LRS" + }, + "Standard_F8": { + "storageAccountType": "Standard_LRS" + }, + "Standard_F8s": { + "storageAccountType": "Premium_LRS" + }, + "Standard_G1": { + "storageAccountType": "Standard_LRS" + }, + "Standard_G2": { + "storageAccountType": "Standard_LRS" + }, + "Standard_G3": { + "storageAccountType": "Standard_LRS" + }, + "Standard_G4": { + "storageAccountType": "Standard_LRS" + }, + "Standard_G5": { + "storageAccountType": "Standard_LRS" + }, + "Standard_GS1": { + "storageAccountType": "Premium_LRS" + }, + "Standard_GS2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_GS3": { + "storageAccountType": "Premium_LRS" + }, + "Standard_GS4": { + "storageAccountType": "Premium_LRS" + }, + "Standard_GS5": { + "storageAccountType": "Premium_LRS" + }, + "Standard_H16": { + "storageAccountType": "Standard_LRS" + }, + "Standard_H16m": { + "storageAccountType": "Standard_LRS" + }, + "Standard_H16mr": { + "storageAccountType": "Standard_LRS" + }, + "Standard_H16r": { + "storageAccountType": "Standard_LRS" + }, + "Standard_H8": { + "storageAccountType": "Standard_LRS" + }, + "Standard_H8m": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NC12": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NC24": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NC24r": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NC6": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NV12": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NV24": { + "storageAccountType": "Standard_LRS" + }, + "Standard_NV6": { + "storageAccountType": "Standard_LRS" + } + }, + "vmsPerStorageAccount": 20, + "vnetID": "[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]" + }, + "resources": [ + { + "apiVersion": "[variables('apiVersionStorage')]", + "copy": { + "count": "[variables('agentpool1StorageAccountsCount')]", + "name": "vmLoopNode" + }, + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool1AccountName'))]", + "properties": { + "accountType": "[variables('vmSizesMap')[variables('agentpool1VMSize')].storageAccountType]" + }, + "type": "Microsoft.Storage/storageAccounts" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "location": "[variables('location')]", + "name": "[variables('agentpool1IPAddressName')]", + "properties": { + "dnsSettings": { + "domainNameLabel": "[variables('agentpool1EndpointDNSNamePrefix')]" + }, + "publicIPAllocationMethod": "Dynamic" + }, + "type": "Microsoft.Network/publicIPAddresses" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('agentpool1IPAddressName'))]" + ], + "location": "[variables('location')]", + "name": "[variables('agentpool1LbName')]", + "properties": { + "backendAddressPools": [ + { + "name": "[variables('agentpool1LbBackendPoolName')]" + } + ], + "frontendIPConfigurations": [ + { + "name": "[variables('agentpool1LbIPConfigName')]", + "properties": { + "publicIPAddress": { + "id": "[resourceId('Microsoft.Network/publicIPAddresses',variables('agentpool1IPAddressName'))]" + } + } + } + ], + "inboundNatRules": [], + "loadBalancingRules": [ + { + "name": "LBRule80", + "properties": { + "backendAddressPool": { + "id": "[concat(variables('agentpool1LbID'), '/backendAddressPools/', variables('agentpool1LbBackendPoolName'))]" + }, + "backendPort": 80, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "[variables('agentpool1LbIPConfigID')]" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 5, + "loadDistribution": "Default", + "probe": { + "id": "[concat(variables('agentpool1LbID'),'/probes/tcp80Probe')]" + }, + "protocol": "tcp" + } + }, + { + "name": "LBRule443", + "properties": { + "backendAddressPool": { + "id": "[concat(variables('agentpool1LbID'), '/backendAddressPools/', variables('agentpool1LbBackendPoolName'))]" + }, + "backendPort": 443, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "[variables('agentpool1LbIPConfigID')]" + }, + "frontendPort": 443, + "idleTimeoutInMinutes": 5, + "loadDistribution": "Default", + "probe": { + "id": "[concat(variables('agentpool1LbID'),'/probes/tcp443Probe')]" + }, + "protocol": "tcp" + } + }, + { + "name": "LBRule8080", + "properties": { + "backendAddressPool": { + "id": "[concat(variables('agentpool1LbID'), '/backendAddressPools/', variables('agentpool1LbBackendPoolName'))]" + }, + "backendPort": 8080, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "[variables('agentpool1LbIPConfigID')]" + }, + "frontendPort": 8080, + "idleTimeoutInMinutes": 5, + "loadDistribution": "Default", + "probe": { + "id": "[concat(variables('agentpool1LbID'),'/probes/tcp8080Probe')]" + }, + "protocol": "tcp" + } + } + ], + "probes": [ + { + "name": "tcp80Probe", + "properties": { + "intervalInSeconds": "5", + "numberOfProbes": "2", + "port": 80, + "protocol": "tcp" + } + }, + { + "name": "tcp443Probe", + "properties": { + "intervalInSeconds": "5", + "numberOfProbes": "2", + "port": 443, + "protocol": "tcp" + } + }, + { + "name": "tcp8080Probe", + "properties": { + "intervalInSeconds": "5", + "numberOfProbes": "2", + "port": 8080, + "protocol": "tcp" + } + } + ] + }, + "type": "Microsoft.Network/loadBalancers" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]", + "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(0,variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(0,variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool1AccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(1,variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(1,variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool1AccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(2,variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(2,variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool1AccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(3,variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool1AccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool1AccountName'))]", + "[variables('vnetID')]", + "[variables('agentpool1LbID')]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('agentpool1VMNamePrefix'), '-vmss')]", + "properties": { + "upgradePolicy": { + "mode": "Automatic" + }, + "virtualMachineProfile": { + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "nic", + "properties": { + "ipConfigurations": [ + { + "name": "nicipconfig", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "[concat(variables('agentpool1LbID'), '/backendAddressPools/', variables('agentpool1LbBackendPoolName'))]" + } + ], + "subnet": { + "id": "[variables('agentpool1VnetSubnetID')]" + } + } + } + ], + "primary": "true" + } + } + ] + }, + "osProfile": { + "adminUsername": "[variables('adminUsername')]", + "computerNamePrefix": "[variables('agentpool1VMNamePrefix')]", + "customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAAAAAA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2A/gUoIaGZBLxGoBEEkT1d4nhIE5svYCMhHglOVPPQ7CGDBBVCgDB47rVan216/gZgjADugxMkI6AI+gf9XCMiv0IafjUwlhJkH7UcZVpBgCXNCGCx4wWK9zxRlBXGKezxpu08WvuZC7CqI9JzOXBB8a54X1PzIlJAc9GJizrQR6+iuGQgYcZ5XfluLG2sxJxIYV6XZF4Dn3CYPyqTCaWr9IPdUGZsLirZJYJYf0P9IBOX7E7BvUL9b6sw1DGOyClmRppAolfdCndqWrYhnX5WJLcd2WShXQiUkVun3WGhv09C0cZiCLXOaAmfyEAV0YRO4fckBb4jpIufX7uagOUSYlfR+ETtbm8IAG9D/dya+BRERZrW9YUCPY0Gk/N85Wu/JbOjj0NW7WQ3wGUJUZjbXu9xnVuY1iwL0++BtMnZziYKoQjDQ+JJUkrqsU/pDF1DZeVMOLbExiMQmvWKwSh7SOYBKvCRMbRzbnaNhatt8u2HezPW0dQZGyVqPOJNFKpVw9u07FkvZ97x6RM+kiVT/5KRWbIPO6ekM3piIMT7Zb8Pz68F1f0buc7FTUOE5+HRmlC9GhirPf9xUwrX/WJtj7aHNbvGqEuuZbeO1vd2NU/fff9y8rYM550oqgfOA3OckUo2uAbz6Rthvzqd/yB6OV0QoKgn4dqHORsXfU4MFUeIh+DenbGu08dBtT9s9bYahdcmnmdI/qcg9df1g+0nIK47W+1sO23WUe1iSdKED4/3V5JCy62r8cldW3ZPu9YqYgyIEAgwhUVGoN6zctYuO4MImBnjPo1sidjWcGaemUwm2idI06fo9NiM9hFyOsTO5kG8m7fZ2SQ2UoETCKwgcKxFnTJBFobvVILjDVBl5v/Magl+HgSm8sheGS6Ja1rCuv3rJyVdN/XbVdill8iQxyCKKiJSLIk2/vOiukaK696vDgwxFhSQi4zEE+G8OxlprujfnHMFEH5scXYaLlEpFGHAGve7LP72GE8YBFyp5AfNCaehXjKjTMqSP3UFpOLqe9L3gIxSM3vfCMFxhEYqChQ5VyaNbCD5Cu2X+s1MHgTulBVJxQfp2D/TC8Nhv7IHen1+32zXtarv2q3A1Ex57x/uiNSYLXKTKuWJS6U4UOrginuVcEq8ZfOdW+q1jkKqkmOv4c56GzptQkJRgSWQY8zuWchyH/v7zqRsYuIHBrLBlVc6qx2wGbyEspAhTHuHUHKebo75B4DcNfIsN4ChCUaI3wPP731mi3S+SiBWNSEm+IOYOoTyGNRJPrcfEqhyw6dOMa1p2sMN8uYkTY7ucgi34VwW86UZ7b/7ZaS/rHuUSAvxHDwANq4fbzo0DtY7Ta/aILqEdqFOH/tBRVUR0ZFAFokiJLDkFXZNywXWwkb2H76fm3t8tZrcxFRDkEMZY4dAmr6qPc7lMI5ThJenB1MsFXwpaZE516pkeLsswi3sQ6GAkAgLT+5X3LPWOASDnQsmewTOAqaezokmNU28je6llL7dlHS3r7JOFRZw35V0t7+6Tbeu+0rZeOVsrnhYZqblXh6VnXoyeY0QDgtM7/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]", + "linuxConfiguration": { + "disablePasswordAuthentication": "true", + "ssh": { + "publicKeys": [ + { + "keyData": "[parameters('sshRSAPublicKey')]", + "path": "[variables('sshKeyPath')]" + } + ] + } + } + }, + "storageProfile": { + "imageReference": { + "offer": "[variables('osImageOffer')]", + "publisher": "[variables('osImagePublisher')]", + "sku": "[variables('osImageSKU')]", + "version": "latest" + }, + "osDisk": { + "caching": "ReadWrite", + "createOption": "FromImage", + "name": "vmssosdisk", + "vhdContainers": [ + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(0,variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(0,variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool1AccountName')), variables('apiVersionStorage') ).primaryEndpoints.blob, 'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(1,variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(1,variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool1AccountName')), variables('apiVersionStorage')).primaryEndpoints.blob, 'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(2,variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(2,variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool1AccountName')), variables('apiVersionStorage')).primaryEndpoints.blob, 'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool1AccountName')), variables('apiVersionStorage')).primaryEndpoints.blob, 'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool1AccountName')), variables('apiVersionStorage')).primaryEndpoints.blob, 'osdisk')]" + ] + } + } + } + }, + "sku": { + "capacity": "[variables('agentpool1Count')]", + "name": "[variables('agentpool1VMSize')]", + "tier": "Standard" + }, + "tags": { + "creationSource": "[concat('acsengine-', variables('agentpool1VMNamePrefix'), '-vmss')]" + }, + "type": "Microsoft.Compute/virtualMachineScaleSets" + }, + { + "apiVersion": "[variables('apiVersionStorage')]", + "copy": { + "count": "[variables('agentpool2StorageAccountsCount')]", + "name": "vmLoopNode" + }, + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName'))]", + "properties": { + "accountType": "[variables('vmSizesMap')[variables('agentpool2VMSize')].storageAccountType]" + }, + "type": "Microsoft.Storage/storageAccounts" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]", + "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(0,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(0,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(1,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(1,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(2,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(2,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(3,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName'))]", + "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName'))]", + "[variables('vnetID')]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('agentpool2VMNamePrefix'), '-vmss')]", + "properties": { + "upgradePolicy": { + "mode": "Automatic" + }, + "virtualMachineProfile": { + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "nic", + "properties": { + "ipConfigurations": [ + { + "name": "nicipconfig", + "properties": { + "subnet": { + "id": "[variables('agentpool2VnetSubnetID')]" + } + } + } + ], + "primary": "true" + } + } + ] + }, + "osProfile": { + "adminUsername": "[variables('adminUsername')]", + "computerNamePrefix": "[variables('agentpool2VMNamePrefix')]", + "customData": "[base64(concat('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAAAAAA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2A/gUoIaGZBLxGoBEEkT1d4nhIE5svYCMhHglOVPPQ7CGDBBVCgDB47rVan216/gZgjADugxMkI6AI+gf9XCMiv0IafjUwlhJkH7UcZVpBgCXNCGCx4wWK9zxRlBXGKezxpu08WvuZC7CqI9JzOXBB8a54X1PzIlJAc9GJizrQR6+iuGQgYcZ5XfluLG2sxJxIYV6XZF4Dn3CYPyqTCaWr9IPdUGZsLirZJYJYf0P9IBOX7E7BvUL9b6sw1DGOyClmRppAolfdCndqWrYhnX5WJLcd2WShXQiUkVun3WGhv09C0cZiCLXOaAmfyEAV0YRO4fckBb4jpIufX7uagOUSYlfR+ETtbm8IAG9D/dya+BRERZrW9YUCPY0Gk/N85Wu/JbOjj0NW7WQ3wGUJUZjbXu9xnVuY1iwL0++BtMnZziYKoQjDQ+JJUkrqsU/pDF1DZeVMOLbExiMQmvWKwSh7SOYBKvCRMbRzbnaNhatt8u2HezPW0dQZGyVqPOJNFKpVw9u07FkvZ97x6RM+kiVT/5KRWbIPO6ekM3piIMT7Zb8Pz68F1f0buc7FTUOE5+HRmlC9GhirPf9xUwrX/WJtj7aHNbvGqEuuZbeO1vd2NU/fff9y8rYM550oqgfOA3OckUo2uAbz6Rthvzqd/yB6OV0QoKgn4dqHORsXfU4MFUeIh+DenbGu08dBtT9s9bYahdcmnmdI/qcg9df1g+0nIK47W+1sO23WUe1iSdKED4/3V5JCy62r8cldW3ZPu9YqYgyIEAgwhUVGoN6zctYuO4MImBnjPo1sidjWcGaemUwm2idI06fo9NiM9hFyOsTO5kG8m7fZ2SQ2UoETCKwgcKxFnTJBFobvVILjDVBl5v/Magl+HgSm8sheGS6Ja1rCuv3rJyVdN/XbVdill8iQxyCKKiJSLIk2/vOiukaK696vDgwxFhSQi4zEE+G8OxlprujfnHMFEH5scXYaLlEpFGHAGve7LP72GE8YBFyp5AfNCaehXjKjTMqSP3UFpOLqe9L3gIxSM3vfCMFxhEYqChQ5VyaNbCD5Cu2X+s1MHgTulBVJxQfp2D/TC8Nhv7IHen1+32zXtarv2q3A1Ex57x/uiNSYLXKTKuWJS6U4UOrginuVcEq8ZfOdW+q1jkKqkmOv4c56GzptQkJRgSWQY8zuWchyH/v7zqRsYuIHBrLBlVc6qx2wGbyEspAhTHuHUHKebo75B4DcNfIsN4ChCUaI3wPP731mi3S+SiBWNSEm+IOYOoTyGNRJPrcfEqhyw6dOMa1p2sMN8uYkTY7ucgi34VwW86UZ7b/7ZaS/rHuUSAvxHDwANq4fbzo0DtY7Ta/aILqEdqFOH/tBRVUR0ZFAFokiJLDkFXZNywXWwkb2H76fm3t8tZrcxFRDkEMZY4dAmr6qPc7lMI5ThJenB1MsFXwpaZE516pkeLsswi3sQ6GAkAgLT+5X3LPWOASDnQsmewTOAqaezokmNU28je6llL7dlHS3r7JOFRZw35V0t7+6Tbeu+0rZeOVsrnhYZqblXh6VnXoyeY0QDgtM7/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n',variables('agentRunCmdFile'),variables('agentRunCmd')))]", + "linuxConfiguration": { + "disablePasswordAuthentication": "true", + "ssh": { + "publicKeys": [ + { + "keyData": "[parameters('sshRSAPublicKey')]", + "path": "[variables('sshKeyPath')]" + } + ] + } + } + }, + "storageProfile": { + "imageReference": { + "offer": "[variables('osImageOffer')]", + "publisher": "[variables('osImagePublisher')]", + "sku": "[variables('osImageSKU')]", + "version": "latest" + }, + "osDisk": { + "caching": "ReadWrite", + "createOption": "FromImage", + "name": "vmssosdisk", + "vhdContainers": [ + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(0,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(0,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName')), variables('apiVersionStorage') ).primaryEndpoints.blob, 'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(1,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(1,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName')), variables('apiVersionStorage')).primaryEndpoints.blob, 'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(2,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(2,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName')), variables('apiVersionStorage')).primaryEndpoints.blob, 'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName')), variables('apiVersionStorage')).primaryEndpoints.blob, 'osdisk')]", + "[concat(reference(concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName')), variables('apiVersionStorage')).primaryEndpoints.blob, 'osdisk')]" + ] + } + } + } + }, + "sku": { + "capacity": "[variables('agentpool2Count')]", + "name": "[variables('agentpool2VMSize')]", + "tier": "Standard" + }, + "tags": { + "creationSource": "[concat('acsengine-', variables('agentpool2VMNamePrefix'), '-vmss')]" + }, + "type": "Microsoft.Compute/virtualMachineScaleSets" + }, + { + "apiVersion": "[variables('apiVersionStorage')]", + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" + ], + "location": "[variables('location')]", + "name": "[variables('masterStorageAccountName')]", + "properties": { + "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" + }, + "type": "Microsoft.Storage/storageAccounts" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "location": "[variables('location')]", + "name": "[variables('virtualNetworkName')]", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "[variables('masterSubnet')]", + "[variables('agentpool1Subnet')]", + "[variables('agentpool2Subnet')]" + ] + }, + "subnets": [ + { + "name": "[variables('masterSubnetName')]", + "properties": { + "addressPrefix": "[variables('masterSubnet')]" + } + }, + { + "name": "[variables('agentpool1SubnetName')]", + "properties": { + "addressPrefix": "[variables('agentpool1Subnet')]" + } + }, + { + "name": "[variables('agentpool2SubnetName')]", + "properties": { + "addressPrefix": "[variables('agentpool2Subnet')]" + } + } + ] + }, + "type": "Microsoft.Network/virtualNetworks" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "location": "[variables('location')]", + "name": "[variables('masterAvailabilitySet')]", + "properties": {}, + "type": "Microsoft.Compute/availabilitySets" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "location": "[variables('location')]", + "name": "[variables('masterPublicIPAddressName')]", + "properties": { + "dnsSettings": { + "domainNameLabel": "[variables('masterEndpointDNSNamePrefix')]" + }, + "publicIPAllocationMethod": "Dynamic" + }, + "type": "Microsoft.Network/publicIPAddresses" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "dependsOn": [ + "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" + ], + "location": "[variables('location')]", + "name": "[variables('masterLbName')]", + "properties": { + "backendAddressPools": [ + { + "name": "[variables('masterLbBackendPoolName')]" + } + ], + "frontendIPConfigurations": [ + { + "name": "[variables('masterLbIPConfigName')]", + "properties": { + "publicIPAddress": { + "id": "[resourceId('Microsoft.Network/publicIPAddresses',variables('masterPublicIPAddressName'))]" + } + } + } + ] + }, + "type": "Microsoft.Network/loadBalancers" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "copy": { + "count": "[variables('masterCount')]", + "name": "masterLbLoopNode" + }, + "dependsOn": [ + "[variables('masterLbID')]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", + "properties": { + "backendPort": 22, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "[variables('masterLbIPConfigID')]" + }, + "frontendPort": "[copyIndex(2200)]", + "protocol": "tcp" + }, + "type": "Microsoft.Network/loadBalancers/inboundNatRules" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "dependsOn": [ + "[variables('masterLbID')]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", + "properties": { + "backendPort": 2222, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "[variables('masterLbIPConfigID')]" + }, + "frontendPort": "22", + "protocol": "tcp" + }, + "type": "Microsoft.Network/loadBalancers/inboundNatRules" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "copy": { + "count": "[variables('masterCount')]", + "name": "nicLoopNode" + }, + "dependsOn": [ + "[variables('vnetID')]", + "[variables('masterLbID')]", + "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", + "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", + "properties": { + "ipConfigurations": [ + { + "name": "ipConfigNode", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]" + } + ], + "loadBalancerInboundNatRules": "[variables('masterLbInboundNatRules')[copyIndex()]]", + "privateIPAddress": "[concat(variables('masterFirstAddrPrefix'), copyIndex(int(variables('masterFirstAddrOctet4'))))]", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "[variables('masterVnetSubnetID')]" + } + } + } + ] + }, + "type": "Microsoft.Network/networkInterfaces" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "copy": { + "count": "[variables('masterCount')]", + "name": "vmLoopNode" + }, + "dependsOn": [ + "[concat('Microsoft.Network/networkInterfaces/', variables('masterVMNamePrefix'), 'nic-', copyIndex())]", + "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", + "[variables('masterStorageAccountName')]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", + "properties": { + "availabilitySet": { + "id": "[resourceId('Microsoft.Compute/availabilitySets',variables('masterAvailabilitySet'))]" + }, + "hardwareProfile": { + "vmSize": "[variables('masterVMSize')]" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "[resourceId('Microsoft.Network/networkInterfaces',concat(variables('masterVMNamePrefix'), 'nic-', copyIndex()))]" + } + ] + }, + "osProfile": { + "adminUsername": "[variables('adminUsername')]", + "computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]", + "customData": "[base64('#cloud-config\n\nwrite_files:\n - encoding: gzip\n content: !!binary |\n H4sIAAAAAAAA/8xYbXPbuBH+jl+xR3POdhKKkpJcW2WUjuMojadnSyPZ106juwgiIRE1CfAAULbr03/v4IUUqRdfrpPM1DcXkcsFdvE8i90Fjr4L55SFcywThCRRENwjRKKEgycVFoqyJcg7LDKI0kIqIiDibEGXhcCKcuahGCuCcgn4HqHJP87Gl59/GownF8OrvmfG9TqtTqvtoffD878Pxp/Ph5ej4WSwUeq0fmh1PXRU/0NHMMICZ0QRIbc+ocuzyfVgfD68ubru+4+dtROMxoMPF//s+4/dUvLhYjy5Pnv/ftz3H1+u0dm/bsaDm8lAv75ao9Fwcn1xNbk++/HHyfn4YnR9M77o+4+v1+jd2WQwuXl3NdDz/7BGP11enV0O+rOES8VwRmZacnP5bjDuzwxSvtWA30CSGI5l2Hr26Zd28JefpyefzM/z6ekzP5x2wmM91nl6YOz0pBp9+swNL8c6Yi6xIeKcF0z1wK8B4jU1RoIs6H2lYg1v6XygQio4i2NR6VXAlaqrTK+7VzpbiksY7Afz+ALK9Rlh0+IG2B74m5fyc0VQD/zq2UNN/qsAOedZxhl8KFikA1HuVUOEyUKQs/8UglwRdcfF7ckpekQAR2A/gUoIaGZBLxGoBEEkT1d4nhIE5svYCMhHglOVPPQ7CGDBBVCgDB47rVan216/gZgjADugxMkI6AI+gf9XCMiv0IafjUwlhJkH7UcZVpBgCXNCGCx4wWK9zxRlBXGKezxpu08WvuZC7CqI9JzOXBB8a54X1PzIlJAc9GJizrQR6+iuGQgYcZ5XfluLG2sxJxIYV6XZF4Dn3CYPyqTCaWr9IPdUGZsLirZJYJYf0P9IBOX7E7BvUL9b6sw1DGOyClmRppAolfdCndqWrYhnX5WJLcd2WShXQiUkVun3WGhv09C0cZiCLXOaAmfyEAV0YRO4fckBb4jpIufX7uagOUSYlfR+ETtbm8IAG9D/dya+BRERZrW9YUCPY0Gk/N85Wu/JbOjj0NW7WQ3wGUJUZjbXu9xnVuY1iwL0++BtMnZziYKoQjDQ+JJUkrqsU/pDF1DZeVMOLbExiMQmvWKwSh7SOYBKvCRMbRzbnaNhatt8u2HezPW0dQZGyVqPOJNFKpVw9u07FkvZ97x6RM+kiVT/5KRWbIPO6ekM3piIMT7Zb8Pz68F1f0buc7FTUOE5+HRmlC9GhirPf9xUwrX/WJtj7aHNbvGqEuuZbeO1vd2NU/fff9y8rYM550oqgfOA3OckUo2uAbz6Rthvzqd/yB6OV0QoKgn4dqHORsXfU4MFUeIh+DenbGu08dBtT9s9bYahdcmnmdI/qcg9df1g+0nIK47W+1sO23WUe1iSdKED4/3V5JCy62r8cldW3ZPu9YqYgyIEAgwhUVGoN6zctYuO4MImBnjPo1sidjWcGaemUwm2idI06fo9NiM9hFyOsTO5kG8m7fZ2SQ2UoETCKwgcKxFnTJBFobvVILjDVBl5v/Magl+HgSm8sheGS6Ja1rCuv3rJyVdN/XbVdill8iQxyCKKiJSLIk2/vOiukaK696vDgwxFhSQi4zEE+G8OxlprujfnHMFEH5scXYaLlEpFGHAGve7LP72GE8YBFyp5AfNCaehXjKjTMqSP3UFpOLqe9L3gIxSM3vfCMFxhEYqChQ5VyaNbCD5Cu2X+s1MHgTulBVJxQfp2D/TC8Nhv7IHen1+32zXtarv2q3A1Ex57x/uiNSYLXKTKuWJS6U4UOrginuVcEq8ZfOdW+q1jkKqkmOv4c56GzptQkJRgSWQY8zuWchyH/v7zqRsYuIHBrLBlVc6qx2wGbyEspAhTHuHUHKebo75B4DcNfIsN4ChCUaI3wPP731mi3S+SiBWNSEm+IOYOoTyGNRJPrcfEqhyw6dOMa1p2sMN8uYkTY7ucgi34VwW86UZ7b/7ZaS/rHuUSAvxHDwANq4fbzo0DtY7Ta/aILqEdqFOH/tBRVUR0ZFAFokiJLDkFXZNywXWwkb2H76fm3t8tZrcxFRDkEMZY4dAmr6qPc7lMI5ThJenB1MsFXwpaZE516pkeLsswi3sQ6GAkAgLT+5X3LPWOASDnQsmewTOAqaezokmNU28je6llL7dlHS3r7JOFRZw35V0t7+6Tbeu+0rZeOVsrnhYZqblXh6VnXoyeY0QDgtM7/CCnHrJXb3Ws/MblXBOqDDO8JCa/5imNzM0eBPUmrlEVIAhiKiO+IuIh4LmC21UrxyrpuyyrAZdQ1Z49pWcXej2vmdx4llJ2W/tYo3cXFFOQjOFe7fkgMp7O1jxXIdZHJ42mwpQRIbcyWushS3X/nRcyiQ+MqJJUlYiLHILYrC6Pa5Gb5SlROjuXV6ouNdibVc7MQbtxLjp8mvqIV+ZSViZlZ6G4QRO63W4XsIQ7kqb6t9vVILjEHAMEFDwZ/jKyun7oHqZsVI4OO56t8FIm+v/4szuIOp8+gb/v3hS+64MXU4nnKYn1OaHhcFljKVu+MA3RLY1u9RL4YgG5uV1wPa6MBM2Vdrq6lIYgAq/RB3TbX9wI7Hf2N2A8KfKajbdvwbRXKV+WJLvGaHNu0o46P1spX0L37fcd+N6rNT9VNgSsgLAY+KJakb0gN3fl2zExeep23WmXSVc+SEUyTXgJGWYPIEiGKTNBwRfqDgvdbu3pTWVSKE0GBAIYv0PuMHYEGjnoQEZZoYievbRnI3CHj/pEJQj/DQAA//+jrsjfSRgAAA==\n path: /opt/azure/containers/configure-swarm-cluster.sh\n permissions: \"0744\"\n\n')]", + "linuxConfiguration": { + "disablePasswordAuthentication": "true", + "ssh": { + "publicKeys": [ + { + "keyData": "[variables('sshRSAPublicKey')]", + "path": "[variables('sshKeyPath')]" + } + ] + } + } + }, + "storageProfile": { + "imageReference": { + "offer": "[variables('osImageOffer')]", + "publisher": "[variables('osImagePublisher')]", + "sku": "[variables('osImageSKU')]", + "version": "[variables('osImageVersion')]" + }, + "osDisk": { + "caching": "ReadWrite", + "createOption": "FromImage", + "name": "[concat(variables('masterVMNamePrefix'), copyIndex(),'-osdisk')]", + "vhd": { + "uri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('masterStorageAccountName')), variables('apiVersionStorage')).primaryEndpoints.blob, 'vhds/', variables('masterVMNamePrefix'), copyIndex(), '-osdisk.vhd')]" + } + } + } + }, + "tags": { + "creationSource": "[concat('acsengine-', variables('masterVMNamePrefix'), copyIndex())]" + }, + "type": "Microsoft.Compute/virtualMachines" + }, + { + "apiVersion": "[variables('apiVersionDefault')]", + "copy": { + "count": "[variables('masterCount')]", + "name": "vmLoopNode" + }, + "dependsOn": [ + "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" + ], + "location": "[variables('location')]", + "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", + "properties": { + "publisher": "Microsoft.OSTCExtensions", + "settings": { + "commandToExecute": "[variables('masterCustomScript')]", + "fileUris": [] + }, + "type": "CustomScriptForLinux", + "typeHandlerVersion": "1.4" + }, + "type": "Microsoft.Compute/virtualMachines/extensions" + } + ], + "outputs": { + "agentpool1FQDN": { + "type": "string", + "value": "[reference(concat('Microsoft.Network/publicIPAddresses/', variables('agentpool1IPAddressName'))).dnsSettings.fqdn]" + }, + "masterFQDN": { + "type": "string", + "value": "[reference(concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))).dnsSettings.fqdn]" + } + } +} \ No newline at end of file diff --git a/pkg/acsengine/testdata/location/swarm_expected_params.json b/pkg/acsengine/testdata/location/swarm_expected_params.json new file mode 100644 index 000000000..d3f905f31 --- /dev/null +++ b/pkg/acsengine/testdata/location/swarm_expected_params.json @@ -0,0 +1,47 @@ +{ + "agentpool1Count": { + "value": 3 + }, + "agentpool1EndpointDNSNamePrefix": { + "value": "agentdns1" + }, + "agentpool1Subnet": { + "value": "10.0.0.0/16" + }, + "agentpool1VMSize": { + "value": "Standard_D2_v2" + }, + "agentpool2Count": { + "value": 3 + }, + "agentpool2Subnet": { + "value": "10.1.0.0/16" + }, + "agentpool2VMSize": { + "value": "Standard_D2_v2" + }, + "firstConsecutiveStaticIP": { + "value": "172.16.0.5" + }, + "linuxAdminUsername": { + "value": "azureuser" + }, + "location": { + "value": "centralus" + }, + "masterEndpointDNSNamePrefix": { + "value": "masterdns1" + }, + "masterSubnet": { + "value": "172.16.0.0/24" + }, + "masterVMSize": { + "value": "Standard_D2_v2" + }, + "sshRSAPublicKey": { + "value": "ssh-rsa PUBLICKEY azureuser@linuxvm" + }, + "targetEnvironment": { + "value": "AzurePublicCloud" + } +} \ No newline at end of file diff --git a/pkg/acsengine/testdata/simple/dcos1.7.3_expected.json b/pkg/acsengine/testdata/simple/dcos1.7.3_expected.json index eba0ece8d..6dd2ac2f1 100644 --- a/pkg/acsengine/testdata/simple/dcos1.7.3_expected.json +++ b/pkg/acsengine/testdata/simple/dcos1.7.3_expected.json @@ -442,6 +442,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -577,6 +584,11 @@ "apiVersionStorage": "2015-06-15", "dataStorageAccountPrefixSeed": 97, "dcosBootstrapURL": "[parameters('dcosBootstrapURL')]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]", @@ -619,7 +631,7 @@ "osImageVersion": "16.04.201606270", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location, variables('orchestratorName')))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location'),variables('orchestratorName')))]", "storageAccountPrefixes": [ "0", "6", @@ -915,7 +927,7 @@ "resources": [ { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentprivateNSGName')]", "properties": { "securityRules": [] @@ -931,7 +943,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentprivateVMSize')].storageAccountType]" @@ -948,7 +960,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentprivateVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1025,7 +1037,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicNSGName')]", "properties": { "securityRules": [ @@ -1084,7 +1096,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpublicVMSize')].storageAccountType]" @@ -1093,7 +1105,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1108,7 +1120,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agentpublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicLbName')]", "properties": { "backendAddressPools": [ @@ -1232,7 +1244,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", "[concat('Microsoft.Network/loadBalancers/', variables('agentpublicLbName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpublicVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1317,7 +1329,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1329,7 +1341,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountExhibitorName')]", "properties": { "accountType": "Standard_LRS" @@ -1342,7 +1354,7 @@ "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentprivateNSGName'))]", "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentpublicNSGName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1383,14 +1395,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1405,7 +1417,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1435,7 +1447,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1450,7 +1462,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterNSGName')]", "properties": { "securityRules": [ @@ -1484,7 +1496,7 @@ "[variables('masterLbID')]", "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1527,7 +1539,7 @@ "[variables('masterStorageAccountName')]", "[variables('masterStorageAccountExhibitorName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1586,7 +1598,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), sub(variables('masterCount'), 1))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), sub(variables('masterCount'), 1), '/waitforleader')]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/simple/dcos1.7.3_expected_params.json b/pkg/acsengine/testdata/simple/dcos1.7.3_expected_params.json index 9cb8f8d60..54530d97f 100644 --- a/pkg/acsengine/testdata/simple/dcos1.7.3_expected_params.json +++ b/pkg/acsengine/testdata/simple/dcos1.7.3_expected_params.json @@ -29,6 +29,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/simple/dcos1.8.4_expected.json b/pkg/acsengine/testdata/simple/dcos1.8.4_expected.json index cabc3717e..88da6041d 100644 --- a/pkg/acsengine/testdata/simple/dcos1.8.4_expected.json +++ b/pkg/acsengine/testdata/simple/dcos1.8.4_expected.json @@ -442,6 +442,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -577,6 +584,11 @@ "apiVersionStorage": "2015-06-15", "dataStorageAccountPrefixSeed": 97, "dcosBootstrapURL": "[parameters('dcosBootstrapURL')]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]", @@ -619,7 +631,7 @@ "osImageVersion": "16.04.201606270", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location, variables('orchestratorName')))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location'),variables('orchestratorName')))]", "storageAccountPrefixes": [ "0", "6", @@ -915,7 +927,7 @@ "resources": [ { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentprivateNSGName')]", "properties": { "securityRules": [] @@ -931,7 +943,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentprivateVMSize')].storageAccountType]" @@ -948,7 +960,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentprivateVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1025,7 +1037,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicNSGName')]", "properties": { "securityRules": [ @@ -1084,7 +1096,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpublicVMSize')].storageAccountType]" @@ -1093,7 +1105,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1108,7 +1120,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agentpublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicLbName')]", "properties": { "backendAddressPools": [ @@ -1232,7 +1244,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", "[concat('Microsoft.Network/loadBalancers/', variables('agentpublicLbName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpublicVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1317,7 +1329,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1329,7 +1341,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountExhibitorName')]", "properties": { "accountType": "Standard_LRS" @@ -1342,7 +1354,7 @@ "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentprivateNSGName'))]", "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentpublicNSGName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1383,14 +1395,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1405,7 +1417,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1435,7 +1447,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1450,7 +1462,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterNSGName')]", "properties": { "securityRules": [ @@ -1484,7 +1496,7 @@ "[variables('masterLbID')]", "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1527,7 +1539,7 @@ "[variables('masterStorageAccountName')]", "[variables('masterStorageAccountExhibitorName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1586,7 +1598,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), sub(variables('masterCount'), 1))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), sub(variables('masterCount'), 1), '/waitforleader')]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/simple/dcos1.8.4_expected_params.json b/pkg/acsengine/testdata/simple/dcos1.8.4_expected_params.json index 37221684d..fbec2af96 100644 --- a/pkg/acsengine/testdata/simple/dcos1.8.4_expected_params.json +++ b/pkg/acsengine/testdata/simple/dcos1.8.4_expected_params.json @@ -29,6 +29,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/simple/dcos1.8.7_expected.json b/pkg/acsengine/testdata/simple/dcos1.8.7_expected.json index af3ce7415..57ba2f478 100644 --- a/pkg/acsengine/testdata/simple/dcos1.8.7_expected.json +++ b/pkg/acsengine/testdata/simple/dcos1.8.7_expected.json @@ -442,6 +442,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -577,6 +584,11 @@ "apiVersionStorage": "2015-06-15", "dataStorageAccountPrefixSeed": 97, "dcosBootstrapURL": "[parameters('dcosBootstrapURL')]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]", @@ -619,7 +631,7 @@ "osImageVersion": "16.04.201606270", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location, variables('orchestratorName')))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location'),variables('orchestratorName')))]", "storageAccountPrefixes": [ "0", "6", @@ -915,7 +927,7 @@ "resources": [ { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentprivateNSGName')]", "properties": { "securityRules": [] @@ -931,7 +943,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentprivateVMSize')].storageAccountType]" @@ -948,7 +960,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentprivateVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1025,7 +1037,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicNSGName')]", "properties": { "securityRules": [ @@ -1084,7 +1096,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpublicVMSize')].storageAccountType]" @@ -1093,7 +1105,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1108,7 +1120,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agentpublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicLbName')]", "properties": { "backendAddressPools": [ @@ -1232,7 +1244,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", "[concat('Microsoft.Network/loadBalancers/', variables('agentpublicLbName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpublicVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1317,7 +1329,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1329,7 +1341,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountExhibitorName')]", "properties": { "accountType": "Standard_LRS" @@ -1342,7 +1354,7 @@ "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentprivateNSGName'))]", "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentpublicNSGName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1383,14 +1395,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1405,7 +1417,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1435,7 +1447,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1450,7 +1462,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterNSGName')]", "properties": { "securityRules": [ @@ -1484,7 +1496,7 @@ "[variables('masterLbID')]", "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1527,7 +1539,7 @@ "[variables('masterStorageAccountName')]", "[variables('masterStorageAccountExhibitorName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1586,7 +1598,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), sub(variables('masterCount'), 1))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), sub(variables('masterCount'), 1), '/waitforleader')]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/simple/dcos1.8.7_expected_params.json b/pkg/acsengine/testdata/simple/dcos1.8.7_expected_params.json index a14d89f1f..a32410844 100644 --- a/pkg/acsengine/testdata/simple/dcos1.8.7_expected_params.json +++ b/pkg/acsengine/testdata/simple/dcos1.8.7_expected_params.json @@ -29,6 +29,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/simple/dcos1.8.8_expected.json b/pkg/acsengine/testdata/simple/dcos1.8.8_expected.json index 83cb504ec..89cf1079a 100644 --- a/pkg/acsengine/testdata/simple/dcos1.8.8_expected.json +++ b/pkg/acsengine/testdata/simple/dcos1.8.8_expected.json @@ -442,6 +442,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -577,6 +584,11 @@ "apiVersionStorage": "2015-06-15", "dataStorageAccountPrefixSeed": 97, "dcosBootstrapURL": "[parameters('dcosBootstrapURL')]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]", @@ -619,7 +631,7 @@ "osImageVersion": "16.04.201606270", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location, variables('orchestratorName')))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location'),variables('orchestratorName')))]", "storageAccountPrefixes": [ "0", "6", @@ -915,7 +927,7 @@ "resources": [ { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentprivateNSGName')]", "properties": { "securityRules": [] @@ -931,7 +943,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentprivateVMSize')].storageAccountType]" @@ -948,7 +960,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentprivateVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1025,7 +1037,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicNSGName')]", "properties": { "securityRules": [ @@ -1084,7 +1096,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpublicVMSize')].storageAccountType]" @@ -1093,7 +1105,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1108,7 +1120,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agentpublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicLbName')]", "properties": { "backendAddressPools": [ @@ -1232,7 +1244,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", "[concat('Microsoft.Network/loadBalancers/', variables('agentpublicLbName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpublicVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1317,7 +1329,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1329,7 +1341,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountExhibitorName')]", "properties": { "accountType": "Standard_LRS" @@ -1342,7 +1354,7 @@ "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentprivateNSGName'))]", "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentpublicNSGName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1383,14 +1395,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1405,7 +1417,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1435,7 +1447,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1450,7 +1462,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterNSGName')]", "properties": { "securityRules": [ @@ -1484,7 +1496,7 @@ "[variables('masterLbID')]", "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1527,7 +1539,7 @@ "[variables('masterStorageAccountName')]", "[variables('masterStorageAccountExhibitorName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1586,7 +1598,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), sub(variables('masterCount'), 1))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), sub(variables('masterCount'), 1), '/waitforleader')]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/simple/dcos1.8.8_expected_params.json b/pkg/acsengine/testdata/simple/dcos1.8.8_expected_params.json index 708c98fd6..3a0e55f01 100644 --- a/pkg/acsengine/testdata/simple/dcos1.8.8_expected_params.json +++ b/pkg/acsengine/testdata/simple/dcos1.8.8_expected_params.json @@ -29,6 +29,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/simple/dcos_expected.json b/pkg/acsengine/testdata/simple/dcos_expected.json index 83cb504ec..89cf1079a 100644 --- a/pkg/acsengine/testdata/simple/dcos_expected.json +++ b/pkg/acsengine/testdata/simple/dcos_expected.json @@ -442,6 +442,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -577,6 +584,11 @@ "apiVersionStorage": "2015-06-15", "dataStorageAccountPrefixSeed": 97, "dcosBootstrapURL": "[parameters('dcosBootstrapURL')]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]", @@ -619,7 +631,7 @@ "osImageVersion": "16.04.201606270", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location, variables('orchestratorName')))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location'),variables('orchestratorName')))]", "storageAccountPrefixes": [ "0", "6", @@ -915,7 +927,7 @@ "resources": [ { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentprivateNSGName')]", "properties": { "securityRules": [] @@ -931,7 +943,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentprivateVMSize')].storageAccountType]" @@ -948,7 +960,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentprivateVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1025,7 +1037,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicNSGName')]", "properties": { "securityRules": [ @@ -1084,7 +1096,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpublicVMSize')].storageAccountType]" @@ -1093,7 +1105,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1108,7 +1120,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agentpublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicLbName')]", "properties": { "backendAddressPools": [ @@ -1232,7 +1244,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", "[concat('Microsoft.Network/loadBalancers/', variables('agentpublicLbName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpublicVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1317,7 +1329,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1329,7 +1341,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountExhibitorName')]", "properties": { "accountType": "Standard_LRS" @@ -1342,7 +1354,7 @@ "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentprivateNSGName'))]", "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentpublicNSGName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1383,14 +1395,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1405,7 +1417,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1435,7 +1447,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1450,7 +1462,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterNSGName')]", "properties": { "securityRules": [ @@ -1484,7 +1496,7 @@ "[variables('masterLbID')]", "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1527,7 +1539,7 @@ "[variables('masterStorageAccountName')]", "[variables('masterStorageAccountExhibitorName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1586,7 +1598,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), sub(variables('masterCount'), 1))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), sub(variables('masterCount'), 1), '/waitforleader')]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/simple/dcos_expected_params.json b/pkg/acsengine/testdata/simple/dcos_expected_params.json index 708c98fd6..3a0e55f01 100644 --- a/pkg/acsengine/testdata/simple/dcos_expected_params.json +++ b/pkg/acsengine/testdata/simple/dcos_expected_params.json @@ -29,6 +29,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/simple/kubernetes_expected.json b/pkg/acsengine/testdata/simple/kubernetes_expected.json index 32c6e8789..41b7334bf 100644 --- a/pkg/acsengine/testdata/simple/kubernetes_expected.json +++ b/pkg/acsengine/testdata/simple/kubernetes_expected.json @@ -759,6 +759,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -951,7 +958,11 @@ "kubernetesHyperkubeSpec": "[parameters('kubernetesHyperkubeSpec')]", "kubernetesKubeDNSSpec": "[parameters('kubernetesKubeDNSSpec')]", "kubernetesPodInfraContainerSpec": "[parameters('kubernetesPodInfraContainerSpec')]", - "location": "[resourceGroup().location]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat('master-availabilityset-', variables('nameSuffix'))]", "masterCount": 1, "masterEtcdClientPort": 2379, @@ -1039,7 +1050,7 @@ 2204 ], "sshPublicKeyData": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -1464,7 +1475,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')),'/cse', copyIndex(variables('agentpool1Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -1602,7 +1613,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool2VMNamePrefix'), copyIndex(variables('agentpool2Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool2VMNamePrefix'), copyIndex(variables('agentpool2Offset')),'/cse', copyIndex(variables('agentpool2Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -1977,7 +1988,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(),'/cse', copyIndex())]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/simple/kubernetes_expected_params.json b/pkg/acsengine/testdata/simple/kubernetes_expected_params.json index fbeca3218..f85e15327 100644 --- a/pkg/acsengine/testdata/simple/kubernetes_expected_params.json +++ b/pkg/acsengine/testdata/simple/kubernetes_expected_params.json @@ -74,6 +74,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/simple/swarm_expected.json b/pkg/acsengine/testdata/simple/swarm_expected.json index 77118b78f..1c57cdb11 100644 --- a/pkg/acsengine/testdata/simple/swarm_expected.json +++ b/pkg/acsengine/testdata/simple/swarm_expected.json @@ -435,6 +435,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -597,6 +604,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarm-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 1, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -661,7 +673,7 @@ "postInstallScriptURI": "disabled", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -963,7 +975,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool1AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpool1VMSize')].storageAccountType]" @@ -972,7 +984,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpool1IPAddressName')]", "properties": { "dnsSettings": { @@ -987,7 +999,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agentpool1IPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpool1LbName')]", "properties": { "backendAddressPools": [ @@ -1112,7 +1124,7 @@ "[variables('vnetID')]", "[variables('agentpool1LbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool1VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1201,7 +1213,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpool2VMSize')].storageAccountType]" @@ -1219,7 +1231,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool2VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1299,7 +1311,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1308,7 +1320,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1343,14 +1355,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1365,7 +1377,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1395,7 +1407,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1413,7 +1425,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -1438,7 +1450,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1473,7 +1485,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1536,7 +1548,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/simple/swarm_expected_params.json b/pkg/acsengine/testdata/simple/swarm_expected_params.json index 10740101c..fd387e18d 100644 --- a/pkg/acsengine/testdata/simple/swarm_expected_params.json +++ b/pkg/acsengine/testdata/simple/swarm_expected_params.json @@ -26,6 +26,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/simple/swarmmode_classicmode_expected.json b/pkg/acsengine/testdata/simple/swarmmode_classicmode_expected.json index ef6a30df5..32f81e290 100644 --- a/pkg/acsengine/testdata/simple/swarmmode_classicmode_expected.json +++ b/pkg/acsengine/testdata/simple/swarmmode_classicmode_expected.json @@ -314,6 +314,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterCount": { "allowedValues": [ 1, @@ -560,6 +567,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarmmode-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": "[parameters('masterCount')]", "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -624,7 +636,7 @@ "postInstallScriptURI": "disabled", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -959,7 +971,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentVMSize')].storageAccountType]" @@ -968,7 +980,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentIPAddressName')]", "properties": { "dnsSettings": { @@ -983,7 +995,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agentIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentLbName')]", "properties": { "backendAddressPools": [ @@ -1108,7 +1120,7 @@ "[variables('vnetID')]", "[variables('agentLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1193,7 +1205,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1202,7 +1214,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1230,14 +1242,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1252,7 +1264,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1282,7 +1294,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1300,7 +1312,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -1325,7 +1337,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1360,7 +1372,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1423,7 +1435,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/simple/swarmmode_classicmode_expected_params.json b/pkg/acsengine/testdata/simple/swarmmode_classicmode_expected_params.json index 7eab3bf78..b979d6b86 100644 --- a/pkg/acsengine/testdata/simple/swarmmode_classicmode_expected_params.json +++ b/pkg/acsengine/testdata/simple/swarmmode_classicmode_expected_params.json @@ -17,6 +17,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterCount": { "value": 3 }, diff --git a/pkg/acsengine/testdata/simple/swarmmode_expected.json b/pkg/acsengine/testdata/simple/swarmmode_expected.json index 21c826dae..13e44f358 100644 --- a/pkg/acsengine/testdata/simple/swarmmode_expected.json +++ b/pkg/acsengine/testdata/simple/swarmmode_expected.json @@ -435,6 +435,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -597,6 +604,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarmmode-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -661,7 +673,7 @@ "postInstallScriptURI": "disabled", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -963,7 +975,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpool1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool1AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpool1VMSize')].storageAccountType]" @@ -972,7 +984,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpool1IPAddressName')]", "properties": { "dnsSettings": { @@ -987,7 +999,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agentpool1IPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpool1LbName')]", "properties": { "backendAddressPools": [ @@ -1112,7 +1124,7 @@ "[variables('vnetID')]", "[variables('agentpool1LbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool1VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1201,7 +1213,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpool2VMSize')].storageAccountType]" @@ -1219,7 +1231,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpool2StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpool2AccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool2VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1299,7 +1311,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1308,7 +1320,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1343,14 +1355,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1365,7 +1377,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1395,7 +1407,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1413,7 +1425,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -1438,7 +1450,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1473,7 +1485,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1536,7 +1548,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/simple/swarmmode_expected_params.json b/pkg/acsengine/testdata/simple/swarmmode_expected_params.json index 10740101c..fd387e18d 100644 --- a/pkg/acsengine/testdata/simple/swarmmode_expected_params.json +++ b/pkg/acsengine/testdata/simple/swarmmode_expected_params.json @@ -26,6 +26,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/v20160930/dcos_expected.json b/pkg/acsengine/testdata/v20160930/dcos_expected.json index 83cb504ec..89cf1079a 100644 --- a/pkg/acsengine/testdata/v20160930/dcos_expected.json +++ b/pkg/acsengine/testdata/v20160930/dcos_expected.json @@ -442,6 +442,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -577,6 +584,11 @@ "apiVersionStorage": "2015-06-15", "dataStorageAccountPrefixSeed": 97, "dcosBootstrapURL": "[parameters('dcosBootstrapURL')]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]", @@ -619,7 +631,7 @@ "osImageVersion": "16.04.201606270", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location, variables('orchestratorName')))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location'),variables('orchestratorName')))]", "storageAccountPrefixes": [ "0", "6", @@ -915,7 +927,7 @@ "resources": [ { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentprivateNSGName')]", "properties": { "securityRules": [] @@ -931,7 +943,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentprivateVMSize')].storageAccountType]" @@ -948,7 +960,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentprivateVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1025,7 +1037,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicNSGName')]", "properties": { "securityRules": [ @@ -1084,7 +1096,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpublicVMSize')].storageAccountType]" @@ -1093,7 +1105,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1108,7 +1120,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agentpublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicLbName')]", "properties": { "backendAddressPools": [ @@ -1232,7 +1244,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", "[concat('Microsoft.Network/loadBalancers/', variables('agentpublicLbName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpublicVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1317,7 +1329,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1329,7 +1341,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountExhibitorName')]", "properties": { "accountType": "Standard_LRS" @@ -1342,7 +1354,7 @@ "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentprivateNSGName'))]", "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentpublicNSGName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1383,14 +1395,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1405,7 +1417,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1435,7 +1447,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1450,7 +1462,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterNSGName')]", "properties": { "securityRules": [ @@ -1484,7 +1496,7 @@ "[variables('masterLbID')]", "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1527,7 +1539,7 @@ "[variables('masterStorageAccountName')]", "[variables('masterStorageAccountExhibitorName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1586,7 +1598,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), sub(variables('masterCount'), 1))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), sub(variables('masterCount'), 1), '/waitforleader')]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/v20160930/dcos_expected_params.json b/pkg/acsengine/testdata/v20160930/dcos_expected_params.json index 708c98fd6..3a0e55f01 100644 --- a/pkg/acsengine/testdata/v20160930/dcos_expected_params.json +++ b/pkg/acsengine/testdata/v20160930/dcos_expected_params.json @@ -29,6 +29,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/v20160930/kubernetes_expected.json b/pkg/acsengine/testdata/v20160930/kubernetes_expected.json index e729f1c38..3c1a91c26 100644 --- a/pkg/acsengine/testdata/v20160930/kubernetes_expected.json +++ b/pkg/acsengine/testdata/v20160930/kubernetes_expected.json @@ -541,6 +541,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -733,7 +740,11 @@ "kubernetesHyperkubeSpec": "[parameters('kubernetesHyperkubeSpec')]", "kubernetesKubeDNSSpec": "[parameters('kubernetesKubeDNSSpec')]", "kubernetesPodInfraContainerSpec": "[parameters('kubernetesPodInfraContainerSpec')]", - "location": "[resourceGroup().location]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat('master-availabilityset-', variables('nameSuffix'))]", "masterCount": 1, "masterEtcdClientPort": 2379, @@ -821,7 +832,7 @@ 2204 ], "sshPublicKeyData": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -1246,7 +1257,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')),'/cse', copyIndex(variables('agentpool1Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -1384,7 +1395,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool2VMNamePrefix'), copyIndex(variables('agentpool2Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool2VMNamePrefix'), copyIndex(variables('agentpool2Offset')),'/cse', copyIndex(variables('agentpool2Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -1759,7 +1770,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(),'/cse', copyIndex())]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/v20160930/kubernetes_expected_params.json b/pkg/acsengine/testdata/v20160930/kubernetes_expected_params.json index fbeca3218..f85e15327 100644 --- a/pkg/acsengine/testdata/v20160930/kubernetes_expected_params.json +++ b/pkg/acsengine/testdata/v20160930/kubernetes_expected_params.json @@ -74,6 +74,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/vnet/dcosvnet_expected.json b/pkg/acsengine/testdata/vnet/dcosvnet_expected.json index cdbf51868..76e85bc41 100644 --- a/pkg/acsengine/testdata/vnet/dcosvnet_expected.json +++ b/pkg/acsengine/testdata/vnet/dcosvnet_expected.json @@ -549,6 +549,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -681,6 +688,11 @@ "apiVersionStorage": "2015-06-15", "dataStorageAccountPrefixSeed": 97, "dcosBootstrapURL": "[parameters('dcosBootstrapURL')]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterEndpointDNSNamePrefix": "[tolower(parameters('masterEndpointDNSNamePrefix'))]", @@ -721,7 +733,7 @@ "osImageVersion": "16.04.201606270", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location, variables('orchestratorName')))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location'),variables('orchestratorName')))]", "storageAccountPrefixes": [ "0", "6", @@ -1015,7 +1027,7 @@ "resources": [ { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentprivateNSGName')]", "properties": { "securityRules": [] @@ -1031,7 +1043,7 @@ "dependsOn": [ "[concat('Microsoft.Network/networkSecurityGroups/', variables('agentprivateNSGName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentprivateVMNamePrefix'), 'nic-', copyIndex(variables('agentprivateOffset')))]", "properties": { "ipConfigurations": [ @@ -1060,7 +1072,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentprivateVMSize')].storageAccountType]" @@ -1069,7 +1081,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentprivateAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -1085,7 +1097,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('agentprivateVMNamePrefix'), 'nic-', copyIndex(variables('agentprivateOffset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('agentprivateAvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentprivateVMNamePrefix'), copyIndex(variables('agentprivateOffset')))]", "properties": { "availabilitySet": { @@ -1141,7 +1153,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicNSGName')]", "properties": { "securityRules": [ @@ -1200,7 +1212,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpublicVMSize')].storageAccountType]" @@ -1209,7 +1221,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1224,7 +1236,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agentpublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicLbName')]", "properties": { "backendAddressPools": [ @@ -1348,7 +1360,7 @@ "[concat('Microsoft.Storage/storageAccounts/',variables('storageAccountPrefixes')[mod(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", "[concat('Microsoft.Network/loadBalancers/', variables('agentpublicLbName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpublicVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1436,7 +1448,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1448,7 +1460,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountExhibitorName')]", "properties": { "accountType": "Standard_LRS" @@ -1457,14 +1469,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1479,7 +1491,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1509,7 +1521,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1524,7 +1536,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterNSGName')]", "properties": { "securityRules": [ @@ -1557,7 +1569,7 @@ "[variables('masterLbID')]", "[concat(variables('masterLbID'),'/inboundNatRules/SSH-',variables('masterVMNamePrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1600,7 +1612,7 @@ "[variables('masterStorageAccountName')]", "[variables('masterStorageAccountExhibitorName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1659,7 +1671,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), sub(variables('masterCount'), 1))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), sub(variables('masterCount'), 1), '/waitforleader')]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/vnet/dcosvnet_expected_params.json b/pkg/acsengine/testdata/vnet/dcosvnet_expected_params.json index 93e40e1de..5b009363c 100644 --- a/pkg/acsengine/testdata/vnet/dcosvnet_expected_params.json +++ b/pkg/acsengine/testdata/vnet/dcosvnet_expected_params.json @@ -29,6 +29,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/vnet/kubernetesvnet_expected.json b/pkg/acsengine/testdata/vnet/kubernetesvnet_expected.json index 2d0c7a274..166dc01ef 100644 --- a/pkg/acsengine/testdata/vnet/kubernetesvnet_expected.json +++ b/pkg/acsengine/testdata/vnet/kubernetesvnet_expected.json @@ -757,6 +757,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -950,7 +957,11 @@ "kubernetesHyperkubeSpec": "[parameters('kubernetesHyperkubeSpec')]", "kubernetesKubeDNSSpec": "[parameters('kubernetesKubeDNSSpec')]", "kubernetesPodInfraContainerSpec": "[parameters('kubernetesPodInfraContainerSpec')]", - "location": "[resourceGroup().location]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat('master-availabilityset-', variables('nameSuffix'))]", "masterCount": 1, "masterEtcdClientPort": 2379, @@ -1038,7 +1049,7 @@ 2204 ], "sshPublicKeyData": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -1465,7 +1476,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpriVMNamePrefix'), copyIndex(variables('agentpriOffset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpriVMNamePrefix'), copyIndex(variables('agentpriOffset')),'/cse', copyIndex(variables('agentpriOffset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -1606,7 +1617,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpri2VMNamePrefix'), copyIndex(variables('agentpri2Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpri2VMNamePrefix'), copyIndex(variables('agentpri2Offset')),'/cse', copyIndex(variables('agentpri2Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -1953,7 +1964,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(),'/cse', copyIndex())]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/vnet/kubernetesvnet_expected_params.json b/pkg/acsengine/testdata/vnet/kubernetesvnet_expected_params.json index e92daea10..5e6f41f4f 100644 --- a/pkg/acsengine/testdata/vnet/kubernetesvnet_expected_params.json +++ b/pkg/acsengine/testdata/vnet/kubernetesvnet_expected_params.json @@ -74,6 +74,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/vnet/swarmmodevnet_expected.json b/pkg/acsengine/testdata/vnet/swarmmodevnet_expected.json index e5f57cf94..4d4d2ba7a 100644 --- a/pkg/acsengine/testdata/vnet/swarmmodevnet_expected.json +++ b/pkg/acsengine/testdata/vnet/swarmmodevnet_expected.json @@ -433,6 +433,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -590,6 +597,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarmmode-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -652,7 +664,7 @@ "postInstallScriptURI": "disabled", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -952,7 +964,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentprivateVMSize')].storageAccountType]" @@ -969,7 +981,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentprivateVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1053,7 +1065,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpublicVMSize')].storageAccountType]" @@ -1062,7 +1074,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1077,7 +1089,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agentpublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicLbName')]", "properties": { "backendAddressPools": [ @@ -1201,7 +1213,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", "[variables('agentpublicLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpublicVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1286,7 +1298,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1295,14 +1307,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1317,7 +1329,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1347,7 +1359,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1365,7 +1377,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -1389,7 +1401,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1424,7 +1436,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1487,7 +1499,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/vnet/swarmmodevnet_expected_params.json b/pkg/acsengine/testdata/vnet/swarmmodevnet_expected_params.json index 89f7b1904..37874f689 100644 --- a/pkg/acsengine/testdata/vnet/swarmmodevnet_expected_params.json +++ b/pkg/acsengine/testdata/vnet/swarmmodevnet_expected_params.json @@ -26,6 +26,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/vnet/swarmvnet_expected.json b/pkg/acsengine/testdata/vnet/swarmvnet_expected.json index a82be425f..789c9c496 100644 --- a/pkg/acsengine/testdata/vnet/swarmvnet_expected.json +++ b/pkg/acsengine/testdata/vnet/swarmvnet_expected.json @@ -433,6 +433,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -590,6 +597,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarm-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -652,7 +664,7 @@ "postInstallScriptURI": "disabled", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -952,7 +964,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentprivateVMSize')].storageAccountType]" @@ -969,7 +981,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(3,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]", "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentprivateStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentprivateAccountName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentprivateVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1053,7 +1065,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentpublicVMSize')].storageAccountType]" @@ -1062,7 +1074,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1077,7 +1089,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agentpublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentpublicLbName')]", "properties": { "backendAddressPools": [ @@ -1201,7 +1213,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('agentpublicStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentpublicAccountName'))]", "[variables('agentpublicLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpublicVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1286,7 +1298,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1295,14 +1307,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1317,7 +1329,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1347,7 +1359,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1365,7 +1377,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -1389,7 +1401,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1424,7 +1436,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1487,7 +1499,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/vnet/swarmvnet_expected_params.json b/pkg/acsengine/testdata/vnet/swarmvnet_expected_params.json index 89f7b1904..37874f689 100644 --- a/pkg/acsengine/testdata/vnet/swarmvnet_expected_params.json +++ b/pkg/acsengine/testdata/vnet/swarmvnet_expected_params.json @@ -26,6 +26,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/windows/kubernetes-hybrid_expected.json b/pkg/acsengine/testdata/windows/kubernetes-hybrid_expected.json index 1d3b65f78..d37106fb8 100644 --- a/pkg/acsengine/testdata/windows/kubernetes-hybrid_expected.json +++ b/pkg/acsengine/testdata/windows/kubernetes-hybrid_expected.json @@ -759,6 +759,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -967,7 +974,11 @@ "linuxpool1VMNamePrefix": "[concat(variables('orchestratorName'), '-linuxpool1-', variables('nameSuffix'), '-')]", "linuxpool1VMSize": "[parameters('linuxpool1VMSize')]", "linuxpool1VnetSubnetID": "[variables('vnetSubnetID')]", - "location": "[resourceGroup().location]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat('master-availabilityset-', variables('nameSuffix'))]", "masterCount": 1, "masterEtcdClientPort": 2379, @@ -1056,7 +1067,7 @@ 2204 ], "sshPublicKeyData": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -1484,7 +1495,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('linuxpool1VMNamePrefix'), copyIndex(variables('linuxpool1Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('linuxpool1VMNamePrefix'), copyIndex(variables('linuxpool1Offset')),'/cse', copyIndex(variables('linuxpool1Offset')))]", "properties": { "autoUpgradeMinorVersion": true, @@ -1615,7 +1626,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')), '/cse')]", "properties": { "autoUpgradeMinorVersion": true, @@ -2003,7 +2014,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(),'/cse', copyIndex())]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/windows/kubernetes-hybrid_expected_params.json b/pkg/acsengine/testdata/windows/kubernetes-hybrid_expected_params.json index a7c3e0034..1300b0309 100644 --- a/pkg/acsengine/testdata/windows/kubernetes-hybrid_expected_params.json +++ b/pkg/acsengine/testdata/windows/kubernetes-hybrid_expected_params.json @@ -74,6 +74,9 @@ "linuxpool1VMSize": { "value": "Standard_D2_v2" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/windows/kubernetes_expected.json b/pkg/acsengine/testdata/windows/kubernetes_expected.json index 19b651a07..87763102f 100644 --- a/pkg/acsengine/testdata/windows/kubernetes_expected.json +++ b/pkg/acsengine/testdata/windows/kubernetes_expected.json @@ -443,6 +443,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -640,7 +647,11 @@ "kubernetesHyperkubeSpec": "[parameters('kubernetesHyperkubeSpec')]", "kubernetesKubeDNSSpec": "[parameters('kubernetesKubeDNSSpec')]", "kubernetesPodInfraContainerSpec": "[parameters('kubernetesPodInfraContainerSpec')]", - "location": "[resourceGroup().location]", + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat('master-availabilityset-', variables('nameSuffix'))]", "masterCount": 1, "masterEtcdClientPort": 2379, @@ -729,7 +740,7 @@ 2204 ], "sshPublicKeyData": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterFqdnPrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -1150,7 +1161,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentpool1VMNamePrefix'), copyIndex(variables('agentpool1Offset')), '/cse')]", "properties": { "autoUpgradeMinorVersion": true, @@ -1538,7 +1549,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('masterVMNamePrefix'), copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(),'/cse', copyIndex())]", "properties": { "autoUpgradeMinorVersion": true, diff --git a/pkg/acsengine/testdata/windows/kubernetes_expected_params.json b/pkg/acsengine/testdata/windows/kubernetes_expected_params.json index afbbb004e..d30731a6f 100644 --- a/pkg/acsengine/testdata/windows/kubernetes_expected_params.json +++ b/pkg/acsengine/testdata/windows/kubernetes_expected_params.json @@ -65,6 +65,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/windows/swarm-vmas_expected.json b/pkg/acsengine/testdata/windows/swarm-vmas_expected.json index 5d7e9cc43..ecc8357ad 100644 --- a/pkg/acsengine/testdata/windows/swarm-vmas_expected.json +++ b/pkg/acsengine/testdata/windows/swarm-vmas_expected.json @@ -15,6 +15,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -805,6 +812,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarm-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 1, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -903,7 +915,7 @@ "singleQuote": "'", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -1211,7 +1223,7 @@ "[variables('vnetID')]", "[variables('publicwin1LbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('publicwin1VMNamePrefix'), 'nic-', copyIndex(variables('publicwin1Offset')))]", "properties": { "ipConfigurations": [ @@ -1247,7 +1259,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('publicwin1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('publicwin1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('publicwin1AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('publicwin1VMSize')].storageAccountType]" @@ -1256,14 +1268,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('publicwin1AvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('publicwin1IPAddressName')]", "properties": { "dnsSettings": { @@ -1278,7 +1290,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('publicwin1IPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('publicwin1LbName')]", "properties": { "backendAddressPools": [ @@ -1415,7 +1427,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('publicwin1VMNamePrefix'), 'nic-', copyIndex(variables('publicwin1Offset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('publicwin1AvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('publicwin1VMNamePrefix'), copyIndex(variables('publicwin1Offset')))]", "properties": { "availabilitySet": { @@ -1468,7 +1480,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('publicwin1VMNamePrefix'), copyIndex(variables('publicwin1Offset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('publicwin1VMNamePrefix'), copyIndex(variables('publicwin1Offset')), '/cse')]", "properties": { "autoUpgradeMinorVersion": true, @@ -1490,7 +1502,7 @@ "dependsOn": [ "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('privatewinVMNamePrefix'), 'nic-', copyIndex(variables('privatewinOffset')))]", "properties": { "ipConfigurations": [ @@ -1516,7 +1528,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('privatewinStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('privatewinStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('privatewinAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('privatewinVMSize')].storageAccountType]" @@ -1525,7 +1537,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('privatewinAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" @@ -1541,7 +1553,7 @@ "[concat('Microsoft.Network/networkInterfaces/', variables('privatewinVMNamePrefix'), 'nic-', copyIndex(variables('privatewinOffset')))]", "[concat('Microsoft.Compute/availabilitySets/', variables('privatewinAvailabilitySet'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('privatewinVMNamePrefix'), copyIndex(variables('privatewinOffset')))]", "properties": { "availabilitySet": { @@ -1594,7 +1606,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', variables('privatewinVMNamePrefix'), copyIndex(variables('privatewinOffset')))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('privatewinVMNamePrefix'), copyIndex(variables('privatewinOffset')), '/cse')]", "properties": { "autoUpgradeMinorVersion": true, @@ -1612,7 +1624,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1621,7 +1633,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1656,14 +1668,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1678,7 +1690,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1708,7 +1720,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1726,7 +1738,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -1751,7 +1763,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1786,7 +1798,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1849,7 +1861,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/windows/swarm-vmas_expected_params.json b/pkg/acsengine/testdata/windows/swarm-vmas_expected_params.json index c49ace7e8..c4c28aca6 100644 --- a/pkg/acsengine/testdata/windows/swarm-vmas_expected_params.json +++ b/pkg/acsengine/testdata/windows/swarm-vmas_expected_params.json @@ -5,6 +5,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/windows/swarmWinAndLin_expected.json b/pkg/acsengine/testdata/windows/swarmWinAndLin_expected.json index 3bac0faf8..273fbf996 100644 --- a/pkg/acsengine/testdata/windows/swarmWinAndLin_expected.json +++ b/pkg/acsengine/testdata/windows/swarmWinAndLin_expected.json @@ -15,6 +15,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -794,6 +801,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarm-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 1, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -898,7 +910,7 @@ "singleQuote": "'", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -1205,7 +1217,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('publicwin1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('publicwin1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('publicwin1AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('publicwin1VMSize')].storageAccountType]" @@ -1214,7 +1226,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('publicwin1IPAddressName')]", "properties": { "dnsSettings": { @@ -1229,7 +1241,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('publicwin1IPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('publicwin1LbName')]", "properties": { "backendAddressPools": [ @@ -1368,7 +1380,7 @@ "[variables('vnetID')]", "[variables('publicwin1LbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('publicwin1VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1468,7 +1480,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('privatewinStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('privatewinStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('privatewinAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('privatewinVMSize')].storageAccountType]" @@ -1486,7 +1498,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('privatewinStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('privatewinStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('privatewinAccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('privatewinVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1576,7 +1588,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('privatelinuxStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('privatelinuxStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('privatelinuxAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('privatelinuxVMSize')].storageAccountType]" @@ -1594,7 +1606,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('privatelinuxStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('privatelinuxStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('privatelinuxAccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('privatelinuxVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1674,7 +1686,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1683,7 +1695,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1725,14 +1737,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1747,7 +1759,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1777,7 +1789,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1795,7 +1807,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -1820,7 +1832,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1855,7 +1867,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1918,7 +1930,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/windows/swarmWinAndLin_expected_params.json b/pkg/acsengine/testdata/windows/swarmWinAndLin_expected_params.json index 178a05fdf..733b8b3a2 100644 --- a/pkg/acsengine/testdata/windows/swarmWinAndLin_expected_params.json +++ b/pkg/acsengine/testdata/windows/swarmWinAndLin_expected_params.json @@ -5,6 +5,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/windows/swarm_expected.json b/pkg/acsengine/testdata/windows/swarm_expected.json index 899c907c2..7873bedc0 100644 --- a/pkg/acsengine/testdata/windows/swarm_expected.json +++ b/pkg/acsengine/testdata/windows/swarm_expected.json @@ -15,6 +15,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -587,6 +594,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarm-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 1, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -681,7 +693,7 @@ "singleQuote": "'", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -988,7 +1000,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('publicwin1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('publicwin1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('publicwin1AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('publicwin1VMSize')].storageAccountType]" @@ -997,7 +1009,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('publicwin1IPAddressName')]", "properties": { "dnsSettings": { @@ -1012,7 +1024,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('publicwin1IPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('publicwin1LbName')]", "properties": { "backendAddressPools": [ @@ -1151,7 +1163,7 @@ "[variables('vnetID')]", "[variables('publicwin1LbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('publicwin1VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1251,7 +1263,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('privatewinStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('privatewinStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('privatewinAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('privatewinVMSize')].storageAccountType]" @@ -1269,7 +1281,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('privatewinStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('privatewinStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('privatewinAccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('privatewinVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1355,7 +1367,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1364,7 +1376,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1399,14 +1411,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1421,7 +1433,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1451,7 +1463,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1469,7 +1481,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -1494,7 +1506,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1529,7 +1541,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1592,7 +1604,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/windows/swarm_expected_params.json b/pkg/acsengine/testdata/windows/swarm_expected_params.json index c49ace7e8..c4c28aca6 100644 --- a/pkg/acsengine/testdata/windows/swarm_expected_params.json +++ b/pkg/acsengine/testdata/windows/swarm_expected_params.json @@ -5,6 +5,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" }, diff --git a/pkg/acsengine/testdata/windows/swarmmode-windows_classicmode_expected.json b/pkg/acsengine/testdata/windows/swarmmode-windows_classicmode_expected.json index ef272454f..39ce567a8 100644 --- a/pkg/acsengine/testdata/windows/swarmmode-windows_classicmode_expected.json +++ b/pkg/acsengine/testdata/windows/swarmmode-windows_classicmode_expected.json @@ -314,6 +314,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterCount": { "allowedValues": [ 1, @@ -565,6 +572,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarmmode-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": "[parameters('masterCount')]", "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -630,7 +642,7 @@ "singleQuote": "'", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -970,7 +982,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('agentStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('agentStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('agentAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('agentVMSize')].storageAccountType]" @@ -979,7 +991,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentIPAddressName')]", "properties": { "dnsSettings": { @@ -994,7 +1006,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('agentIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('agentLbName')]", "properties": { "backendAddressPools": [ @@ -1133,7 +1145,7 @@ "[variables('vnetID')]", "[variables('agentLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('agentVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1229,7 +1241,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1238,7 +1250,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1266,14 +1278,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1288,7 +1300,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1318,7 +1330,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1336,7 +1348,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -1361,7 +1373,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1396,7 +1408,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1459,7 +1471,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/windows/swarmmode-windows_classicmode_expected_params.json b/pkg/acsengine/testdata/windows/swarmmode-windows_classicmode_expected_params.json index 9e1b53dc3..1998deb93 100644 --- a/pkg/acsengine/testdata/windows/swarmmode-windows_classicmode_expected_params.json +++ b/pkg/acsengine/testdata/windows/swarmmode-windows_classicmode_expected_params.json @@ -17,6 +17,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterCount": { "value": 3 }, diff --git a/pkg/acsengine/testdata/windows/swarmmodeWinAndLin_expected.json b/pkg/acsengine/testdata/windows/swarmmodeWinAndLin_expected.json index c1b742c89..4041fa34c 100644 --- a/pkg/acsengine/testdata/windows/swarmmodeWinAndLin_expected.json +++ b/pkg/acsengine/testdata/windows/swarmmodeWinAndLin_expected.json @@ -15,6 +15,13 @@ }, "type": "string" }, + "location": { + "defaultValue": "", + "metadata": { + "description": "Sets the location for all resources in the cluster" + }, + "type": "string" + }, "masterEndpointDNSNamePrefix": { "metadata": { "description": "Sets the Domain name label for the master IP Address. The concatenation of the domain name label and the regional DNS zone make up the fully qualified domain name associated with the public IP address." @@ -794,6 +801,11 @@ "clusterInstallParameters": "[concat(variables('masterCount'), ' ',variables('masterVMNamePrefix'), ' ',variables('masterFirstAddrOctet4'), ' ',variables('adminUsername'),' ',variables('postInstallScriptURI'),' ',variables('masterFirstAddrPrefix'))]", "configureClusterScriptFile": "configure-swarmmode-cluster.sh", "dataStorageAccountPrefixSeed": 97, + "location": "[variables('locations')[mod(add(2,length(parameters('location'))),add(1,length(parameters('location'))))]]", + "locations": [ + "[resourceGroup().location]", + "[parameters('location')]" + ], "masterAvailabilitySet": "[concat(variables('orchestratorName'), '-master-availabilitySet-', variables('nameSuffix'))]", "masterCount": 3, "masterCustomScript": "[concat('/bin/bash -c \"/bin/bash /opt/azure/containers/',variables('configureClusterScriptFile'), ' ',variables('clusterInstallParameters'),' >> /var/log/azure/cluster-bootstrap.log 2>&1\"')]", @@ -898,7 +910,7 @@ "singleQuote": "'", "sshKeyPath": "[concat('/home/', variables('adminUsername'), '/.ssh/authorized_keys')]", "sshRSAPublicKey": "[parameters('sshRSAPublicKey')]", - "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),resourceGroup().location))]", + "storageAccountBaseName": "[uniqueString(concat(variables('masterEndpointDNSNamePrefix'),variables('location')))]", "storageAccountPrefixes": [ "0", "6", @@ -1205,7 +1217,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('publicwin1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('publicwin1StorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('publicwin1AccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('publicwin1VMSize')].storageAccountType]" @@ -1214,7 +1226,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('publicwin1IPAddressName')]", "properties": { "dnsSettings": { @@ -1229,7 +1241,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('publicwin1IPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('publicwin1LbName')]", "properties": { "backendAddressPools": [ @@ -1368,7 +1380,7 @@ "[variables('vnetID')]", "[variables('publicwin1LbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('publicwin1VMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1468,7 +1480,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('privatewinStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('privatewinStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('privatewinAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('privatewinVMSize')].storageAccountType]" @@ -1486,7 +1498,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('privatewinStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('privatewinStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('privatewinAccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('privatewinVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1576,7 +1588,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('storageAccountPrefixes')[mod(add(copyIndex(),variables('privatelinuxStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(copyIndex(),variables('privatelinuxStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('privatelinuxAccountName'))]", "properties": { "accountType": "[variables('vmSizesMap')[variables('privatelinuxVMSize')].storageAccountType]" @@ -1594,7 +1606,7 @@ "[concat('Microsoft.Storage/storageAccounts/', variables('storageAccountPrefixes')[mod(add(4,variables('privatelinuxStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('storageAccountPrefixes')[div(add(4,variables('privatelinuxStorageAccountOffset')),variables('storageAccountPrefixesCount'))],variables('privatelinuxAccountName'))]", "[variables('vnetID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('privatelinuxVMNamePrefix'), '-vmss')]", "properties": { "upgradePolicy": { @@ -1674,7 +1686,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterStorageAccountName')]", "properties": { "accountType": "[variables('vmSizesMap')[variables('masterVMSize')].storageAccountType]" @@ -1683,7 +1695,7 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('virtualNetworkName')]", "properties": { "addressSpace": { @@ -1725,14 +1737,14 @@ }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterAvailabilitySet')]", "properties": {}, "type": "Microsoft.Compute/availabilitySets" }, { "apiVersion": "[variables('apiVersionDefault')]", - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterPublicIPAddressName')]", "properties": { "dnsSettings": { @@ -1747,7 +1759,7 @@ "dependsOn": [ "[concat('Microsoft.Network/publicIPAddresses/', variables('masterPublicIPAddressName'))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[variables('masterLbName')]", "properties": { "backendAddressPools": [ @@ -1777,7 +1789,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterLbName'), '/', 'SSH-', variables('masterVMNamePrefix'), copyIndex())]", "properties": { "backendPort": 22, @@ -1795,7 +1807,7 @@ "dependsOn": [ "[variables('masterLbID')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterSshPort22InboundNatRuleNamePrefix'), '0')]", "properties": { "backendPort": 2222, @@ -1820,7 +1832,7 @@ "[concat(variables('masterSshPort22InboundNatRuleIdPrefix'),'0')]", "[concat(variables('masterSshInboundNatRuleIdPrefix'),copyIndex())]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), 'nic-', copyIndex())]", "properties": { "ipConfigurations": [ @@ -1855,7 +1867,7 @@ "[concat('Microsoft.Compute/availabilitySets/',variables('masterAvailabilitySet'))]", "[variables('masterStorageAccountName')]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex())]", "properties": { "availabilitySet": { @@ -1918,7 +1930,7 @@ "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', concat(variables('masterVMNamePrefix'), copyIndex()))]" ], - "location": "[resourceGroup().location]", + "location": "[variables('location')]", "name": "[concat(variables('masterVMNamePrefix'), copyIndex(), '/configuremaster')]", "properties": { "publisher": "Microsoft.OSTCExtensions", diff --git a/pkg/acsengine/testdata/windows/swarmmodeWinAndLin_expected_params.json b/pkg/acsengine/testdata/windows/swarmmodeWinAndLin_expected_params.json index 178a05fdf..733b8b3a2 100644 --- a/pkg/acsengine/testdata/windows/swarmmodeWinAndLin_expected_params.json +++ b/pkg/acsengine/testdata/windows/swarmmodeWinAndLin_expected_params.json @@ -5,6 +5,9 @@ "linuxAdminUsername": { "value": "azureuser" }, + "location": { + "value": "" + }, "masterEndpointDNSNamePrefix": { "value": "masterdns1" },