From 6354df08f1913477feba9ebb81219ce98b74c53e Mon Sep 17 00:00:00 2001 From: Rob Scott Date: Mon, 2 Aug 2021 17:18:22 -0700 Subject: [PATCH] Moving method match to v1alpha2 example --- examples/basic-http.yaml | 1 - examples/v1alpha2/basic-http.yaml | 1 + hack/verify-examples-kind.sh | 3 +++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/basic-http.yaml b/examples/basic-http.yaml index cab6b35311..2da82db699 100644 --- a/examples/basic-http.yaml +++ b/examples/basic-http.yaml @@ -55,7 +55,6 @@ spec: path: type: Prefix value: /some/thing - method: GET forwardTo: - serviceName: my-service2 port: 8080 diff --git a/examples/v1alpha2/basic-http.yaml b/examples/v1alpha2/basic-http.yaml index 21a730201a..cfba1b588b 100644 --- a/examples/v1alpha2/basic-http.yaml +++ b/examples/v1alpha2/basic-http.yaml @@ -55,6 +55,7 @@ spec: path: type: Prefix value: /some/thing + method: GET forwardTo: - serviceName: my-service2 port: 8080 diff --git a/hack/verify-examples-kind.sh b/hack/verify-examples-kind.sh index d8fa9d4531..9a5ad0769e 100755 --- a/hack/verify-examples-kind.sh +++ b/hack/verify-examples-kind.sh @@ -54,6 +54,9 @@ kind create cluster --name "${CLUSTER_NAME}" --kubeconfig "${KUBECONFIG}" || res # Install CRDs kubectl apply --kubeconfig "${KUBECONFIG}" -f config/crd/bases || res=$? +# Temporary workaround for https://github.com/kubernetes/kubernetes/issues/104090 +sleep 8 + # Install all example gateway-api resources. kubectl apply --kubeconfig "${KUBECONFIG}" --recursive -f examples || res=$?