From f038f92177f3d89ccdb6b5175d1edffc5ef53a6c Mon Sep 17 00:00:00 2001 From: Knative Automation Date: Wed, 1 Nov 2023 01:37:55 +0000 Subject: [PATCH] upgrade to latest dependencies bumping knative.dev/reconciler-test 7c9868e...14f7b11: > 14f7b11 Configure sender with CA certs when provided (# 624) Signed-off-by: Knative Automation --- go.mod | 2 +- go.sum | 4 ++-- .../reconciler-test/pkg/eventshub/sender/sender.go | 2 +- vendor/modules.txt | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index c86a3cde112..710340c707e 100644 --- a/go.mod +++ b/go.mod @@ -48,7 +48,7 @@ require ( knative.dev/hack v0.0.0-20231025074238-d4af42e9b222 knative.dev/hack/schema v0.0.0-20231025074238-d4af42e9b222 knative.dev/pkg v0.0.0-20231023152443-b7a62c0b7003 - knative.dev/reconciler-test v0.0.0-20231026161005-7c9868e0de8f + knative.dev/reconciler-test v0.0.0-20231031125158-14f7b117cd60 sigs.k8s.io/yaml v1.3.0 ) diff --git a/go.sum b/go.sum index 8184b2bc525..344ac993817 100644 --- a/go.sum +++ b/go.sum @@ -850,8 +850,8 @@ knative.dev/hack/schema v0.0.0-20231025074238-d4af42e9b222 h1:eInYan43nTxHYDb2xA knative.dev/hack/schema v0.0.0-20231025074238-d4af42e9b222/go.mod h1:3pWwBLnTZSM9psSgCAvhKOHIPTzqfEMlWRpDu6IYhK0= knative.dev/pkg v0.0.0-20231023152443-b7a62c0b7003 h1:oeJLBwgNdO+UE4McWemwj41lfTfnEl8eC/vhaWqx/ME= knative.dev/pkg v0.0.0-20231023152443-b7a62c0b7003/go.mod h1:RE2nhTVkvAM+kK+q+US3Anv0+g4s8s87Fv+ZrQHCc60= -knative.dev/reconciler-test v0.0.0-20231026161005-7c9868e0de8f h1:u00y/GRKZeJhM55MvgOtmCCvlJA7OXRxRESYG3iKCyY= -knative.dev/reconciler-test v0.0.0-20231026161005-7c9868e0de8f/go.mod h1:ojrPzMaQ7FugThq5SAG3mF1+8/N6gM8b/gFM3kHUXJU= +knative.dev/reconciler-test v0.0.0-20231031125158-14f7b117cd60 h1:2u/HbUQnl9ITLSgWjgUoQjD7saX5DY80CBsUYwqAxcY= +knative.dev/reconciler-test v0.0.0-20231031125158-14f7b117cd60/go.mod h1:ojrPzMaQ7FugThq5SAG3mF1+8/N6gM8b/gFM3kHUXJU= pgregory.net/rapid v1.1.0 h1:CMa0sjHSru3puNx+J0MIAuiiEV4N0qj8/cMWGBBCsjw= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= diff --git a/vendor/knative.dev/reconciler-test/pkg/eventshub/sender/sender.go b/vendor/knative.dev/reconciler-test/pkg/eventshub/sender/sender.go index 649bd20c112..36ee241dc01 100644 --- a/vendor/knative.dev/reconciler-test/pkg/eventshub/sender/sender.go +++ b/vendor/knative.dev/reconciler-test/pkg/eventshub/sender/sender.go @@ -261,7 +261,7 @@ func Start(ctx context.Context, logs *eventshub.EventLogs, clientOpts ...eventsh } func createClient(ctx context.Context, env generator, logs *eventshub.EventLogs) (*nethttp.Client, *nethttp.Transport, error) { - if env.EnforceTLS { + if env.EnforceTLS || env.CACerts != "" { caCertPool, err := x509.SystemCertPool() if err != nil { return nil, nil, fmt.Errorf("failed to create cert pool %s: %w", env.Sink, err) diff --git a/vendor/modules.txt b/vendor/modules.txt index d17dd96a030..e4a77fe04ee 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1348,7 +1348,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-20231026161005-7c9868e0de8f +# knative.dev/reconciler-test v0.0.0-20231031125158-14f7b117cd60 ## explicit; go 1.20 knative.dev/reconciler-test/cmd/eventshub knative.dev/reconciler-test/pkg/environment