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