зеркало из https://github.com/Azure/aks-engine.git
feat(outputs): add additional values to output block
This commit is contained in:
Родитель
491eee53df
Коммит
dd3fde27f6
|
@ -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}
|
||||
|
|
Загрузка…
Ссылка в новой задаче