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:
@@ -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
|
||||
|
||||
@@ -211,7 +211,10 @@ steps:
|
||||
sed s/ENVIRONMENT/${env}/g | \
|
||||
sed s/PROXY_ENV/"${env}_canary"/g | \
|
||||
sed s/EPP/"epp-canary"/g | \
|
||||
sed s/${service}/${service}-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 \
|
||||
> ./jetty/kubernetes/nomulus-${env}-${service}-canary.yaml
|
||||
# Proxy '--log' flag does not work on production.
|
||||
if [ ${env} == production ]
|
||||
|
||||
Reference in New Issue
Block a user