File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ if [ "${ADD_VM_IP_AUTH_NETWORKS}" = "true" ]; then
6161 CURRENT_AUTH_NETWORK=$( gcloud container clusters describe " ${GKE_CLUSTER_NAME} " --zone=" ${GKE_CLUSTER_ZONE} " \
6262 --format=" value(masterAuthorizedNetworksConfig.cidrBlocks[0])" | sed ' s/cidrBlock=//' )
6363
64- TMP_CURRENT_AUTH_NETWORK=$( gcloud container clusters describe " ${GKE_CLUSTER_NAME} " --zone=" ${GKE_CLUSTER_ZONE} "
64+ TMP_CURRENT_AUTH_NETWORK=$( gcloud container clusters describe " ${GKE_CLUSTER_NAME} " --zone=" ${GKE_CLUSTER_ZONE} " )
6565 echo " TMP Current GKE master authorized networks: ${TMP_CURRENT_AUTH_NETWORK} "
6666 gcloud container clusters update " ${GKE_CLUSTER_NAME} " --zone=" ${GKE_CLUSTER_ZONE} " --enable-master-authorized-networks --master-authorized-networks=" ${EXTERNAL_IP} " /32," ${CURRENT_AUTH_NETWORK} "
6767fi
You can’t perform that action at this time.
0 commit comments