Repository: apache/camel-k
Pull request #4375 (2023-05-16 10:13:44)

chore(deps): bump knative.dev/eventing from 0.35.3 to 0.37.0
Bumps [knative.dev/eventing](https://github.com/knative/eventing) from 0.35.3 to 0.37.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/knative/eventing/commit/034bec97c9c574bae8706ac1f65c3a019fa7307a"><code>034bec9</code></a> [main] Upgrade to latest dependencies (<a href="https://redirect.github.com/knative/eventing/issues/6888">#6888</a>)</li>
<li><a href="https://github.com/knative/eventing/commit/4c2a3aafe57300578274c8af0cc96a9a04914bc2"><code>4c2a3aa</code></a> Bump Go to 1.20 in GH workflows (<a href="https://redirect.github.com/knative/eventing/issues/6882">#6882</a>)</li>
<li><a href="https://github.com/knative/eventing/commit/825a2b595b0ce93026b4bed94526759a17bf2fa2"><code>825a2b5</code></a> Create Cert-Manager resources (<a href="https://redirect.github.com/knative/eventing/issues/6849">#6849</a>)</li>
<li><a href="https://github.com/knative/eventing/commit/193f2dffd53626a61cef3af8dddc1aec2d8005a7"><code>193f2df</code></a> Eventing TLS: support <code>K_CA_CERTS</code> in adapter/v2 (<a href="https://redirect.github.com/knative/eventing/issues/6848">#6848</a>)</li>
<li><a href="https://github.com/knative/eventing/commit/cc3d254d555c83a45e6e033fb42492c561909d41"><code>cc3d254</code></a> [main] Upgrade to latest dependencies (<a href="https://redirect.github.com/knative/eventing/issues/6863">#6863</a>)</li>
<li><a href="https://github.com/knative/eventing/commit/81f8e6732431de23a41a5015850b484df76af94f"><code>81f8e67</code></a> Fix ChannelChain test lifecyle (<a href="https://redirect.github.com/knative/eventing/issues/6862">#6862</a>)</li>
<li><a href="https://github.com/knative/eventing/commit/d7fe38f04b29ccbbccc10567e81a1ff71f8abc65"><code>d7fe38f</code></a> [main] Upgrade to latest dependencies (<a href="https://redirect.github.com/knative/eventing/issues/6860">#6860</a>)</li>
<li><a href="https://github.com/knative/eventing/commit/a5b4810a24b0cf131e57c0aa712d9ac466a78e8b"><code>a5b4810</code></a> [main] Update actions (<a href="https://redirect.github.com/knative/eventing/issues/6858">#6858</a>)</li>
<li><a href="https://github.com/knative/eventing/commit/43a255466a7844bea1726711fcec70b4cfbaf8ae"><code>43a2554</code></a> [main] Upgrade to latest dependencies (<a href="https://redirect.github.com/knative/eventing/issues/6855">#6855</a>)</li>
<li><a href="https://github.com/knative/eventing/commit/cf7ee9cc69ed406f262d0440c5d12a57ff353b4b"><code>cf7ee9c</code></a> [main] Update actions (<a href="https://redirect.github.com/knative/eventing/issues/6853">#6853</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/knative/eventing/compare/v0.35.3...v0.37.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=knative.dev/eventing&package-manager=go_modules&previous-version=0.35.3&new-version=0.37.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

squakez: @dependabot rebase

Patch:
diff --git a/go.mod b/go.mod
index 3d96e8c08..0efd5fd79 100644
--- a/go.mod
+++ b/go.mod
@@ -48,7 +48,7 @@ require (
 	golang.org/x/sync v0.1.0
 	golang.org/x/term v0.8.0
 	golang.org/x/text v0.9.0
-	golang.org/x/time v0.1.0
+	golang.org/x/time v0.3.0
 	gopkg.in/inf.v0 v0.9.1
 	gopkg.in/yaml.v2 v2.4.0
 	k8s.io/api v0.25.6
@@ -60,7 +60,7 @@ require (
 	k8s.io/klog/v2 v2.80.2-0.20221028030830-9ae4992afb54
 	k8s.io/kubectl v0.25.6
 	k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2
-	knative.dev/eventing v0.35.3
+	knative.dev/eventing v0.37.0
 	knative.dev/pkg v0.0.0-20230418073056-dfad48eaa5d0
 	knative.dev/serving v0.37.1
 	sigs.k8s.io/controller-runtime v0.13.1
@@ -85,8 +85,8 @@ require (
 	github.com/blendle/zapdriver v1.3.1 // indirect
 	github.com/census-instrumentation/opencensus-proto v0.3.0 // indirect
 	github.com/cespare/xxhash/v2 v2.2.0 // indirect
-	github.com/cloudevents/sdk-go/sql/v2 v2.0.0-20220930150014-52b12276cc4a // indirect
-	github.com/cloudevents/sdk-go/v2 v2.12.0 // indirect
+	github.com/cloudevents/sdk-go/sql/v2 v2.13.0 // indirect
+	github.com/cloudevents/sdk-go/v2 v2.13.0 // indirect
 	github.com/containerd/continuity v0.1.0 // indirect
 	github.com/containerd/stargz-snapshotter/estargz v0.14.1 // indirect
 	github.com/davecgh/go-spew v1.1.1 // indirect
diff --git a/go.sum b/go.sum
index d5ec330f7..99e108caf 100644
--- a/go.sum
+++ b/go.sum
@@ -180,10 +180,10 @@ github.com/cilium/ebpf v0.2.0/go.mod h1:To2CFviqOWL/M0gIMsvSMlqe7em/l1ALkX1PyjrX
 github.com/cilium/ebpf v0.4.0/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs=
 github.com/cilium/ebpf v0.6.2/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs=
 github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
-github.com/cloudevents/sdk-go/sql/v2 v2.0.0-20220930150014-52b12276cc4a h1:jwFoLdIzNYc92s2ZwhU4yOdoPP8zoALcKOzenIALHJM=
-github.com/cloudevents/sdk-go/sql/v2 v2.0.0-20220930150014-52b12276cc4a/go.mod h1:SPV4fdKh1YqSNn2TTUVqUcw1El9Er0HI/yzay5wqsFk=
-github.com/cloudevents/sdk-go/v2 v2.12.0 h1:p1k+ysVOZtNiXfijnwB3WqZNA3y2cGOiKQygWkUHCEI=
-github.com/cloudevents/sdk-go/v2 v2.12.0/go.mod h1:xDmKfzNjM8gBvjaF8ijFjM1VYOVUEeUfapHMUX1T5To=
+github.com/cloudevents/sdk-go/sql/v2 v2.13.0 h1:gMJvQ3XFkygY9JmrusgK80d9yRAb8+J3X8IA1OC+oc0=
+github.com/cloudevents/sdk-go/sql/v2 v2.13.0/go.mod h1:XZRQBCgRreddIpQrdjBJQUrRg3BCs3aikplJQkHrK44=
+github.com/cloudevents/sdk-go/v2 v2.13.0 h1:2zxDS8RyY1/wVPULGGbdgniGXSzLaRJVl136fLXGsYw=
+github.com/cloudevents/sdk-go/v2 v2.13.0/go.mod h1:xDmKfzNjM8gBvjaF8ijFjM1VYOVUEeUfapHMUX1T5To=
 github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
 github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
 github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
@@ -1348,8 +1348,8 @@ golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxb
 golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
 golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
 golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
-golang.org/x/time v0.1.0 h1:xYY+Bajn2a7VBmTM5GikTmnK8ZuX8YgnQCqZpbBNtmA=
-golang.org/x/time v0.1.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
+golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4=
+golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
 golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
 golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
 golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
@@ -1706,8 +1706,8 @@ k8s.io/utils v0.0.0-20210707171843-4b05e18ac7d9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/
 k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
 k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2 h1:GfD9OzL11kvZN5iArC6oTS7RTj7oJOIfnislxYlqTj8=
 k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
-knative.dev/eventing v0.35.3 h1:lGFQpXL84fRgkqZGE/T7ggG3MX26qYcFhFFykFr1Scs=
-knative.dev/eventing v0.35.3/go.mod h1:9Q+Y4Rodnu3EcX1VXY95mKCisysi2RCCOE7H5gCxbM0=
+knative.dev/eventing v0.37.0 h1:OtX8B9nvUSTNcbbpoNFDyeGaGU/5+aetj94i6oATpQU=
+knative.dev/eventing v0.37.0/go.mod h1:62baPXiw5GPpPyV3f0GF64X7tOjc5x9cg64RAh1gjs4=
 knative.dev/networking v0.0.0-20230419144338-e5d04e805e50 h1:X9rPBYr7Vrm075q0iXTr7/0oklkYoyqvlnrUwNzcUhI=
 knative.dev/networking v0.0.0-20230419144338-e5d04e805e50/go.mod h1:o2MyGpGfU5DoSAWCE2f/jnSC9GjGOplCslbA99yDkGo=
 knative.dev/pkg v0.0.0-20230418073056-dfad48eaa5d0 h1:EFQcoUo8I4bc+U3y6tR1B3ONYZSHWUdAfI7Vh7dae8g=


Test patch:
diff --git a/pkg/trait/knative_test.go b/pkg/trait/knative_test.go
index 1a43a98c3..b94abd157 100644
--- a/pkg/trait/knative_test.go
+++ b/pkg/trait/knative_test.go
@@ -521,8 +521,10 @@ func NewFakeClient(namespace string) (client.Client, error) {
 			},
 			Spec: eventing.BrokerSpec{},
 			Status: eventing.BrokerStatus{
-				Address: duckv1.Addressable{
-					URL: brokerURL,
+				AddressStatus: duckv1.AddressStatus{
+					Address: &duckv1.Addressable{
+						URL: brokerURL,
+					},
 				},
 			},
 		},