Skip to content

Commit

Permalink
upgrade to latest dependencies
Browse files Browse the repository at this point in the history
bumping knative.dev/caching 9446813...7f3928f:
  > 7f3928f upgrade to latest dependencies (# 787)
bumping knative.dev/pkg 8761ceb...05a411a:
  > 05a411a upgrade to latest dependencies (# 2831)
  > 76b4202 Add AuthStatus type (# 2829)
bumping knative.dev/eventing ceecbb0...37a0e3c:
  > 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...3c15b82:
  > 3c15b82 upgrade to latest dependencies (# 14415)
bumping knative.dev/hack c4a34c3...da6e74c:
  > da6e74c 🐛 The `go.work.sum` don't influence the dependencies resolution (# 317)

Signed-off-by: Knative Automation <[email protected]>
  • Loading branch information
knative-automation committed Sep 22, 2023
1 parent e7a3d9c commit 6dd4b7d
Show file tree
Hide file tree
Showing 8 changed files with 99 additions and 193 deletions.
10 changes: 5 additions & 5 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-20230922121835-7f3928f2fc87
knative.dev/eventing v0.38.1-0.20230922120019-37a0e3ceac14
knative.dev/hack v0.0.0-20230922114927-da6e74ccb8e8
knative.dev/pkg v0.0.0-20230922122916-05a411a3e26f
knative.dev/serving v0.38.1-0.20230922121940-3c15b82cfdf6
sigs.k8s.io/yaml v1.3.0
)

Expand Down
20 changes: 10 additions & 10 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/caching v0.0.0-20230922121835-7f3928f2fc87 h1:L4cEhIIk3OZdn9ng1lVvCsA6ltp9T8hk87TyGXf6Kss=
knative.dev/caching v0.0.0-20230922121835-7f3928f2fc87/go.mod h1:7lRc1s8ozqb8wyMc9TN9XJbX7sQyIZo/5xfnGLvnmYU=
knative.dev/eventing v0.38.1-0.20230922120019-37a0e3ceac14 h1:WpHksyQmbG8KYwOUiYDuV41Y8cSGUjs5+NTPiDqnqkY=
knative.dev/eventing v0.38.1-0.20230922120019-37a0e3ceac14/go.mod h1:QyUIpZWO44PKpHVG//seIq++zJ0Z1WB6mocv3xkSBLY=
knative.dev/hack v0.0.0-20230922114927-da6e74ccb8e8 h1:/+fz5u4W5CfgUKaWlLKqtxzOJttg5GF8pw8mLWrEWWg=
knative.dev/hack v0.0.0-20230922114927-da6e74ccb8e8/go.mod h1:WA6zi0u24QTDuFZUeqBwSerEh4Io8lxe6UmvolOzA24=
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/pkg v0.0.0-20230922122916-05a411a3e26f h1:ljGTwmELtmwa9VQ1TKW6wYxmnQYfQ9RUE5qkkh2cZ/w=
knative.dev/pkg v0.0.0-20230922122916-05a411a3e26f/go.mod h1:gWKApiC/FE1WUfnxR2l9xg95awiRZrK7i6LmgErAoro=
knative.dev/serving v0.38.1-0.20230922121940-3c15b82cfdf6 h1:qTmqN2ujTrt9Y9je9sgZoT+S3el3wxkWqqYtIICgQqg=
knative.dev/serving v0.38.1-0.20230922121940-3c15b82cfdf6/go.mod h1:otq+OQsWpltZI+Hq4fWGSmrco3QEQ1OOpsHThWplccE=
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.

10 changes: 5 additions & 5 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-20230922121835-7f3928f2fc87
## 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.20230922120019-37a0e3ceac14
## explicit; go 1.19
knative.dev/eventing/pkg/apis/config
knative.dev/eventing/pkg/apis/duck
Expand Down Expand Up @@ -1346,7 +1346,7 @@ 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-20230922114927-da6e74ccb8e8
## explicit; go 1.18
knative.dev/hack
knative.dev/hack/shell
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-20230922122916-05a411a3e26f
## 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.20230922121940-3c15b82cfdf6
## explicit; go 1.18
knative.dev/serving/pkg/apis/autoscaling
knative.dev/serving/pkg/apis/autoscaling/v1alpha1
Expand Down

0 comments on commit 6dd4b7d

Please sign in to comment.