add gateway tests and change provider aname

Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
This commit is contained in:
Sanskar Jaiswal
2022-02-15 20:12:49 +05:30
committed by Sanskar Jaiswal
parent 174e9fdc93
commit 00d54d268c
6 changed files with 154 additions and 5 deletions

View File

@@ -12,8 +12,11 @@ ARCH=$(arch)
mkdir -p ${REPO_ROOT}/bin
echo ">>> Installing Contour ${CONTOUR_VER}, Gateway API components ${GATEWAY_API_VER}"
cd ${REPO_ROOT}/bin && \
kubectl apply -f https://raw.githubusercontent.com/projectcontour/contour/${CONTOUR_VER}/examples/render/contour-gateway.yaml
# retry if it fails, creating a gateway object is flaky sometimes
until cd ${REPO_ROOT}/bin && kubectl apply -f \
https://raw.githubusercontent.com/projectcontour/contour/${CONTOUR_VER}/examples/render/contour-gateway.yaml; do
sleep 1
done
kubectl -n projectcontour rollout status deployment/contour
kubectl -n projectcontour get all

View File

@@ -11,5 +11,5 @@ spec:
args:
- -log-level=debug
- -include-label-prefix=app.kubernetes.io
- -mesh-provider=gatewayapi
- -mesh-provider=gatewayapi:v1alpha2
- -metrics-server=http://flagger-prometheus:9090