From af0fda129f10205073440e37ace57d7ffd6e3287 Mon Sep 17 00:00:00 2001 From: Knative Automation Date: Wed, 2 Aug 2023 08:00:48 +0100 Subject: [PATCH] upgrade to latest dependencies (#1364) bumping knative.dev/reconciler-test 5741fb8...1923290: > 1923290 Support HTTPS in StartSenderToResource (# 560) Signed-off-by: Knative Automation --- go.mod | 2 +- go.sum | 4 ++-- vendor/knative.dev/reconciler-test/pkg/eventshub/options.go | 5 +++++ vendor/modules.txt | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 7b1f451d33..43492fabad 100644 --- a/go.mod +++ b/go.mod @@ -27,7 +27,7 @@ require ( knative.dev/eventing v0.38.0 knative.dev/hack v0.0.0-20230712131415-ddae80293c43 knative.dev/pkg v0.0.0-20230718152110-aef227e72ead - knative.dev/reconciler-test v0.0.0-20230728140411-5741fb804fea + knative.dev/reconciler-test v0.0.0-20230731164843-19232908376e sigs.k8s.io/yaml v1.3.0 ) diff --git a/go.sum b/go.sum index d31c948b3b..64dd6cc07c 100644 --- a/go.sum +++ b/go.sum @@ -973,8 +973,8 @@ knative.dev/hack v0.0.0-20230712131415-ddae80293c43 h1:3SE06uNfSFGm/5XS+0trbyCUp knative.dev/hack v0.0.0-20230712131415-ddae80293c43/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q= knative.dev/pkg v0.0.0-20230718152110-aef227e72ead h1:2dDzorpKuVZW3Qp7TbirMMq16FbId8f6bacQFX8jXLw= knative.dev/pkg v0.0.0-20230718152110-aef227e72ead/go.mod h1:WmrwRV/P+hGHoMraAEfwg6ec+fBTf+Obu41v354Iabc= -knative.dev/reconciler-test v0.0.0-20230728140411-5741fb804fea h1:Y/kQXcjNR4JqITa9S9e9cRUIRc5rjWWMXyliEoET81Q= -knative.dev/reconciler-test v0.0.0-20230728140411-5741fb804fea/go.mod h1:i+/PWK/n3HPgjXMoj5U7CA6WRW/C3c3EfHCQ0FmrhNM= +knative.dev/reconciler-test v0.0.0-20230731164843-19232908376e h1:kiW6vipbqTNIXicsOoUQBRH9/dYIbiTZv332Rk+YmvI= +knative.dev/reconciler-test v0.0.0-20230731164843-19232908376e/go.mod h1:i+/PWK/n3HPgjXMoj5U7CA6WRW/C3c3EfHCQ0FmrhNM= pgregory.net/rapid v0.3.3 h1:jCjBsY4ln4Atz78QoBWxUEvAHaFyNDQg9+WU62aCn1U= pgregory.net/rapid v0.3.3/go.mod h1:UYpPVyjFHzYBGHIxLFoupi8vwk6rXNzRY9OMvVxFIOU= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= diff --git a/vendor/knative.dev/reconciler-test/pkg/eventshub/options.go b/vendor/knative.dev/reconciler-test/pkg/eventshub/options.go index 44d82b789c..6448bde960 100644 --- a/vendor/knative.dev/reconciler-test/pkg/eventshub/options.go +++ b/vendor/knative.dev/reconciler-test/pkg/eventshub/options.go @@ -88,6 +88,11 @@ func StartSenderToResource(gvr schema.GroupVersionResource, name string) EventsH if u == nil { return fmt.Errorf("resource %v named %s is not addressable", gvr, name) } + + if u.URL.Scheme == "https" { + return StartSenderURLTLS(u.URL.String(), u.CACerts)(ctx, envs) + } + return StartSenderURL(u.URL.String())(ctx, envs) } } diff --git a/vendor/modules.txt b/vendor/modules.txt index 22e2e3975f..474247f81d 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1447,7 +1447,7 @@ knative.dev/pkg/webhook/resourcesemantics knative.dev/pkg/webhook/resourcesemantics/conversion knative.dev/pkg/webhook/resourcesemantics/defaulting knative.dev/pkg/webhook/resourcesemantics/validation -# knative.dev/reconciler-test v0.0.0-20230728140411-5741fb804fea +# knative.dev/reconciler-test v0.0.0-20230731164843-19232908376e ## explicit; go 1.18 knative.dev/reconciler-test/cmd/eventshub knative.dev/reconciler-test/pkg/environment