File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,14 @@ if [ "${IPV6_ENABLE}" = "true" ]; then
2929 --ipv6-access-type=EXTERNAL \
3030 --region=${GKE_CLUSTER_REGION}
3131
32+ gcloud compute firewall-rules create ${GKE_CLUSTER_NAME} -firewall --network ${GKE_CLUSTER_NAME} -network --allow tcp:22,tcp:3389,icmp
33+
3234 echo " Deleting subnet ${GKE_CLUSTER_NAME} -subnet (if exists)..."
3335 gcloud compute networks subnets delete ${GKE_CLUSTER_NAME} -subnet --region=${GKE_CLUSTER_REGION} --quiet || true
3436 echo " Deleting network ${GKE_CLUSTER_NAME} -network (if exists)..."
3537 gcloud compute networks delete ${GKE_CLUSTER_NAME} -network --quiet || true
38+ echo " Deleting firewall rule ${GKE_CLUSTER_NAME} -firewall (if exists)..."
39+ gcloud compute firewall-rules delete ${GKE_CLUSTER_NAME} -firewall --quiet || true
3640fi
3741
3842gcloud container clusters create " ${GKE_CLUSTER_NAME} " \
You can’t perform that action at this time.
0 commit comments