From 3bbc53101903ca3b453391d05f3a73924c71b8db Mon Sep 17 00:00:00 2001 From: Takeshi Yoneda Date: Fri, 14 Feb 2025 14:31:39 -0800 Subject: [PATCH] e2e: updates EG version used in CRD CEL (#343) **Commit Message** This upgrades the Envoy Gateway version to the latest stable v1.3.0 used in CRD CEL validation tests. --------- Signed-off-by: Takeshi Yoneda --- tests/internal/envtest.go | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/internal/envtest.go b/tests/internal/envtest.go index 6284fc12..e40a39c2 100644 --- a/tests/internal/envtest.go +++ b/tests/internal/envtest.go @@ -34,10 +34,14 @@ func NewEnvTest(t *testing.T) (c client.Client, cfg *rest.Config, k kubernetes.I crds = append(crds, filepath.Join(crdPath, file.Name())) } + const ( + egURLBase = "https://raw.githubusercontent.com/envoyproxy/gateway/refs/tags/v1.3.0/charts/gateway-helm/crds/generated/" + gwAPIURLBase = "https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/refs/tags/v1.2.1/config/crd/standard/" + ) for _, url := range []string{ - "https://raw.githubusercontent.com/envoyproxy/gateway/refs/tags/v1.2.4/charts/gateway-helm/crds/generated/gateway.envoyproxy.io_envoyextensionpolicies.yaml", - "https://raw.githubusercontent.com/envoyproxy/gateway/refs/tags/v1.2.5/charts/gateway-helm/crds/generated/gateway.envoyproxy.io_httproutefilters.yaml", - "https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/refs/tags/v1.2.1/config/crd/standard/gateway.networking.k8s.io_httproutes.yaml", + egURLBase + "gateway.envoyproxy.io_envoyextensionpolicies.yaml", + egURLBase + "gateway.envoyproxy.io_httproutefilters.yaml", + gwAPIURLBase + "gateway.networking.k8s.io_httproutes.yaml", } { path := filepath.Base(url) + "_for_tests.yaml" crds = append(crds, requireThirdPartyCRDDownloaded(t, path, url))