From d5659b92170a83c5ff32215ab47e7d8165e471ea Mon Sep 17 00:00:00 2001 From: Tim Ramlot <42113979+inteon@users.noreply.github.com> Date: Mon, 17 Jun 2024 08:41:32 +0200 Subject: [PATCH] upgrade test dependencies Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com> --- make/config/projectcontour/contour.yaml | 4 ++- make/config/projectcontour/gateway.yaml | 2 +- make/e2e-setup.mk | 43 ++++++++++++++----------- 3 files changed, 29 insertions(+), 20 deletions(-) diff --git a/make/config/projectcontour/contour.yaml b/make/config/projectcontour/contour.yaml index 533b419195e..4f803aca8ea 100644 --- a/make/config/projectcontour/contour.yaml +++ b/make/config/projectcontour/contour.yaml @@ -6,7 +6,9 @@ # # Specify the Gateway API configuration. gateway: - controllerName: projectcontour.io/projectcontour/contour + gatewayRef: + name: acmesolver + namespace: projectcontour # # should contour expect to be running inside a k8s cluster # incluster: true diff --git a/make/config/projectcontour/gateway.yaml b/make/config/projectcontour/gateway.yaml index 695df54c168..40f6d83f80e 100644 --- a/make/config/projectcontour/gateway.yaml +++ b/make/config/projectcontour/gateway.yaml @@ -3,7 +3,7 @@ apiVersion: gateway.networking.k8s.io/v1beta1 metadata: name: acmesolver spec: - controllerName: projectcontour.io/projectcontour/contour + controllerName: projectcontour.io/gateway-controller --- kind: Gateway diff --git a/make/e2e-setup.mk b/make/e2e-setup.mk index a24780c98a0..0f709fbed94 100644 --- a/make/e2e-setup.mk +++ b/make/e2e-setup.mk @@ -26,22 +26,23 @@ CRI_ARCH := $(HOST_ARCH) # is set in one place only. K8S_VERSION := 1.30 -IMAGE_ingressnginx_amd64 := registry.k8s.io/ingress-nginx/controller:v1.9.4@sha256:0115d7e01987c13e1be90b09c223c3e0d8e9a92e97c0421e712ad3577e2d78e5 -IMAGE_kyverno_amd64 := ghcr.io/kyverno/kyverno:v1.10.3@sha256:031d2da484f3d89c78007cbb1cf1d7ae992e069683a2cdca0a0efb63a63fc735 -IMAGE_kyvernopre_amd64 := ghcr.io/kyverno/kyvernopre:v1.10.3@sha256:5371ead07ebd09ff858f568a07b6807e8568772af61e626c9a0a5137bd7e62db +IMAGE_ingressnginx_amd64 := registry.k8s.io/ingress-nginx/controller:v1.10.1@sha256:959e313aceec9f38e18a329ca3756402959e84e63ae8ba7ac1ee48aec28d51b9 +IMAGE_kyverno_amd64 := ghcr.io/kyverno/kyverno:v1.12.3@sha256:127def0e41f49fea6e260abf7b1662fe7bdfb9f33e8f9047fb74d0162a5697bb +IMAGE_kyvernopre_amd64 := ghcr.io/kyverno/kyvernopre:v1.12.3@sha256:d388cd67b38fb4f55eb5e38107dbbce9e06208b8e3839f0b63f8631f286181be IMAGE_vault_amd64 := docker.io/hashicorp/vault:1.14.1@sha256:436d056e8e2a96c7356720069c29229970466f4f686886289dcc94dfa21d3155 IMAGE_bind_amd64 := docker.io/eafxx/bind:latest-ccf145d3@sha256:b6ea4da6cb689985a6729f20a1a2775b9211bdaebd2c956f22871624d4925db2 IMAGE_sampleexternalissuer_amd64 := ghcr.io/cert-manager/sample-external-issuer/controller:v0.4.0@sha256:964b378fe0dda7fc38ce3f211c3b24c780e44cef13c39d3206de985bad67f294 -IMAGE_projectcontour_amd64 := ghcr.io/projectcontour/contour:v1.25.2@sha256:1570f04e96fb5e0ad71c2de61fee71c8d55b2fe5b7c827ce65e81bf7cc99bcbd +IMAGE_projectcontour_amd64 := ghcr.io/projectcontour/contour:v1.29.1@sha256:bb7af851ac5832c315e0863d12ed583cee54c495d58a206f1d0897647505ed70 -IMAGE_ingressnginx_arm64 := registry.k8s.io/ingress-nginx/controller:v1.9.4@sha256:3cdc716f0395886008c5e49972297adf1af87eeef472f71ff8de11bf53f25766 -IMAGE_kyverno_arm64 := ghcr.io/kyverno/kyverno:v1.10.3@sha256:acf77f4fd08056941b5640d9489d46f2a1777e29d574e51926eac5250144dbd2 -IMAGE_kyvernopre_arm64 := ghcr.io/kyverno/kyvernopre:v1.10.3@sha256:3ec997a6a26f600e4c2e439c3671e9f21c83a73bf486134eb6732481d0e371ca +IMAGE_ingressnginx_arm64 := registry.k8s.io/ingress-nginx/controller:v1.10.1@sha256:624d1a22b56a52fc4b8e330bef968cd77d49c6eeb36166f20036d50782307341 +IMAGE_kyverno_arm64 := ghcr.io/kyverno/kyverno:v1.12.3@sha256:c076a1ba9e0fb33d8eca3e7499caddfa3bb4f5e52e9dee589d8476ae1688cd34 +IMAGE_kyvernopre_arm64 := ghcr.io/kyverno/kyvernopre:v1.12.3@sha256:d8d750012ed4bb46fd41d8892e92af6fb9fd212317bc23e68a2a47199646b04a IMAGE_vault_arm64 := docker.io/hashicorp/vault:1.14.1@sha256:27dd264f3813c71a66792191db5382f0cf9eeaf1ae91770634911facfcfe4837 IMAGE_bind_arm64 := docker.io/eafxx/bind:latest-ccf145d3@sha256:a302cff9f7ecfac0c3cfde1b53a614a81d16f93a247c838d3dac43384fefd9b4 IMAGE_sampleexternalissuer_arm64 := ghcr.io/cert-manager/sample-external-issuer/controller:v0.4.0@sha256:bdff00089ec7581c0d12414ce5ad1c6ccf5b6cacbfb0b0804fefe5043a1cb849 -IMAGE_projectcontour_arm64 := ghcr.io/projectcontour/contour:v1.25.2@sha256:abbb2b7fee8eafddfd4ebd8e45510e6c1d86937461bc6934470ffb57211a9a8b +IMAGE_projectcontour_arm64 := ghcr.io/projectcontour/contour:v1.29.1@sha256:dbfec77951e123bf383a09412a51df218b716aaf3fe7b2778bb2f208ac495dc5 +# https://github.com/letsencrypt/pebble/releases PEBBLE_COMMIT = ba5f81dd80fa870cbc19326f2d5a46f45f0b5ee3 LOCALIMAGE_pebble := local/pebble:local @@ -368,7 +369,7 @@ e2e-setup-ingressnginx: $(call image-tar,ingressnginx) load-$(call image-tar,ing $(HELM) upgrade \ --install \ --wait \ - --version 4.7.3 \ + --version 4.10.1 \ --namespace ingress-nginx \ --create-namespace \ --set controller.image.tag=$(TAG) \ @@ -392,17 +393,21 @@ e2e-setup-kyverno: $(call image-tar,kyverno) $(call image-tar,kyvernopre) load-$ --wait \ --namespace kyverno \ --create-namespace \ - --version 3.0.4 \ - --set image.tag=v1.8.1 \ - --set initImage.tag=v1.8.1 \ - --set image.pullPolicy=Never \ - --set initImage.pullPolicy=Never \ + --version 3.2.4 \ + --set webhooksCleanup.enabled=false \ + --set reportsController.enabled=false \ + --set cleanupController.enabled=false \ + --set backgroundController.enabled=false \ + --set admissionController.container.image.tag=$(TAG) \ + --set admissionController.container.image.pullPolicy=Never \ + --set admissionController.initContainer.image.tag=$(TAG) \ + --set admissionController.initContainer.image.pullPolicy=Never \ kyverno kyverno/kyverno >/dev/null @$(KUBECTL) create ns cert-manager >/dev/null 2>&1 || true $(KUBECTL) apply --server-side -f make/config/kyverno/policy.yaml >/dev/null $(bin_dir)/downloaded/pebble-$(PEBBLE_COMMIT).tar.gz: | $(bin_dir)/downloaded - $(CURL) https://github.com/letsencrypt/pebble/archive/$(PEBBLE_COMMIT).tar.gz -o $@ + $(CURL) https://github.com/inteon/pebble/archive/$(PEBBLE_COMMIT).tar.gz -o $@ # We can't use GOBIN with "go install" because cross-compilation is not # possible with go install. That's a problem when cross-compiling for @@ -462,13 +467,15 @@ e2e-setup-projectcontour: $(call image-tar,projectcontour) load-$(call image-tar $(HELM) upgrade \ --install \ --wait \ - --version 12.2.4 \ + --version 18.2.4 \ --namespace projectcontour \ --create-namespace \ --set contour.ingressClass.create=false \ --set contour.ingressClass.default=false \ - --set image.tag=$(TAG) \ - --set image.pullPolicy=Never \ + --set contour.image.registry=ghcr.io \ + --set contour.image.repository=projectcontour/contour \ + --set contour.image.tag=$(TAG) \ + --set contour.image.pullPolicy=Never \ --set contour.service.type=ClusterIP \ --set contour.service.externalTrafficPolicy="" \ --set envoy.service.type=ClusterIP \