Skip to content

Commit

Permalink
Fixed ZONE as primary_location
Browse files Browse the repository at this point in the history
The current fix for GoogleCloudPlatform#35 forgot to also change the ZONE variable in scripts/validate.sh
  • Loading branch information
falico authored Nov 23, 2019
1 parent 60874d1 commit 281eb61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ APP_NAME=$(kubectl get deployments -n default \
APP_MESSAGE="deployment \"$APP_NAME\" successfully rolled out"

cd "$ROOT/terraform" || exit; CLUSTER_NAME=$(terraform output cluster_name) \
ZONE=$(terraform output primary_zone)
ZONE=$(terraform output primary_location)

# Get credentials for the k8s cluster
gcloud container clusters get-credentials "$CLUSTER_NAME" --zone="$ZONE"
Expand Down

0 comments on commit 281eb61

Please sign in to comment.