Skip to content

Commit

Permalink
upgrade to latest dependencies (#1466)
Browse files Browse the repository at this point in the history
bumping knative.dev/reconciler-test 1687b63...9a52608:
  > 9a52608 Update Golang to 1.21 (# 662)
  > ab0a030 upgrade to latest dependencies (# 661)
bumping knative.dev/eventing 3391d1e...02bde54:
  > 02bde54 Add helm as one of the development requirement (# 7643)
  > 56ee9b2 Add TLS tests for Trigger and Subscription dead letter sinks (# 7636)
  > ff52881 Use filtered informer to watch OIDC service accounts (# 7527)
  > 54f3952 [main] Upgrade to latest dependencies (# 7641)

Signed-off-by: Knative Automation <automation@knative.team>
  • Loading branch information
knative-automation committed Jan 31, 2024
1 parent cd11da2 commit d0e5bf2
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 15 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.28.5
k8s.io/client-go v0.28.5
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2
knative.dev/eventing v0.40.1-0.20240129143701-3391d1ea191d
knative.dev/eventing v0.40.1-0.20240130192152-02bde5498cb7
knative.dev/hack v0.0.0-20240123160146-ab9b69024c39
knative.dev/pkg v0.0.0-20240129160226-b6659cc45066
knative.dev/reconciler-test v0.0.0-20240129124740-1687b63dbd59
knative.dev/reconciler-test v0.0.0-20240130133634-9a526085b198
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 @@ -970,14 +970,14 @@ k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 h1:LyMgNKD2P8Wn1iAwQU5Ohx
k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9/go.mod h1:wZK2AVp1uHCp4VamDVgBP2COHZjqD1T68Rf0CM3YjSM=
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 h1:qY1Ad8PODbnymg2pRbkyMT/ylpTrCM8P2RJ0yroCyIk=
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
knative.dev/eventing v0.40.1-0.20240129143701-3391d1ea191d h1:woQjybUTNnKdsqB8gT+PtmA+lFDVnwlcFrybnPjnFt0=
knative.dev/eventing v0.40.1-0.20240129143701-3391d1ea191d/go.mod h1:xNCqqwDes6dAef4mOMVtniBW+V1hzkTX/01Wh0V8ChM=
knative.dev/eventing v0.40.1-0.20240130192152-02bde5498cb7 h1:Jm5NBGr6pEVO94NiD6RlDDzJh7RrXZeYEwbGUIJ4ZLQ=
knative.dev/eventing v0.40.1-0.20240130192152-02bde5498cb7/go.mod h1:B3/ep06tqwcAfcH7R5eGKi7bgZTfqb59MPoqfV8Jirg=
knative.dev/hack v0.0.0-20240123160146-ab9b69024c39 h1:Or4ri7cAUQNEWwMPaGGaIe1hsPHGdVtr8lIaHh2JF7s=
knative.dev/hack v0.0.0-20240123160146-ab9b69024c39/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
knative.dev/pkg v0.0.0-20240129160226-b6659cc45066 h1:CZSdKszK3MTCuchbQK643y/nHLQs87ESuFQn011XsJ8=
knative.dev/pkg v0.0.0-20240129160226-b6659cc45066/go.mod h1:cGCJe6wkr0vQMAXTaUHi0XA/12JbxSTK15TnyBmn7ms=
knative.dev/reconciler-test v0.0.0-20240129124740-1687b63dbd59 h1:zgxtuXtwSV/N40g1+VKOhyJhaOuxz348C2w25DIiH2M=
knative.dev/reconciler-test v0.0.0-20240129124740-1687b63dbd59/go.mod h1:zY7LfYHAm1Zoxa4IMI84GK2lKOU8dU44imPfNJoIi+o=
knative.dev/reconciler-test v0.0.0-20240130133634-9a526085b198 h1:QaFXvqgPSA95CAuS71VTM/RHRkMIm4dSZLjRBvpSEzU=
knative.dev/reconciler-test v0.0.0-20240130133634-9a526085b198/go.mod h1:GYf5f0+DBK7736Y9VydjMkmkCqbWKIlRWN+SQ5tJ7A0=
pgregory.net/rapid v0.3.3/go.mod h1:UYpPVyjFHzYBGHIxLFoupi8vwk6rXNzRY9OMvVxFIOU=
pgregory.net/rapid v1.1.0 h1:CMa0sjHSru3puNx+J0MIAuiiEV4N0qj8/cMWGBBCsjw=
pgregory.net/rapid v1.1.0/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04=
Expand Down
6 changes: 0 additions & 6 deletions vendor/knative.dev/eventing/pkg/apis/sources/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ const (
// SourceDuckLabelValue is the label value to indicate
// the CRD is a Source duck type.
SourceDuckLabelValue = "true"

//OIDCLabelKey is used to filter out all the informers that related to OIDC work
OIDCLabelKey = "oidc"

// OIDCTokenRoleLabelSelector is the label selector for the OIDC token creator role and rolebinding informers
OIDCTokenRoleLabelSelector = OIDCLabelKey
)

var (
Expand Down
11 changes: 11 additions & 0 deletions vendor/knative.dev/eventing/pkg/auth/serviceaccount.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ import (
"knative.dev/pkg/ptr"
)

const (
//OIDCLabelKey is used to filter out all the informers that related to OIDC work
OIDCLabelKey = "oidc"

// OIDCTokenRoleLabelSelector is the label selector for the OIDC token creator role and rolebinding informers
OIDCLabelSelector = OIDCLabelKey
)

// GetOIDCServiceAccountNameForResource returns the service account name to use
// for OIDC authentication for the given resource.
func GetOIDCServiceAccountNameForResource(gvk schema.GroupVersionKind, objectMeta metav1.ObjectMeta) string {
Expand Down Expand Up @@ -66,6 +74,9 @@ func GetOIDCServiceAccountForResource(gvk schema.GroupVersionKind, objectMeta me
Annotations: map[string]string{
"description": fmt.Sprintf("Service Account for OIDC Authentication for %s %q", gvk.GroupKind().Kind, objectMeta.Name),
},
Labels: map[string]string{
OIDCLabelKey: "enabled",
},
},
}
}
Expand Down
6 changes: 3 additions & 3 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,7 @@ k8s.io/utils/net
k8s.io/utils/pointer
k8s.io/utils/strings/slices
k8s.io/utils/trace
# knative.dev/eventing v0.40.1-0.20240129143701-3391d1ea191d
# knative.dev/eventing v0.40.1-0.20240130192152-02bde5498cb7
## explicit; go 1.21
knative.dev/eventing/cmd/heartbeats
knative.dev/eventing/pkg/adapter/v2
Expand Down Expand Up @@ -1520,8 +1520,8 @@ 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-20240129124740-1687b63dbd59
## explicit; go 1.20
# knative.dev/reconciler-test v0.0.0-20240130133634-9a526085b198
## explicit; go 1.21
knative.dev/reconciler-test/cmd/eventshub
knative.dev/reconciler-test/pkg/environment
knative.dev/reconciler-test/pkg/eventshub
Expand Down

0 comments on commit d0e5bf2

Please sign in to comment.