Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
upgrade to latest dependencies
Browse files Browse the repository at this point in the history
bumping knative.dev/eventing 8066ba3...df6a6f0:
  > df6a6f0 Use kmeta.ChildName() to generate OIDC service account name (# 7521)
  > f9961d9 [main] Upgrade to latest dependencies (# 7520)
bumping knative.dev/reconciler-test b67e75b...df253bf:
  > df253bf upgrade to latest dependencies (# 642)

Signed-off-by: Knative Automation <[email protected]>
  • Loading branch information
knative-automation committed Dec 20, 2023
1 parent b4e4c3b commit c446678
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ require (
k8s.io/apimachinery v0.27.6
k8s.io/client-go v0.27.6
k8s.io/utils v0.0.0-20230209194617-a36077c30491
knative.dev/eventing v0.39.1-0.20231219065136-8066ba3aef77
knative.dev/eventing v0.39.1-0.20231220075019-df6a6f071603
knative.dev/hack v0.0.0-20231201014241-7030d5bf584d
knative.dev/pkg v0.0.0-20231219072704-d513e487961e
knative.dev/reconciler-test v0.0.0-20231218144542-b67e75b2c1f0
knative.dev/reconciler-test v0.0.0-20231219134603-df253bf07df6
sigs.k8s.io/yaml v1.4.0
)

Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -956,14 +956,14 @@ k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f h1:2kWPakN3i/k81b0gvD5C5F
k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f/go.mod h1:byini6yhqGC14c3ebc/QwanvYwhuMWF6yz2F8uwW8eg=
k8s.io/utils v0.0.0-20230209194617-a36077c30491 h1:r0BAOLElQnnFhE/ApUsg3iHdVYYPBjNSSOMowRZxxsY=
k8s.io/utils v0.0.0-20230209194617-a36077c30491/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
knative.dev/eventing v0.39.1-0.20231219065136-8066ba3aef77 h1:suAQ5aGpPjw43Y9vy+IZov/WTUfQDad4mBYd6DTSud8=
knative.dev/eventing v0.39.1-0.20231219065136-8066ba3aef77/go.mod h1:Dowicq63UNXlxQ5szqHa5myW5NYCLSZq1VVoxYMYats=
knative.dev/eventing v0.39.1-0.20231220075019-df6a6f071603 h1:2IOUz1x/z6Ik1G154IPJC02sc3As+J9Yq21Zrs/Nv0M=
knative.dev/eventing v0.39.1-0.20231220075019-df6a6f071603/go.mod h1:ukl5Kp2HB7oGCliOZ+LMfpwy/NqfNYts22mBc1I/ZGs=
knative.dev/hack v0.0.0-20231201014241-7030d5bf584d h1:IqXY770znXS9tLJDEh+OUcLMgtIFslSxqao3uplpUlY=
knative.dev/hack v0.0.0-20231201014241-7030d5bf584d/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
knative.dev/pkg v0.0.0-20231219072704-d513e487961e h1:br9VUyN8M4ZUaWsmKifLg5lIAy6JmNw2MdeHd6wgp9g=
knative.dev/pkg v0.0.0-20231219072704-d513e487961e/go.mod h1:YWJGsIxySXQehfkslagVEpJJwHgSScUc21+KpEgBXcY=
knative.dev/reconciler-test v0.0.0-20231218144542-b67e75b2c1f0 h1:ZlHgDkW7L910NhmMcKxrCkRzsaY9hOYkqFcRPenvqns=
knative.dev/reconciler-test v0.0.0-20231218144542-b67e75b2c1f0/go.mod h1:0fCJEXsSvbxqa5QaqTGLmpOO0ffb+PCWM7UhZ9t9LiE=
knative.dev/reconciler-test v0.0.0-20231219134603-df253bf07df6 h1:MOZPyV1fWSln38uMrOfrD4zvr5yJ+56ALZNqf2X/oLI=
knative.dev/reconciler-test v0.0.0-20231219134603-df253bf07df6/go.mod h1:G+SXVrdTEWcbwpcUdKIj9sfCpKXtLzCyze6orursEdI=
pgregory.net/rapid v0.3.3/go.mod h1:UYpPVyjFHzYBGHIxLFoupi8vwk6rXNzRY9OMvVxFIOU=
pgregory.net/rapid v1.1.0 h1:CMa0sjHSru3puNx+J0MIAuiiEV4N0qj8/cMWGBBCsjw=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
Expand Down
6 changes: 4 additions & 2 deletions vendor/knative.dev/eventing/pkg/auth/serviceaccount.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (

"knative.dev/eventing/pkg/apis/feature"
duckv1 "knative.dev/pkg/apis/duck/v1"
"knative.dev/pkg/kmeta"
pkgreconciler "knative.dev/pkg/reconciler"

"go.uber.org/zap"
Expand All @@ -39,8 +40,9 @@ import (
// GetOIDCServiceAccountNameForResource returns the service account name to use
// for OIDC authentication for the given resource.
func GetOIDCServiceAccountNameForResource(gvk schema.GroupVersionKind, objectMeta metav1.ObjectMeta) string {
sa := fmt.Sprintf("oidc-%s-%s-%s", gvk.GroupKind().Group, gvk.GroupKind().Kind, objectMeta.GetName())

suffix := fmt.Sprintf("-oidc-%s-%s", gvk.Group, gvk.Kind)
parent := objectMeta.GetName()
sa := kmeta.ChildName(parent, suffix)
return strings.ToLower(sa)
}

Expand Down
4 changes: 2 additions & 2 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,7 @@ k8s.io/utils/net
k8s.io/utils/pointer
k8s.io/utils/strings/slices
k8s.io/utils/trace
# knative.dev/eventing v0.39.1-0.20231219065136-8066ba3aef77
# knative.dev/eventing v0.39.1-0.20231220075019-df6a6f071603
## explicit; go 1.19
knative.dev/eventing/cmd/heartbeats
knative.dev/eventing/pkg/adapter/v2
Expand Down Expand Up @@ -1523,7 +1523,7 @@ knative.dev/pkg/webhook/resourcesemantics
knative.dev/pkg/webhook/resourcesemantics/conversion
knative.dev/pkg/webhook/resourcesemantics/defaulting
knative.dev/pkg/webhook/resourcesemantics/validation
# knative.dev/reconciler-test v0.0.0-20231218144542-b67e75b2c1f0
# knative.dev/reconciler-test v0.0.0-20231219134603-df253bf07df6
## explicit; go 1.20
knative.dev/reconciler-test/cmd/eventshub
knative.dev/reconciler-test/pkg/environment
Expand Down

0 comments on commit c446678

Please sign in to comment.