Add headers to record WHOIS client IPs (#2695)

The headers can be used by Cloud Armor to perform IP-based rate
limiting.
This commit is contained in:
Lai Jiang
2025-02-27 22:15:13 +00:00
committed by GitHub
parent 5180095cb6
commit 7fb846c5b0
2 changed files with 19 additions and 2 deletions
+3 -2
View File
@@ -40,7 +40,8 @@ do
kubectl apply -f -
kubectl apply -f "./kubernetes/proxy-service-canary.yaml" --force
fi
# Kills all running pods, new pods created will be pulling the new image.
kubectl delete pods --all
# Restart all running pods, new pods created will be pulling the new image.
kubectl rollout restart deployment/proxy-deployment
kubectl rollout restart deployment/proxy-deployment-canary
done < <(gcloud container clusters list --project ${project} | grep proxy-cluster)
kubectl config use-context "$current_context"