From f49bf55eebd3339d3b7eaec6b164eb79bf86f90a Mon Sep 17 00:00:00 2001 From: Knative Automation Date: Thu, 7 Mar 2024 13:25:24 +0000 Subject: [PATCH] upgrade to latest dependencies bumping knative.dev/reconciler-test 57fea69...db9cb71: > db9cb71 upgrade to latest dependencies (# 685) Signed-off-by: Knative Automation --- go.mod | 10 +++++----- go.sum | 20 +++++++++---------- .../sdk-go/v2/protocol/http/protocol.go | 5 ++++- .../eventing/pkg/apis/feature/flag_names.go | 2 +- vendor/modules.txt | 10 +++++----- 5 files changed, 25 insertions(+), 22 deletions(-) diff --git a/go.mod b/go.mod index 6f52ddc86..4ef1108e2 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.21 require ( github.com/cloudevents/sdk-go/protocol/nats_jetstream/v2 v2.13.0 github.com/cloudevents/sdk-go/protocol/stan/v2 v2.13.0 - github.com/cloudevents/sdk-go/v2 v2.15.1 + github.com/cloudevents/sdk-go/v2 v2.15.2 github.com/google/go-cmp v0.6.0 github.com/google/uuid v1.6.0 github.com/hashicorp/go-cleanhttp v0.5.1 @@ -22,11 +22,11 @@ require ( k8s.io/apimachinery v0.29.2 k8s.io/client-go v0.29.2 k8s.io/utils v0.0.0-20240102154912-e7106e64919e - knative.dev/eventing v0.40.1-0.20240305192810-95996a0d6621 + knative.dev/eventing v0.40.1-0.20240307115035-f81f1d3dd4c3 knative.dev/hack v0.0.0-20240302114326-e6dedc74dc47 knative.dev/hack/schema v0.0.0-20240302114326-e6dedc74dc47 knative.dev/pkg v0.0.0-20240305144923-6b13f01ae5f7 - knative.dev/reconciler-test v0.0.0-20240304074532-57fea69da0a1 + knative.dev/reconciler-test v0.0.0-20240306190141-db9cb7135914 ) require github.com/stretchr/testify v1.8.4 @@ -44,8 +44,8 @@ require ( github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/cloudevents/conformance v0.2.0 // indirect - github.com/cloudevents/sdk-go/observability/opencensus/v2 v2.15.1 // indirect - github.com/cloudevents/sdk-go/sql/v2 v2.15.1 // indirect + github.com/cloudevents/sdk-go/observability/opencensus/v2 v2.15.2 // indirect + github.com/cloudevents/sdk-go/sql/v2 v2.15.2 // indirect github.com/coreos/go-oidc/v3 v3.9.0 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/emicklei/go-restful/v3 v3.11.0 // indirect diff --git a/go.sum b/go.sum index a730a63ab..546148dfe 100644 --- a/go.sum +++ b/go.sum @@ -83,16 +83,16 @@ github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cloudevents/conformance v0.2.0 h1:NvSXOKlagcsOWMEbi8U7Ex/0oQ4JZE1HQ45bnxYf2zk= github.com/cloudevents/conformance v0.2.0/go.mod h1:rHKDwylBH89Rns6U3wL9ww8bg9/4GbwRCDNuyoC6bcc= -github.com/cloudevents/sdk-go/observability/opencensus/v2 v2.15.1 h1:GraxYnk7MOIoMLyOhB1vpG3R/+/hY2l+32EYpPcWo9U= -github.com/cloudevents/sdk-go/observability/opencensus/v2 v2.15.1/go.mod h1:iBEr0je90tOV7uhjQrgQ4/Ez34qhEcnZP4wi6Zv+YQ4= +github.com/cloudevents/sdk-go/observability/opencensus/v2 v2.15.2 h1:AbtPqiUDzKup5JpTZzO297/QXgL/TAdpdXQCNwLzlaM= +github.com/cloudevents/sdk-go/observability/opencensus/v2 v2.15.2/go.mod h1:ZbYLE+yaEQ2j4vbRc9qzvGmg30A9LhwFt/1bSebNnbU= github.com/cloudevents/sdk-go/protocol/nats_jetstream/v2 v2.13.0 h1:++A//G34L1hqvrYlX80QVWbBvHsUkYhZzmu6lxNu9WY= github.com/cloudevents/sdk-go/protocol/nats_jetstream/v2 v2.13.0/go.mod h1:ECIjUZTDTScwH0AEspUhBk7lbJNrxijuPA5kyIvyqQo= github.com/cloudevents/sdk-go/protocol/stan/v2 v2.13.0 h1:R63R82OSJzCmm6QB0hC4+OFJM91zHGNmfWOA/uJL8as= github.com/cloudevents/sdk-go/protocol/stan/v2 v2.13.0/go.mod h1:Q9DmCRic74t4M28E/Ze09Eoqcb7vBL+XzDVDS58faD8= -github.com/cloudevents/sdk-go/sql/v2 v2.15.1 h1:hsOGhoBS57ej1bYHLIXsm7HYphQBBHLfvV+rDCYfLXQ= -github.com/cloudevents/sdk-go/sql/v2 v2.15.1/go.mod h1:tv6Ah8jXEQyFAptkg33XJm9CBp9XH4H/cigH/0iHhlQ= -github.com/cloudevents/sdk-go/v2 v2.15.1 h1:EZxXQFkzk8TSsxDBx8v18+KGwTYsGRyHNwtzZiHUk4E= -github.com/cloudevents/sdk-go/v2 v2.15.1/go.mod h1:lL7kSWAE/V8VI4Wh0jbL2v/jvqsm6tjmaQBSvxcv4uE= +github.com/cloudevents/sdk-go/sql/v2 v2.15.2 h1:TNaTeWIbDaci89xgXbmmNVGccawQOvEfWYLWrr7Fk/k= +github.com/cloudevents/sdk-go/sql/v2 v2.15.2/go.mod h1:us+PSk8OXdk8pDbRfvxy5w8ub5goKE7UP9PjKDY7TPw= +github.com/cloudevents/sdk-go/v2 v2.15.2 h1:54+I5xQEnI73RBhWHxbI1XJcqOFOVJN85vb41+8mHUc= +github.com/cloudevents/sdk-go/v2 v2.15.2/go.mod h1:lL7kSWAE/V8VI4Wh0jbL2v/jvqsm6tjmaQBSvxcv4uE= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= @@ -881,16 +881,16 @@ k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 h1:aVUu9fTY98ivBPKR9Y5w/A k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00/go.mod h1:AsvuZPBlUDVuCdzJ87iajxtXuR9oktsTctW/R9wwouA= k8s.io/utils v0.0.0-20240102154912-e7106e64919e h1:eQ/4ljkx21sObifjzXwlPKpdGLrCfRziVtos3ofG/sQ= k8s.io/utils v0.0.0-20240102154912-e7106e64919e/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -knative.dev/eventing v0.40.1-0.20240305192810-95996a0d6621 h1:fedG0SROAp27tbr9K/QLwD2lpv0JkhRrMTyX2up45cc= -knative.dev/eventing v0.40.1-0.20240305192810-95996a0d6621/go.mod h1:uLqB4K7rNnbsySG6RgPjHEhYdc5/ZCM4Hrc0YHls5L0= +knative.dev/eventing v0.40.1-0.20240307115035-f81f1d3dd4c3 h1:ynYXy42uvlO4RqR+iWkZuyv4F5bVMwh4icH08GObbv4= +knative.dev/eventing v0.40.1-0.20240307115035-f81f1d3dd4c3/go.mod h1:T6KZqCYyWQITcyTvNoLHL23KDcmeoViHAT5e+2I5kXc= knative.dev/hack v0.0.0-20240302114326-e6dedc74dc47 h1:ob3nmyZw8vJbvnHQdnDTG/5RDeUKBj5erjTdef/Mpew= knative.dev/hack v0.0.0-20240302114326-e6dedc74dc47/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q= knative.dev/hack/schema v0.0.0-20240302114326-e6dedc74dc47 h1:K9QI7n+t72ER5XZkS4axbgpzvHtvOAKb07XvPPIzsZU= knative.dev/hack/schema v0.0.0-20240302114326-e6dedc74dc47/go.mod h1:3pWwBLnTZSM9psSgCAvhKOHIPTzqfEMlWRpDu6IYhK0= knative.dev/pkg v0.0.0-20240305144923-6b13f01ae5f7 h1:/HywUbVbk1SmZqjnL0Xs8pL6nGB2JKWPnqu4cuEtImY= knative.dev/pkg v0.0.0-20240305144923-6b13f01ae5f7/go.mod h1:U/BhJJ4aJjqRdQiQ3lt7zFuoO81hCuIiOPDkKdoUzZc= -knative.dev/reconciler-test v0.0.0-20240304074532-57fea69da0a1 h1:09pM9hWutV8Dg+KXrI1bty4QyiKFwENHDPxX4ZyMGqE= -knative.dev/reconciler-test v0.0.0-20240304074532-57fea69da0a1/go.mod h1:pCtswRXYebpNuMjsvvshg348F4WIir5dXI7GvQEHWlE= +knative.dev/reconciler-test v0.0.0-20240306190141-db9cb7135914 h1:WPErGH/czH5rcGB/7iS9nvgLqvPoxZDsETDRGWEXgG8= +knative.dev/reconciler-test v0.0.0-20240306190141-db9cb7135914/go.mod h1:xB56fIn8ujfwxmd48ih8O8/fx0lOa6ubEZOd2RqJSr4= pgregory.net/rapid v1.1.0 h1:CMa0sjHSru3puNx+J0MIAuiiEV4N0qj8/cMWGBBCsjw= pgregory.net/rapid v1.1.0/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= diff --git a/vendor/github.com/cloudevents/sdk-go/v2/protocol/http/protocol.go b/vendor/github.com/cloudevents/sdk-go/v2/protocol/http/protocol.go index dba6fd7ba..7ee3b8fe1 100644 --- a/vendor/github.com/cloudevents/sdk-go/v2/protocol/http/protocol.go +++ b/vendor/github.com/cloudevents/sdk-go/v2/protocol/http/protocol.go @@ -102,7 +102,10 @@ func New(opts ...Option) (*Protocol, error) { } if p.Client == nil { - p.Client = http.DefaultClient + // This is how http.DefaultClient is initialized. We do not just use + // that because when WithRoundTripper is used, it will change the client's + // transport, which would cause that transport to be used process-wide. + p.Client = &http.Client{} } if p.roundTripper != nil { diff --git a/vendor/knative.dev/eventing/pkg/apis/feature/flag_names.go b/vendor/knative.dev/eventing/pkg/apis/feature/flag_names.go index 454cadc6f..db4c34488 100644 --- a/vendor/knative.dev/eventing/pkg/apis/feature/flag_names.go +++ b/vendor/knative.dev/eventing/pkg/apis/feature/flag_names.go @@ -25,5 +25,5 @@ const ( TransportEncryption = "transport-encryption" EvenTypeAutoCreate = "eventtype-auto-create" OIDCAuthentication = "authentication-oidc" - NodeSelectorLabel = "apiserversources.nodeselector." + NodeSelectorLabel = "apiserversources-nodeselector-" ) diff --git a/vendor/modules.txt b/vendor/modules.txt index 55dc85913..4d1a16035 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -40,7 +40,7 @@ github.com/cespare/xxhash/v2 ## explicit; go 1.14 github.com/cloudevents/conformance/pkg/event github.com/cloudevents/conformance/pkg/http -# github.com/cloudevents/sdk-go/observability/opencensus/v2 v2.15.1 +# github.com/cloudevents/sdk-go/observability/opencensus/v2 v2.15.2 ## explicit; go 1.18 github.com/cloudevents/sdk-go/observability/opencensus/v2/client github.com/cloudevents/sdk-go/observability/opencensus/v2/http @@ -50,7 +50,7 @@ github.com/cloudevents/sdk-go/protocol/nats_jetstream/v2 # github.com/cloudevents/sdk-go/protocol/stan/v2 v2.13.0 ## explicit; go 1.17 github.com/cloudevents/sdk-go/protocol/stan/v2 -# github.com/cloudevents/sdk-go/sql/v2 v2.15.1 +# github.com/cloudevents/sdk-go/sql/v2 v2.15.2 ## explicit; go 1.18 github.com/cloudevents/sdk-go/sql/v2 github.com/cloudevents/sdk-go/sql/v2/expression @@ -59,7 +59,7 @@ github.com/cloudevents/sdk-go/sql/v2/gen github.com/cloudevents/sdk-go/sql/v2/parser github.com/cloudevents/sdk-go/sql/v2/runtime github.com/cloudevents/sdk-go/sql/v2/utils -# github.com/cloudevents/sdk-go/v2 v2.15.1 +# github.com/cloudevents/sdk-go/v2 v2.15.2 ## explicit; go 1.18 github.com/cloudevents/sdk-go/v2 github.com/cloudevents/sdk-go/v2/binding @@ -1080,7 +1080,7 @@ k8s.io/utils/pointer k8s.io/utils/ptr k8s.io/utils/strings/slices k8s.io/utils/trace -# knative.dev/eventing v0.40.1-0.20240305192810-95996a0d6621 +# knative.dev/eventing v0.40.1-0.20240307115035-f81f1d3dd4c3 ## explicit; go 1.21 knative.dev/eventing/pkg/apis knative.dev/eventing/pkg/apis/config @@ -1241,7 +1241,7 @@ knative.dev/pkg/webhook/json knative.dev/pkg/webhook/resourcesemantics knative.dev/pkg/webhook/resourcesemantics/defaulting knative.dev/pkg/webhook/resourcesemantics/validation -# knative.dev/reconciler-test v0.0.0-20240304074532-57fea69da0a1 +# knative.dev/reconciler-test v0.0.0-20240306190141-db9cb7135914 ## explicit; go 1.21 knative.dev/reconciler-test/cmd/eventshub knative.dev/reconciler-test/pkg/environment