Fix Kubernetes version validation script
@@ -73,7 +73,7 @@ check_node_count
###### Validate Kubernetes version
log "Checking Kubernetes version"
-if (( ${EXPECTED_ORCHESTRATOR_VERSION} != "")); then
+if (( -n "${EXPECTED_ORCHESTRATOR_VERSION}" )); then
kubernetes_version=$(kubectl --version | grep ${EXPECTED_ORCHESTRATOR_VERSION} | awk '{print $2}' | cut -f 2- -d "v")
if (( ${kubernetes_version} != ${EXPECTED_ORCHESTRATOR_VERSION} )); then
log "Unexpected Kubernetes version: ${kubernetes_version}, expected: ${EXPECTED_ORCHESTRATOR_VERSION}"; exit -1
