Skip to content

Commit

Permalink
upgrade to latest dependencies (#1568)
Browse files Browse the repository at this point in the history
bumping knative.dev/hack c4a34c3...34850cd:
  > 34850cd Update community files (# 319)
  > da6e74c 🐛 The `go.work.sum` don't influence the dependencies resolution (# 317)
bumping knative.dev/eventing ceecbb0...b704ab1:
  > b704ab1 [main] Update community files (# 7274)
  > 6194d9d Filters created once (# 7213)
  > 33c5e78 [main] Upgrade to latest dependencies (# 7284)
  > 37a0e3c Scheduler: fix reserved replicas handling, blocking autoscaler and overcommitted pods (# 7281)
  > 8447a36 Fix event dispatcher library data race (# 7280)
  > 8caba4e Fail when ApiServerSource adapter can't retrieve resources (# 7279)
  > fa19118 [main] Upgrade to latest dependencies (# 7275)
bumping knative.dev/serving 0d73dfe...60cb95f:
  > 60cb95f upgrade to latest dependencies (# 14423)
  > 177bb2d Update community files (# 14414)
  > ba78403 Update net-istio nightly (# 14418)
  > a571e4a Update net-gateway-api nightly (# 14416)
  > 3c15b82 upgrade to latest dependencies (# 14415)
bumping knative.dev/networking 6aa8805...65a08ef:
  > 65a08ef upgrade to latest dependencies (# 866)
bumping knative.dev/caching 9446813...f45a005:
  > f45a005 upgrade to latest dependencies (# 788)
  > 3d313f7 Update community files (# 786)
  > 7f3928f upgrade to latest dependencies (# 787)
bumping knative.dev/pkg 8761ceb...559de7e:
  > 559de7e upgrade to latest dependencies (# 2833)
  > dd819c0 Update community files (# 2830)
  > 05a411a upgrade to latest dependencies (# 2831)
  > 76b4202 Add AuthStatus type (# 2829)

Signed-off-by: Knative Automation <[email protected]>
  • Loading branch information
knative-automation authored Sep 25, 2023
1 parent f9dc7c8 commit 0c99a13
Show file tree
Hide file tree
Showing 8 changed files with 103 additions and 197 deletions.
12 changes: 6 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ require (
k8s.io/client-go v0.26.5
k8s.io/code-generator v0.26.5
k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2
knative.dev/caching v0.0.0-20230920131814-94468139a072
knative.dev/eventing v0.38.1-0.20230921080814-ceecbb01e116
knative.dev/hack v0.0.0-20230921145603-c4a34c34512e
knative.dev/pkg v0.0.0-20230920131713-8761ceb9297f
knative.dev/serving v0.38.1-0.20230921205527-0d73dfe0f295
knative.dev/caching v0.0.0-20230922143727-f45a005abea0
knative.dev/eventing v0.38.1-0.20230922165944-b704ab14b1a3
knative.dev/hack v0.0.0-20230922134855-34850cddd60a
knative.dev/pkg v0.0.0-20230922135952-559de7ee8c67
knative.dev/serving v0.38.1-0.20230922153311-60cb95fb4cbf
sigs.k8s.io/yaml v1.3.0
)

Expand Down Expand Up @@ -138,7 +138,7 @@ require (
k8s.io/gengo v0.0.0-20221011193443-fad74ee6edd9 // indirect
k8s.io/klog/v2 v2.80.2-0.20221028030830-9ae4992afb54 // indirect
k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 // indirect
knative.dev/networking v0.0.0-20230921070414-6aa88055400d // indirect
knative.dev/networking v0.0.0-20230922121936-65a08ef1061d // indirect
sigs.k8s.io/controller-runtime v0.7.2 // indirect
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
Expand Down
24 changes: 12 additions & 12 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1386,18 +1386,18 @@ k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a/go.mod h1:jPW/WVKK9YHAvNhRxK0md/
k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b/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/caching v0.0.0-20230920131814-94468139a072 h1:IstfPsvNrNYLN/pqYkCeEiCTLhE5auThTn5ruHh82wg=
knative.dev/caching v0.0.0-20230920131814-94468139a072/go.mod h1:qD/ScmVr6Z7v23FL1JL8rCrPdvAN2WokwVGLdqGLSmc=
knative.dev/eventing v0.38.1-0.20230921080814-ceecbb01e116 h1:6uRelTonJAo0gBvWRGLmkUYX2C6ujXor6XkcaPp+mSg=
knative.dev/eventing v0.38.1-0.20230921080814-ceecbb01e116/go.mod h1:SvR+RVODiRXu1H083BdBqlAPJxaxsaVJ0arpUrWqDBA=
knative.dev/hack v0.0.0-20230921145603-c4a34c34512e h1:6Va+yK7+Sjtnck9dsCDsgk/1k+K0Hx9HPZ2ZJ7mRJFs=
knative.dev/hack v0.0.0-20230921145603-c4a34c34512e/go.mod h1:dx0YG3YWqJu653e9tjcT0Q1ZdS9JJXLKbUhzr4EB0g8=
knative.dev/networking v0.0.0-20230921070414-6aa88055400d h1:avwL7zSaTNm9rdi0gVKLYLQ71iYmM7LKP71xrQV/AH4=
knative.dev/networking v0.0.0-20230921070414-6aa88055400d/go.mod h1:5MM0oDUBDW1Y6pqxr3FPSpHL07ajdKSzHGtjV+j0BZw=
knative.dev/pkg v0.0.0-20230920131713-8761ceb9297f h1:ZapGIwjj8yUNfXhLo6f/DuDnNGV4UrqTIwVgxRir9HI=
knative.dev/pkg v0.0.0-20230920131713-8761ceb9297f/go.mod h1:a133faJchgmFZIJyOOcFq34NbWnrUcOvwVKgK6hfrHE=
knative.dev/serving v0.38.1-0.20230921205527-0d73dfe0f295 h1:5RkvBIstu7qLoQXLa1vD8HkjEQJFAPR5pX04LTePuPQ=
knative.dev/serving v0.38.1-0.20230921205527-0d73dfe0f295/go.mod h1:ffb3XgwjQx5z3XZtWBSdc+O3fHvwBpUZUQg+cG6+xPw=
knative.dev/caching v0.0.0-20230922143727-f45a005abea0 h1:tM8WdS83dUTatztcVzFMxxxtXTIC8eGB6GaGsL29dNM=
knative.dev/caching v0.0.0-20230922143727-f45a005abea0/go.mod h1:JcbbzvJaddryKX8qfC1pnAdysAIZE2Chn9H9vY5FYvc=
knative.dev/eventing v0.38.1-0.20230922165944-b704ab14b1a3 h1:Qk8mZ0rAd+maJLfJaz3ZmqwobcAu8ozI2nhMhjnOIgU=
knative.dev/eventing v0.38.1-0.20230922165944-b704ab14b1a3/go.mod h1:QWSxmyJ8QdmhEyy8hzu0qgS69fcTTFlSPB9Ntmwvycw=
knative.dev/hack v0.0.0-20230922134855-34850cddd60a h1:49UQAWesCa31hlEr+hJV1olDlK+ZhyYwI+KEFTgC8K8=
knative.dev/hack v0.0.0-20230922134855-34850cddd60a/go.mod h1:WA6zi0u24QTDuFZUeqBwSerEh4Io8lxe6UmvolOzA24=
knative.dev/networking v0.0.0-20230922121936-65a08ef1061d h1:nt+V0z6SvwzCM5SOguA7iumZk2k7ZCmnn/wVlu8zNWk=
knative.dev/networking v0.0.0-20230922121936-65a08ef1061d/go.mod h1:UHJXYVVXazzsITAV5dW6tMFG/vaeM5MCXKFHYtuVX/8=
knative.dev/pkg v0.0.0-20230922135952-559de7ee8c67 h1:LHO+jjpemTbXV17poNbhpPTWi6vkBiZv0GtJw3Yj9FE=
knative.dev/pkg v0.0.0-20230922135952-559de7ee8c67/go.mod h1:HagK8mQdSVdmm2xSYMpl4iCLjhxPoPJdY1/NuuEvAVw=
knative.dev/serving v0.38.1-0.20230922153311-60cb95fb4cbf h1:SyoI5+ehqDbCLWN2GyBcmeVvQ/OmrwqTxgISYRI1fi4=
knative.dev/serving v0.38.1-0.20230922153311-60cb95fb4cbf/go.mod h1:zfxLvDBkj4mr6ipBJy5EIhDLfy2/UZ7v2GGOygEtpjw=
nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0=
pgregory.net/rapid v1.0.0 h1:iQaM2w5PZ6xvt6x7hbd7tiDS+nk7YPp5uCaEba+T/F4=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
Expand Down
173 changes: 0 additions & 173 deletions vendor/knative.dev/hack/go.work.sum

This file was deleted.

23 changes: 23 additions & 0 deletions vendor/knative.dev/hack/library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,30 @@ function foreach_go_module() {
# global env var: FLOATING_DEPS
# --upgrade will set GOPROXY to direct unless it is already set.
function go_update_deps() {
# The go.work.sum will be truncated if it exists. This is to allow the
# `go mod tidy` to resolve the dependencies, without the influence of the
# sums from the workspace.
__clean_goworksum_if_exists
foreach_go_module __go_update_deps_for_module "$@"
__remove_goworksum_if_empty
}

function __clean_goworksum_if_exists() {
if [ -f "$REPO_ROOT_DIR/go.work.sum" ]; then
echo "=== Cleaning the go.work.sum file"
true > "$REPO_ROOT_DIR/go.work.sum"
fi
}

function __remove_goworksum_if_empty() {
if [ -f "$REPO_ROOT_DIR/go.work" ]; then
echo "=== Syncing the go workspace"
go work sync
fi
if ! [ -s "$REPO_ROOT_DIR/go.work.sum" ]; then
echo "=== Removing empty go.work.sum"
rm -f "$REPO_ROOT_DIR/go.work.sum"
fi
}

function __go_update_deps_for_module() {
Expand Down
25 changes: 25 additions & 0 deletions vendor/knative.dev/pkg/apis/duck/v1/auth_types.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
Copyright 2022 The Knative Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package v1

// AuthStatus is meant to provide the generated service account name
// in the resource status.
type AuthStatus struct {
// ServiceAccountName is the name of the generated service account
// used for this components OIDC authentication.
ServiceAccountName *string `json:"serviceAccountName,omitempty"`
}
5 changes: 5 additions & 0 deletions vendor/knative.dev/pkg/apis/duck/v1/source_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ type SourceStatus struct {
// according to https://www.rfc-editor.org/rfc/rfc7468.
// +optional
SinkCACerts *string `json:"sinkCACerts,omitempty"`

// Auth defines the attributes that provide the generated service account
// name in the resource status.
// +optional
Auth *AuthStatus `json:"auth,omitempty"`
}

// CloudEventAttributes specifies the attributes that a Source
Expand Down
26 changes: 26 additions & 0 deletions vendor/knative.dev/pkg/apis/duck/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1253,11 +1253,11 @@ k8s.io/utils/net
k8s.io/utils/pointer
k8s.io/utils/strings/slices
k8s.io/utils/trace
# knative.dev/caching v0.0.0-20230920131814-94468139a072
# knative.dev/caching v0.0.0-20230922143727-f45a005abea0
## explicit; go 1.18
knative.dev/caching/pkg/apis/caching
knative.dev/caching/pkg/apis/caching/v1alpha1
# knative.dev/eventing v0.38.1-0.20230921080814-ceecbb01e116
# knative.dev/eventing v0.38.1-0.20230922165944-b704ab14b1a3
## explicit; go 1.19
knative.dev/eventing/pkg/apis/config
knative.dev/eventing/pkg/apis/duck
Expand Down Expand Up @@ -1346,11 +1346,11 @@ knative.dev/eventing/test/upgrade/prober/wathola/fetcher
knative.dev/eventing/test/upgrade/prober/wathola/forwarder
knative.dev/eventing/test/upgrade/prober/wathola/receiver
knative.dev/eventing/test/upgrade/prober/wathola/sender
# knative.dev/hack v0.0.0-20230921145603-c4a34c34512e
# knative.dev/hack v0.0.0-20230922134855-34850cddd60a
## explicit; go 1.18
knative.dev/hack
knative.dev/hack/shell
# knative.dev/networking v0.0.0-20230921070414-6aa88055400d
# knative.dev/networking v0.0.0-20230922121936-65a08ef1061d
## explicit; go 1.18
knative.dev/networking/pkg
knative.dev/networking/pkg/apis/networking
Expand All @@ -1365,7 +1365,7 @@ knative.dev/networking/pkg/http/probe
knative.dev/networking/pkg/http/proxy
knative.dev/networking/pkg/http/stats
knative.dev/networking/pkg/k8s
# knative.dev/pkg v0.0.0-20230920131713-8761ceb9297f
# knative.dev/pkg v0.0.0-20230922135952-559de7ee8c67
## explicit; go 1.18
knative.dev/pkg/apiextensions/storageversion
knative.dev/pkg/apiextensions/storageversion/cmd/migrate
Expand Down Expand Up @@ -1445,7 +1445,7 @@ knative.dev/pkg/webhook
knative.dev/pkg/webhook/certificates
knative.dev/pkg/webhook/certificates/resources
knative.dev/pkg/webhook/resourcesemantics/conversion
# knative.dev/serving v0.38.1-0.20230921205527-0d73dfe0f295
# knative.dev/serving v0.38.1-0.20230922153311-60cb95fb4cbf
## explicit; go 1.18
knative.dev/serving/pkg/apis/autoscaling
knative.dev/serving/pkg/apis/autoscaling/v1alpha1
Expand Down

0 comments on commit 0c99a13

Please sign in to comment.