Skip to content

Commit

Permalink
implement no_template for PR Azure#605
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqibrahim committed Mar 1, 2019
1 parent af7c27b commit 74d4cd6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/engine/armvariables.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ func getK8sMasterVars(cs *api.ContainerService) map[string]interface{} {
"healthMonitorScript": GetKubernetesB64HealthMonitorScript(),
"provisionInstalls": GetKubernetesB64Installs(),
"provisionConfigs": GetKubernetesB64Configs(),
"systemConf": GetB64systemConf(),
"mountetcdScript": GetKubernetesB64Mountetcd(),
"customSearchDomainsScript": GetKubernetesB64CustomSearchDomainsScript(),
"sshdConfig": GetB64sshdConfig(),
Expand Down
1 change: 1 addition & 0 deletions pkg/engine/armvariables_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ func TestK8sVars(t *testing.T) {
"subnetName": "[concat(parameters('orchestratorName'), '-subnet')]",
"subnetNameResourceSegmentIndex": 10,
"subscriptionId": "[subscription().subscriptionId]",
"systemConf": "H4sIAAAAAAAA/xzFMQqAMAwF0N2z5ApOboInEJEaPrWQJiVNB28vOr19S5oy/JhWK7qYhpsIvM/cBnEbiTk+O4IUcbL03+bF6B4ZIRdVVPPnDQAA///t4NIJTAAAAA==",
"tenantId": "[subscription().tenantId]",
"truncatedResourceGroup": "[take(replace(replace(resourceGroup().name, '(', '-'), ')', '-'), 63)]",
"useInstanceMetadata": "true",
Expand Down
4 changes: 4 additions & 0 deletions pkg/engine/customscripts.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ func GetKubernetesB64GenerateProxyCerts() string {
func GetB64sshdConfig() string {
return getBase64CustomScript(sshdConfig)
}

func GetB64systemConf() string {
return getBase64CustomScript(systemConf)
}

0 comments on commit 74d4cd6

Please sign in to comment.