1
0
mirror of https://github.com/google/nomulus synced 2025-12-23 06:15:42 +00:00

Exclude prober endoint from sed command canary (#2739)

This commit is contained in:
Pavlo Tkach
2025-04-07 17:13:13 -04:00
committed by GitHub
parent 1096f201cd
commit 03872b508f
2 changed files with 7 additions and 1 deletions

View File

@@ -47,6 +47,9 @@ do
sed s/PROXY_ENV/"${environment}_canary"/g | \
sed s/EPP/"epp-canary"/g | \
sed s/"${service}"/"${service}-canary"/g | \
# Undo prober endpoint replacement done in the previous line.
# The link should stay as /ready/${service}.
sed s/"ready\/${service}-canary"/"ready\/${service}"/g | \
kubectl apply --grace-period=1 -f -
kubectl rollout restart deployment/${service}-canary
done