Skip to content

Commit

Permalink
fix 2 more missed error
Browse files Browse the repository at this point in the history
  • Loading branch information
yolocs committed Mar 8, 2018
1 parent efa144e commit ae0caf8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions parts/k8s/kubernetesmastercustomscript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ touch "${APISERVER_PUBLIC_KEY_PATH}"
chmod 0644 "${APISERVER_PUBLIC_KEY_PATH}"
chown root:root "${APISERVER_PUBLIC_KEY_PATH}"

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

Expand Down Expand Up @@ -174,7 +173,7 @@ if [[ ! -z "${MASTER_NODE}" ]]; then
}
EOF
else
echo "APISERVER_PRIVATE_KEY is empty, assuming worker node, skip azure json."
echo "MASTER_NODE is empty, worker node, skip azure json."
fi

###########################################################
Expand Down
1 change: 0 additions & 1 deletion parts/k8s/kubernetesmastervars.t
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,6 @@
"tenantId": "[subscription().tenantId]",
"singleQuote": "'",
"targetEnvironment": "[parameters('targetEnvironment')]",
"singleQuote": "'",
"dockerEngineDownloadRepo": "[parameters('dockerEngineDownloadRepo')]",
"dockerEngineVersion": "[parameters('dockerEngineVersion')]"
{{if .LinuxProfile.HasSecrets}}
Expand Down

0 comments on commit ae0caf8

Please sign in to comment.