Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Output VMSS cloud config settings. (#3610)
Browse files Browse the repository at this point in the history
/lgtm
  • Loading branch information
JunSun17 authored and jackfrancis committed Aug 7, 2018
1 parent e053cb0 commit 46162bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions parts/iaasoutputs.t
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,9 @@
"primaryAvailabilitySetName": {
"type": "string",
"value": "[variables('primaryAvailabilitySetName')]"
},
"primaryScaleSetName": {
"type": "string",
"value": "[variables('primaryScaleSetName')]"
}

4 changes: 2 additions & 2 deletions parts/k8s/kubernetesmastervars.t
Original file line number Diff line number Diff line change
Expand Up @@ -359,11 +359,11 @@
"nsgID": "[resourceId('Microsoft.Network/networkSecurityGroups',variables('nsgName'))]",
{{if not AnyAgentUsesVirtualMachineScaleSets}}
"primaryAvailabilitySetName": "[concat('{{ (index .AgentPoolProfiles 0).Name }}-availabilitySet-',variables('nameSuffix'))]",
"primaryScaleSetName": "''",
"primaryScaleSetName": "",
"vmType": "standard",
{{else}}
"primaryScaleSetName": "[concat(variables('orchestratorName'), '-{{ (index .AgentPoolProfiles 0).Name }}-',variables('nameSuffix'), '-vmss')]",
"primaryAvailabilitySetName": "''",
"primaryAvailabilitySetName": "",
"vmType": "vmss",
{{end}}
{{if not IsHostedMaster }}
Expand Down

0 comments on commit 46162bb

Please sign in to comment.