Skip to content

Commit

Permalink
upgrade to latest dependencies (#951)
Browse files Browse the repository at this point in the history
bumping knative.dev/pkg 211243a...27252a3:
  > 27252a3 Added Audience field in duckv1.Destination (# 2797)
  > 66bf5af Added Audience field in duckv1.Addressable (# 2798)

Signed-off-by: Knative Automation <automation@knative.team>
  • Loading branch information
knative-automation authored Sep 6, 2023
1 parent 21ff32e commit 046d42b
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
k8s.io/client-go v0.26.5
knative.dev/hack v0.0.0-20230818155117-9cc05a31e8c0
knative.dev/networking v0.0.0-20230905021116-e9a822c09ff2
knative.dev/pkg v0.0.0-20230901225035-211243a92d2f
knative.dev/pkg v0.0.0-20230905144417-27252a376b30
sigs.k8s.io/yaml v1.3.0
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -710,8 +710,8 @@ knative.dev/hack v0.0.0-20230818155117-9cc05a31e8c0 h1:n9YEGYuoj31pAkhGlNL+xTQAe
knative.dev/hack v0.0.0-20230818155117-9cc05a31e8c0/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
knative.dev/networking v0.0.0-20230905021116-e9a822c09ff2 h1:hNCieED2OWh2yFReHqHjzF5UVfPPpHXT+pV3Zz6b+bg=
knative.dev/networking v0.0.0-20230905021116-e9a822c09ff2/go.mod h1:3ZBj59GyKsN7vh9GMii4A3Dfbg4VwbNzHkUmj6wNCxs=
knative.dev/pkg v0.0.0-20230901225035-211243a92d2f h1:I60WBu0TRBhQ1ke8s3xfhn3fXo2OOLv+ebCoTwUdddU=
knative.dev/pkg v0.0.0-20230901225035-211243a92d2f/go.mod h1:KOCW7iby+PL0aSDG2Ta7Vf1kCn+VAqL7QaTyK0c4fuk=
knative.dev/pkg v0.0.0-20230905144417-27252a376b30 h1:q8OCYCux80XnBIscEUTyK9kMAM5cYhPMXlU0b77maz0=
knative.dev/pkg v0.0.0-20230905144417-27252a376b30/go.mod h1:KOCW7iby+PL0aSDG2Ta7Vf1kCn+VAqL7QaTyK0c4fuk=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
Expand Down
4 changes: 4 additions & 0 deletions vendor/knative.dev/pkg/apis/duck/v1/addressable_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ type Addressable struct {
// according to https://www.rfc-editor.org/rfc/rfc7468.
// +optional
CACerts *string `json:"CACerts,omitempty"`

// Audience is the OIDC audience for this address.
// +optional
Audience *string `json:"audience,omitempty"`
}

var (
Expand Down
8 changes: 8 additions & 0 deletions vendor/knative.dev/pkg/apis/duck/v1/destination.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ type Destination struct {
// by the Addressable target, if any.
// +optional
CACerts *string `json:"CACerts,omitempty"`

// Audience is the OIDC audience.
// This need only be set, if the target is not an Addressable
// and thus the Audience can't be received from the Addressable itself.
// In case the Addressable specifies an Audience too, the Destinations
// Audience takes preference.
// +optional
Audience *string `json:"audience,omitempty"`
}

// Validate the Destination has all the necessary fields and check the
Expand Down
10 changes: 10 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.

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ knative.dev/networking/test/test_images/runtime/handlers
knative.dev/networking/test/test_images/timeout
knative.dev/networking/test/test_images/wsserver
knative.dev/networking/test/types
# knative.dev/pkg v0.0.0-20230901225035-211243a92d2f
# knative.dev/pkg v0.0.0-20230905144417-27252a376b30
## explicit; go 1.18
knative.dev/pkg/apis
knative.dev/pkg/apis/duck
Expand Down

0 comments on commit 046d42b

Please sign in to comment.