Addressed review comments.

This commit is contained in:
Madhusudan.C.S
2016-08-25 12:45:40 -07:00
parent 9650a84f7b
commit a6ff2364c5
3 changed files with 15 additions and 15 deletions

View File

@@ -52,8 +52,8 @@ function pull_installer() {
function ensure_files() {
kube::log::status "Ensure provider is supported"
if [[ "${KUBERNETES_PROVIDER:-}" != "gce" ]]; then
echo "Supported providers: \"gce\""
if [[ "${KUBERNETES_PROVIDER:-}" != "gce" && "${KUBERNETES_PROVIDER:-}" != "gke" ]]; then
echo "Supported providers: \"gce\", \"gke\""
exit 1
fi