feat(outputs): add additional values to output block

This commit is contained in:
Jason Hansen 2017-08-07 16:36:09 -07:00
Родитель 491eee53df
Коммит dd3fde27f6
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 5671CD6252A61A10
3 изменённых файлов: 27 добавлений и 1 удалений

24
parts/iaasoutputs.t Normal file
Просмотреть файл

@ -0,0 +1,24 @@
"resourceGroup": {
"type": "string",
"value": "[variables('resourceGroup')]"
},
"subnetName": {
"type": "string",
"value": "[variables('subnetName')]"
},
"securityGroupName": {
"type": "string",
"value": "[variables('nsgName')]"
},
"virtualNetworkName": {
"type": "string",
"value": "[variables('virtualNetworkName')]"
},
"routeTableName": {
"type": "string",
"value": "[variables('routeTableName')]"
},
"primaryAvailablitySetName": {
"type": "string",
"value": "[variables('primaryAvailablitySetName')]"
},

Просмотреть файл

@ -47,6 +47,7 @@
{{template "kubernetesmasterresources.t" .}}
],
"outputs": {
{{template "iaasoutputs.t" .}}
{{range .AgentPoolProfiles}}
{{template "agentoutputs.t" .}}
{{end}}

Просмотреть файл

@ -56,6 +56,7 @@ const (
dcosParams = "dcosparams.t"
dcosMasterResources = "dcosmasterresources.t"
dcosMasterVars = "dcosmastervars.t"
iaasOutputs = "iaasoutputs.t"
kubernetesBaseFile = "kubernetesbase.t"
kubernetesAgentResourcesVMAS = "kubernetesagentresourcesvmas.t"
kubernetesAgentVars = "kubernetesagentvars.t"
@ -123,7 +124,7 @@ var calicoAddonYamls15 = map[string]string{
"MASTER_ADDON_CALICO_DAEMONSET_B64_GZIP_STR": "kubernetesmasteraddons-calico-daemonset1.5.yaml",
}
var commonTemplateFiles = []string{agentOutputs, agentParams, classicParams, masterOutputs, masterParams, windowsParams}
var commonTemplateFiles = []string{agentOutputs, agentParams, classicParams, masterOutputs, iaasOutputs, masterParams, windowsParams}
var dcosTemplateFiles = []string{dcosAgentResourcesVMAS, dcosAgentResourcesVMSS, dcosAgentVars, dcosBaseFile, dcosMasterResources, dcosMasterVars, dcosParams}
var kubernetesTemplateFiles = []string{kubernetesBaseFile, kubernetesAgentResourcesVMAS, kubernetesAgentVars, kubernetesMasterResources, kubernetesMasterVars, kubernetesParams, kubernetesWinAgentVars}
var swarmTemplateFiles = []string{swarmBaseFile, swarmAgentResourcesVMAS, swarmAgentVars, swarmAgentResourcesVMSS, swarmAgentResourcesClassic, swarmBaseFile, swarmMasterResources, swarmMasterVars, swarmWinAgentResourcesVMAS, swarmWinAgentResourcesVMSS}