Skip to content

Commit ae0caf8

Browse files
committedMar 8, 2018
fix 2 more missed error
1 parent efa144e commit ae0caf8

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed
 

‎parts/k8s/kubernetesmastercustomscript.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ touch "${APISERVER_PUBLIC_KEY_PATH}"
134134
chmod 0644 "${APISERVER_PUBLIC_KEY_PATH}"
135135
chown root:root "${APISERVER_PUBLIC_KEY_PATH}"
136136

137-
# If APISERVER_PRIVATE_KEY is empty, then we are not on the master
138137
if [[ ! -z "${MASTER_NODE}" ]]; then
139138
echo "MASTER_NODE is non-empty, master node, configure azure json."
140139

@@ -174,7 +173,7 @@ if [[ ! -z "${MASTER_NODE}" ]]; then
174173
}
175174
EOF
176175
else
177-
echo "APISERVER_PRIVATE_KEY is empty, assuming worker node, skip azure json."
176+
echo "MASTER_NODE is empty, worker node, skip azure json."
178177
fi
179178

180179
###########################################################

‎parts/k8s/kubernetesmastervars.t

-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,6 @@
343343
"tenantId": "[subscription().tenantId]",
344344
"singleQuote": "'",
345345
"targetEnvironment": "[parameters('targetEnvironment')]",
346-
"singleQuote": "'",
347346
"dockerEngineDownloadRepo": "[parameters('dockerEngineDownloadRepo')]",
348347
"dockerEngineVersion": "[parameters('dockerEngineVersion')]"
349348
{{if .LinuxProfile.HasSecrets}}

0 commit comments

Comments
 (0)