зеркало из https://github.com/Azure/acs-engine.git
fix bunch of warnings for arm templates. (#4285)
This commit is contained in:
Родитель
c642560a00
Коммит
28bb9dfda9
|
@ -118,7 +118,7 @@
|
|||
"computername": "[variables('bootstrapVMName')]",
|
||||
{{GetDCOSBootstrapCustomData}}
|
||||
"linuxConfiguration": {
|
||||
"disablePasswordAuthentication": "true",
|
||||
"disablePasswordAuthentication": true,
|
||||
"ssh": {
|
||||
"publicKeys": [
|
||||
{
|
||||
|
|
|
@ -176,7 +176,7 @@
|
|||
"id": "[variables('masterLbIPConfigID')]"
|
||||
},
|
||||
"frontendPort": "[copyIndex(2200)]",
|
||||
"protocol": "tcp"
|
||||
"protocol": "Tcp"
|
||||
},
|
||||
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
|
||||
},
|
||||
|
@ -298,7 +298,7 @@
|
|||
"computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]",
|
||||
{{GetDCOSMasterCustomData}}
|
||||
"linuxConfiguration": {
|
||||
"disablePasswordAuthentication": "true",
|
||||
"disablePasswordAuthentication": true,
|
||||
"ssh": {
|
||||
"publicKeys": [
|
||||
{
|
||||
|
|
|
@ -174,7 +174,7 @@
|
|||
"frontendIPConfiguration": {
|
||||
"id": "[variables('{{.Name}}LbIPConfigID')]"
|
||||
},
|
||||
"protocol": "tcp",
|
||||
"protocol": "Tcp",
|
||||
"frontendPortRangeStart": "[variables('{{.Name}}WindowsRDPNatRangeStart')]",
|
||||
"frontendPortRangeEnd": "[variables('{{.Name}}WindowsRDPEndRangeStop')]",
|
||||
"backendPort": "[variables('agentWindowsBackendPort')]"
|
||||
|
|
|
@ -207,7 +207,7 @@
|
|||
"computername": "[concat(variables('{{.Name}}VMNamePrefix'), copyIndex(variables('{{.Name}}Offset')))]",
|
||||
{{GetDCOSAgentCustomData .}}
|
||||
"linuxConfiguration": {
|
||||
"disablePasswordAuthentication": "true",
|
||||
"disablePasswordAuthentication": true,
|
||||
"ssh": {
|
||||
"publicKeys": [
|
||||
{
|
||||
|
|
|
@ -152,7 +152,7 @@
|
|||
"computerNamePrefix": "[variables('{{.Name}}VMNamePrefix')]",
|
||||
{{GetDCOSAgentCustomData .}}
|
||||
"linuxConfiguration": {
|
||||
"disablePasswordAuthentication": "true",
|
||||
"disablePasswordAuthentication": true,
|
||||
"ssh": {
|
||||
"publicKeys": [
|
||||
{
|
||||
|
|
|
@ -176,7 +176,7 @@
|
|||
"id": "[variables('masterLbIPConfigID')]"
|
||||
},
|
||||
"frontendPort": "[copyIndex(2200)]",
|
||||
"protocol": "tcp"
|
||||
"protocol": "Tcp"
|
||||
},
|
||||
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
|
||||
},
|
||||
|
@ -196,7 +196,7 @@
|
|||
"id": "[variables('masterLbIPConfigID')]"
|
||||
},
|
||||
"frontendPort": "22",
|
||||
"protocol": "tcp"
|
||||
"protocol": "Tcp"
|
||||
},
|
||||
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
|
||||
},
|
||||
|
@ -364,7 +364,7 @@
|
|||
"computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]",
|
||||
{{GetDCOSMasterCustomData}}
|
||||
"linuxConfiguration": {
|
||||
"disablePasswordAuthentication": "true",
|
||||
"disablePasswordAuthentication": true,
|
||||
"ssh": {
|
||||
"publicKeys": [
|
||||
{
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
"location": "[variables('location')]",
|
||||
"name": "[concat(variables('{{.Name}}VMNamePrefix'), 'nic-', copyIndex(variables('{{.Name}}Offset')))]",
|
||||
"properties": {
|
||||
"enableAcceleratedNetworking" : "{{.AcceleratedNetworkingEnabled}}",
|
||||
"enableAcceleratedNetworking" : {{.AcceleratedNetworkingEnabled}},
|
||||
{{if not IsOpenShift}}
|
||||
{{if .IsCustomVNET}}
|
||||
"networkSecurityGroup": {
|
||||
|
@ -211,7 +211,7 @@
|
|||
{{GetKubernetesAgentCustomData .}}
|
||||
{{end}}
|
||||
"linuxConfiguration": {
|
||||
"disablePasswordAuthentication": "true",
|
||||
"disablePasswordAuthentication": true,
|
||||
"ssh": {
|
||||
"publicKeys": [
|
||||
{
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
"name": "[variables('{{.Name}}VMNamePrefix')]",
|
||||
"properties": {
|
||||
"primary": true,
|
||||
"enableAcceleratedNetworking" : "{{.AcceleratedNetworkingEnabled}}",
|
||||
"enableAcceleratedNetworking" : {{.AcceleratedNetworkingEnabled}},
|
||||
{{if .IsCustomVNET}}
|
||||
"networkSecurityGroup": {
|
||||
"id": "[variables('nsgID')]"
|
||||
|
@ -107,7 +107,7 @@
|
|||
"computerNamePrefix": "[variables('{{.Name}}VMNamePrefix')]",
|
||||
{{GetKubernetesAgentCustomData .}}
|
||||
"linuxConfiguration": {
|
||||
"disablePasswordAuthentication": "true",
|
||||
"disablePasswordAuthentication": true,
|
||||
"ssh": {
|
||||
"publicKeys": [
|
||||
{
|
||||
|
|
|
@ -224,7 +224,7 @@
|
|||
"backendAddressPool": {
|
||||
"id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]"
|
||||
},
|
||||
"protocol": "tcp",
|
||||
"protocol": "Tcp",
|
||||
"frontendPort": {{if IsOpenShift}}8443{{else}}443{{end}},
|
||||
"backendPort": {{if IsOpenShift}}8443{{else}}443{{end}},
|
||||
"enableFloatingIP": false,
|
||||
|
@ -240,9 +240,9 @@
|
|||
{
|
||||
"name": "tcpHTTPSProbe",
|
||||
"properties": {
|
||||
"protocol": "tcp",
|
||||
"protocol": "Tcp",
|
||||
"port": {{if IsOpenShift}}8443{{else}}443{{end}},
|
||||
"intervalInSeconds": "5",
|
||||
"intervalInSeconds": 5,
|
||||
"numberOfProbes": "2"
|
||||
}
|
||||
}
|
||||
|
@ -271,7 +271,7 @@
|
|||
"id": "[variables('masterLbIPConfigID')]"
|
||||
},
|
||||
"frontendPort": "[variables('sshNatPorts')[copyIndex(variables('masterOffset'))]]",
|
||||
"protocol": "tcp"
|
||||
"protocol": "Tcp"
|
||||
},
|
||||
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
|
||||
},
|
||||
|
@ -640,7 +640,7 @@
|
|||
},
|
||||
"frontendPort": {{if IsOpenShift}}8443{{else}}443{{end}},
|
||||
"idleTimeoutInMinutes": 5,
|
||||
"protocol": "tcp",
|
||||
"protocol": "Tcp",
|
||||
"probe": {
|
||||
"id": "[concat(variables('masterInternalLbID'),'/probes/tcpHTTPSProbe')]"
|
||||
}
|
||||
|
@ -651,10 +651,10 @@
|
|||
{
|
||||
"name": "tcpHTTPSProbe",
|
||||
"properties": {
|
||||
"intervalInSeconds": "5",
|
||||
"numberOfProbes": "2",
|
||||
"intervalInSeconds": 5,
|
||||
"numberOfProbes": 2,
|
||||
"port": {{if IsOpenShift}}8443{{else}}4443{{end}},
|
||||
"protocol": "tcp"
|
||||
"protocol": "Tcp"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
@ -240,7 +240,7 @@
|
|||
{
|
||||
"name": "tcpHTTPSProbe",
|
||||
"properties": {
|
||||
"protocol": "tcp",
|
||||
"protocol": "Tcp",
|
||||
"port": 443,
|
||||
"intervalInSeconds": 5,
|
||||
"numberOfProbes": 2
|
||||
|
@ -254,7 +254,7 @@
|
|||
"frontendIPConfiguration": {
|
||||
"id": "[variables('masterLbIPConfigID')]"
|
||||
},
|
||||
"protocol": "tcp",
|
||||
"protocol": "Tcp",
|
||||
"backendPort": "22",
|
||||
"frontendPortRangeStart": "50001",
|
||||
"frontendPortRangeEnd": "50119",
|
||||
|
@ -272,7 +272,7 @@
|
|||
"backendAddressPool": {
|
||||
"id": "[concat(variables('masterLbID'), '/backendAddressPools/', variables('masterLbBackendPoolName'))]"
|
||||
},
|
||||
"protocol": "tcp",
|
||||
"protocol": "Tcp",
|
||||
"frontendPort": 443,
|
||||
"backendPort": 443,
|
||||
"enableFloatingIP": false,
|
||||
|
@ -392,7 +392,7 @@
|
|||
"computerNamePrefix": "[concat(variables('masterVMNamePrefix'), 'vmss')]",
|
||||
{{GetKubernetesMasterCustomData .}}
|
||||
"linuxConfiguration": {
|
||||
"disablePasswordAuthentication": "true",
|
||||
"disablePasswordAuthentication": true,
|
||||
"ssh": {
|
||||
"publicKeys": [
|
||||
{
|
||||
|
|
|
@ -189,7 +189,7 @@
|
|||
{{GetAgentSwarmCustomData .}}
|
||||
{{end}}
|
||||
"linuxConfiguration": {
|
||||
"disablePasswordAuthentication": "true",
|
||||
"disablePasswordAuthentication": true,
|
||||
"ssh": {
|
||||
"publicKeys": [
|
||||
{
|
||||
|
|
|
@ -134,7 +134,7 @@
|
|||
{{GetAgentSwarmCustomData .}}
|
||||
{{end}}
|
||||
"linuxConfiguration": {
|
||||
"disablePasswordAuthentication": "true",
|
||||
"disablePasswordAuthentication": true,
|
||||
"ssh": {
|
||||
"publicKeys": [
|
||||
{
|
||||
|
|
|
@ -105,7 +105,7 @@
|
|||
"id": "[variables('masterLbIPConfigID')]"
|
||||
},
|
||||
"frontendPort": "[copyIndex(2200)]",
|
||||
"protocol": "tcp"
|
||||
"protocol": "Tcp"
|
||||
},
|
||||
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
|
||||
},
|
||||
|
@ -123,7 +123,7 @@
|
|||
"id": "[variables('masterLbIPConfigID')]"
|
||||
},
|
||||
"frontendPort": "22",
|
||||
"protocol": "tcp"
|
||||
"protocol": "Tcp"
|
||||
},
|
||||
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
|
||||
},
|
||||
|
@ -213,7 +213,7 @@
|
|||
{{GetMasterSwarmCustomData}}
|
||||
{{end}}
|
||||
"linuxConfiguration": {
|
||||
"disablePasswordAuthentication": "true",
|
||||
"disablePasswordAuthentication": true,
|
||||
"ssh": {
|
||||
"publicKeys": [
|
||||
{
|
||||
|
|
|
@ -139,7 +139,7 @@
|
|||
"frontendIPConfiguration": {
|
||||
"id": "[variables('{{.Name}}LbIPConfigID')]"
|
||||
},
|
||||
"protocol": "tcp",
|
||||
"protocol": "Tcp",
|
||||
"frontendPortRangeStart": "[variables('{{.Name}}WindowsRDPNatRangeStart')]",
|
||||
"frontendPortRangeEnd": "[variables('{{.Name}}WindowsRDPEndRangeStop')]",
|
||||
"backendPort": "[variables('agentWindowsBackendPort')]"
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
"frontendIPConfiguration": {
|
||||
"id": "[variables('{{.Name}}LbIPConfigID')]"
|
||||
},
|
||||
"protocol": "tcp",
|
||||
"protocol": "Tcp",
|
||||
"frontendPortRangeStart": "[variables('{{.Name}}WindowsRDPNatRangeStart')]",
|
||||
"frontendPortRangeEnd": "[variables('{{.Name}}WindowsRDPEndRangeStop')]",
|
||||
"backendPort": "[variables('agentWindowsBackendPort')]"
|
||||
|
|
|
@ -510,7 +510,7 @@ func getLBRule(name string, port int) string {
|
|||
"probe": {
|
||||
"id": "[concat(variables('%sLbID'),'/probes/tcp%dProbe')]"
|
||||
},
|
||||
"protocol": "tcp"
|
||||
"protocol": "Tcp"
|
||||
}
|
||||
}`, port, name, name, port, name, port, name, port)
|
||||
}
|
||||
|
@ -530,10 +530,10 @@ func getProbe(port int) string {
|
|||
return fmt.Sprintf(` {
|
||||
"name": "tcp%dProbe",
|
||||
"properties": {
|
||||
"intervalInSeconds": "5",
|
||||
"numberOfProbes": "2",
|
||||
"intervalInSeconds": 5,
|
||||
"numberOfProbes": 2,
|
||||
"port": %d,
|
||||
"protocol": "tcp"
|
||||
"protocol": "Tcp"
|
||||
}
|
||||
}`, port, port)
|
||||
}
|
||||
|
|
|
@ -753,7 +753,7 @@
|
|||
"adminUsername": "[variables('adminUsername')]",
|
||||
"computerNamePrefix": "[variables('agentpriVMNamePrefix')]",
|
||||
"linuxConfiguration": {
|
||||
"disablePasswordAuthentication": "true",
|
||||
"disablePasswordAuthentication": true,
|
||||
"ssh": {
|
||||
"publicKeys": [
|
||||
{
|
||||
|
@ -827,7 +827,7 @@
|
|||
"adminUsername": "[variables('adminUsername')]",
|
||||
"computerNamePrefix": "[variables('agentpri2VMNamePrefix')]",
|
||||
"linuxConfiguration": {
|
||||
"disablePasswordAuthentication": "true",
|
||||
"disablePasswordAuthentication": true,
|
||||
"ssh": {
|
||||
"publicKeys": [
|
||||
{
|
||||
|
@ -980,7 +980,7 @@
|
|||
"id": "[variables('masterLbIPConfigID')]"
|
||||
},
|
||||
"frontendPort": "[copyIndex(2200)]",
|
||||
"protocol": "tcp"
|
||||
"protocol": "Tcp"
|
||||
},
|
||||
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
|
||||
},
|
||||
|
@ -998,7 +998,7 @@
|
|||
"id": "[variables('masterLbIPConfigID')]"
|
||||
},
|
||||
"frontendPort": "22",
|
||||
"protocol": "tcp"
|
||||
"protocol": "Tcp"
|
||||
},
|
||||
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
|
||||
},
|
||||
|
@ -1109,7 +1109,7 @@
|
|||
"adminUsername": "[variables('adminUsername')]",
|
||||
"computername": "[concat(variables('masterVMNamePrefix'), copyIndex())]",
|
||||
"linuxConfiguration": {
|
||||
"disablePasswordAuthentication": "true",
|
||||
"disablePasswordAuthentication": true,
|
||||
"ssh": {
|
||||
"publicKeys": [
|
||||
{
|
||||
|
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -1802,7 +1802,7 @@
|
|||
"probe": {
|
||||
"id": "[concat(variables('masterLbID'),'/probes/tcpHTTPSProbe')]"
|
||||
},
|
||||
"protocol": "tcp"
|
||||
"protocol": "Tcp"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
@ -1810,10 +1810,10 @@
|
|||
{
|
||||
"name": "tcpHTTPSProbe",
|
||||
"properties": {
|
||||
"intervalInSeconds": "5",
|
||||
"numberOfProbes": "2",
|
||||
"intervalInSeconds": 5,
|
||||
"numberOfProbes": 2,
|
||||
"port": 443,
|
||||
"protocol": "tcp"
|
||||
"protocol": "Tcp"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
@ -1856,7 +1856,7 @@
|
|||
},
|
||||
"frontendPort": 443,
|
||||
"idleTimeoutInMinutes": 5,
|
||||
"protocol": "tcp"
|
||||
"protocol": "Tcp"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
@ -1864,10 +1864,10 @@
|
|||
{
|
||||
"name": "tcpHTTPSProbe",
|
||||
"properties": {
|
||||
"intervalInSeconds": "5",
|
||||
"numberOfProbes": "2",
|
||||
"intervalInSeconds": 5,
|
||||
"numberOfProbes": 2,
|
||||
"port": 4443,
|
||||
"protocol": "tcp"
|
||||
"protocol": "Tcp"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
@ -1904,7 +1904,7 @@
|
|||
"id": "[variables('masterLbIPConfigID')]"
|
||||
},
|
||||
"frontendPort": "[variables('sshNatPorts')[copyIndex(variables('masterOffset'))]]",
|
||||
"protocol": "tcp"
|
||||
"protocol": "Tcp"
|
||||
},
|
||||
"type": "Microsoft.Network/loadBalancers/inboundNatRules"
|
||||
},
|
||||
|
@ -1979,7 +1979,7 @@
|
|||
"adminUsername": "[parameters('linuxAdminUsername')]",
|
||||
"computername": "[concat(variables('masterVMNamePrefix'), copyIndex(variables('masterOffset')))]",
|
||||
"linuxConfiguration": {
|
||||
"disablePasswordAuthentication": "true",
|
||||
"disablePasswordAuthentication": true,
|
||||
"ssh": {
|
||||
"publicKeys": [
|
||||
{
|
||||
|
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -33,7 +33,7 @@
|
|||
}],
|
||||
"portDefinitions": [
|
||||
{
|
||||
"protocol": "tcp",
|
||||
"protocol": "Tcp",
|
||||
"port": 0,
|
||||
"name": "80"
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"containerPort": 80,
|
||||
"hostPort": 0,
|
||||
"servicePort": 10000,
|
||||
"protocol": "tcp",
|
||||
"protocol": "Tcp",
|
||||
"name": "default"
|
||||
}
|
||||
],
|
||||
|
|
Загрузка…
Ссылка в новой задаче