Skip to content

Commit

Permalink
e2e: updates EG version used in CRD CEL (#343)
Browse files Browse the repository at this point in the history
**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 <[email protected]>
  • Loading branch information
mathetake authored Feb 14, 2025
1 parent 4075677 commit 3bbc531
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tests/internal/envtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 3bbc531

Please sign in to comment.