From e2ff465f66e688c513f4a09ce8abba1337afcda5 Mon Sep 17 00:00:00 2001 From: Knative Automation Date: Thu, 7 Mar 2024 13:26:21 +0000 Subject: [PATCH] upgrade to latest dependencies bumping knative.dev/eventing 95996a0...f81f1d3: > f81f1d3 Bump CloudEvents GO-SDK to 2.15.2 (# 7747) > 1ae172e feat: add channels to event lineage graph (# 7745) > 42da1e1 Fix the naming convention in the config-features.yaml (# 7743) > c9de4b5 [main] Upgrade to latest dependencies (# 7744) Signed-off-by: Knative Automation --- go.mod | 4 ++-- go.sum | 12 ++++++------ .../cloudevents/sdk-go/v2/protocol/http/protocol.go | 5 ++++- .../eventing/pkg/apis/feature/flag_names.go | 2 +- vendor/modules.txt | 4 ++-- 5 files changed, 15 insertions(+), 12 deletions(-) diff --git a/go.mod b/go.mod index 3370e750..7a2ba249 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,7 @@ require ( k8s.io/api v0.29.2 k8s.io/apimachinery v0.29.2 k8s.io/client-go v0.29.2 - 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/pkg v0.0.0-20240305144923-6b13f01ae5f7 ) @@ -21,7 +21,7 @@ require ( github.com/blang/semver/v4 v4.0.0 // indirect github.com/blendle/zapdriver v1.3.1 // indirect github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect - github.com/cloudevents/sdk-go/v2 v2.15.1 // indirect + github.com/cloudevents/sdk-go/v2 v2.15.2 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/emicklei/go-restful/v3 v3.11.0 // indirect github.com/evanphx/json-patch v4.12.0+incompatible // indirect diff --git a/go.sum b/go.sum index 2f6b7c10..59a72fea 100644 --- a/go.sum +++ b/go.sum @@ -57,10 +57,10 @@ github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWR github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -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/go-oidc/v3 v3.9.0 h1:0J/ogVOd4y8P0f0xUh8l9t07xRP/d8tccvjHl2dcsSo= github.com/coreos/go-oidc/v3 v3.9.0/go.mod h1:rTKz2PYwftcrtoCzV5g5kvfJoWcm0Mk8AF8y1iAQro4= @@ -639,8 +639,8 @@ 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/pkg v0.0.0-20240305144923-6b13f01ae5f7 h1:/HywUbVbk1SmZqjnL0Xs8pL6nGB2JKWPnqu4cuEtImY= 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 dba6fd7b..7ee3b8fe 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 454cadc6..db4c3448 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 eeab9459..cbb800bf 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -21,7 +21,7 @@ github.com/census-instrumentation/opencensus-proto/gen-go/agent/trace/v1 github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1 github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1 github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1 -# 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 @@ -834,7 +834,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/feature knative.dev/eventing/pkg/apis/sources