File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -166,6 +166,10 @@ delete-gke-cluster: ## Delete the GKE cluster
166166add-local-ip-to-cluster : # # Add local IP to the GKE cluster master-authorized-networks
167167	./scripts/add-local-ip-auth-networks.sh
168168
169+ .PHONY : update-firewall-with-local-ip
170+ update-firewall-with-local-ip : # # Update the firewall rule with local IP address
171+ 	./scripts/update-firewall-with-local-ip.sh
172+ 
169173HELM_PARAMETERS  += --set nginxGateway.name=nginx-gateway --set nginx.service.type=ClusterIP --skip-schema-validation
170174
171175#  this target is used to install the gateway-api CRDs from the main branch (only used in the nightly CI job)
Original file line number Diff line number Diff line change @@ -91,6 +91,14 @@ make create-gke-cluster
9191make add-local-ip-to-cluster
9292``` 
9393
94+ >  Note: If you already have a GKE cluster and your public IP has changed, update the firewall rule to include your new client IP.
95+ >  This restores connectivity when you’re unable to reach the VM.
96+ 
97+ 
98+ ``` makefile 
99+ make update-firewall-with-local-ip
100+ ``` 
101+ 
94102### Step 2 - Build and Load Images  
95103
96104Loading the images only applies to a ` kind `  cluster. If using a cloud provider, you will need to tag and push
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ 
3+ set  -eo pipefail
4+ 
5+ source  scripts/vars.env
6+ 
7+ gcloud compute firewall-rules update ${NETWORK_TAGS}  --source-ranges ${SOURCE_IP_RANGE} 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments