Skip to content

Commit

Permalink
fix (#1243)
Browse files Browse the repository at this point in the history
  • Loading branch information
lluunn authored and k8s-ci-robot committed Jul 19, 2018
1 parent a036f40 commit 18305be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gke/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ IAP_IAM_ENTRY=${IAP_IAM_ENTRY:-"user:${EMAIL}"}
if [ ! -d "${KUBEFLOW_DM_DIR}" ]; then
echo creating Deployment Manager configs in directory "${KUBEFLOW_DM_DIR}"
cp -r "${KUBEFLOW_REPO}/scripts/gke/deployment_manager_configs" "${KUBEFLOW_DM_DIR}"
cd "${KUBEFLOW_DM_DIR}"
# Set values in DM config file
sed -i.bak "s/zone: us-central1-a/zone: ${ZONE}/" "${KUBEFLOW_DM_DIR}/${CONFIG_FILE}"
sed -i.bak "s/users:/users: [\"${IAP_IAM_ENTRY}\"]/" "${KUBEFLOW_DM_DIR}/${CONFIG_FILE}"
Expand All @@ -113,6 +112,7 @@ if [ ! -d "${KUBEFLOW_DM_DIR}" ]; then
else
echo Deployment Manager configs already exist in directory "${KUBEFLOW_DM_DIR}"
fi
cd "${KUBEFLOW_DM_DIR}"

# Create GCFS Instance in parallel with deployment manager to speed things up
gcloud beta filestore instances create ${GCFS_INSTANCE} \
Expand Down

0 comments on commit 18305be

Please sign in to comment.