Skip to content

Commit

Permalink
Apply correct image pull policy when running ingress conformance (#3358)
Browse files Browse the repository at this point in the history
Otherwise it will always run against `main`

Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
  • Loading branch information
sunjayBhatia committed Feb 17, 2021
1 parent 4b5c390 commit 1035ddb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _integration/testsuite/run-ingress-conformance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ readonly INGRESS_CONFORMANCE_IMAGE=${INGRESS_CONFORMANCE_IMAGE:-gcr.io/k8s-stagi

# Set the Ingress Status Address so conformance test pods are reachable in tests
# This multiline sed command is for compatibility across MacOS and GNU sed
${KUBECTL} apply -f <(sed 's/\s*- serve/&\
- --ingress-status-address=envoy.projectcontour/' ${REPO}/examples/contour/03-contour.yaml)
${KUBECTL} apply -f <(sed 's/imagePullPolicy: Always/imagePullPolicy: IfNotPresent/g' ${REPO}/examples/contour/03-contour.yaml | sed 's/\s*- serve/&\
- --ingress-status-address=envoy.projectcontour/')
${KUBECTL} rollout status -n projectcontour deployment contour

${SONOBUOY} run \
Expand Down

0 comments on commit 1035ddb

Please sign in to comment.