From c6374b6da63dbcf0541655462e6449f4ea377195 Mon Sep 17 00:00:00 2001 From: Knative Automation Date: Wed, 6 Sep 2023 02:32:19 +0000 Subject: [PATCH] upgrade to latest dependencies bumping knative.dev/networking 1e4e183...e9a822c: > e9a822c upgrade to latest dependencies (# 850) > 682b8d7 upgrade to latest dependencies (# 849) > dfd6edf Fix inaccurate instruction for internal-encryption (# 846) bumping knative.dev/serving 899b332...b557307: > b557307 Update net-contour nightly (# 14323) > dae0b36 Update net-kourier nightly (# 14329) > 8f2f57b Fix certificate watcher test (# 14331) > b6d4f61 Add PullIfNotPresent to multiple container test (# 14317) > 5a2dc2e Update net-kourier nightly (# 14320) > 442c13d Update net-istio nightly (# 14322) > 8ff8961 Update net-certmanager nightly (# 14319) > 007cb37 Update net-gateway-api nightly (# 14321) > 005838b Re-generate test/config/tls/cert-secret.yaml (# 14324) > 8dbb2d3 Add certificate watcher to queue-proxy (# 14189) > 45b119b upgrade to latest dependencies (# 14316) > ca1c242 Update net-contour nightly (# 14315) > a2ef52b Update net-certmanager nightly (# 14314) > 4dba344 Update net-gateway-api nightly (# 14313) > 18cb237 Update net-istio nightly (# 14312) > ba5a929 Update net-kourier nightly (# 14311) > 323b8c9 upgrade to latest dependencies (# 14308) > 358ec13 Split HTTPGetAction.Path into path and query (# 14273) > cea3201 Update net-kourier nightly (# 14305) > ad5455e fix e2e script & some tests (# 14296) > f89b071 Update net-certmanager nightly (# 14307) > 81d7085 Update net-gateway-api nightly (# 14306) bumping knative.dev/pkg fcccb4e...27252a3: > 27252a3 Added Audience field in duckv1.Destination (# 2797) > 66bf5af Added Audience field in duckv1.Addressable (# 2798) > 211243a generate serviceaccount reconciler (# 2808) Signed-off-by: Knative Automation --- go.mod | 6 +++--- go.sum | 12 ++++++------ .../pkg/apis/duck/v1/addressable_types.go | 4 ++++ vendor/knative.dev/pkg/apis/duck/v1/destination.go | 8 ++++++++ .../pkg/apis/duck/v1/zz_generated.deepcopy.go | 10 ++++++++++ vendor/modules.txt | 6 +++--- 6 files changed, 34 insertions(+), 12 deletions(-) diff --git a/go.mod b/go.mod index 665025b3a..b59133d9a 100644 --- a/go.mod +++ b/go.mod @@ -17,9 +17,9 @@ require ( k8s.io/apimachinery v0.26.5 k8s.io/client-go v0.26.5 knative.dev/hack v0.0.0-20230818155117-9cc05a31e8c0 - knative.dev/networking v0.0.0-20230828082700-1e4e18318353 - knative.dev/pkg v0.0.0-20230829134737-fcccb4e1a0a4 - knative.dev/serving v0.38.1-0.20230829131530-899b332671b1 + knative.dev/networking v0.0.0-20230905021116-e9a822c09ff2 + knative.dev/pkg v0.0.0-20230905144417-27252a376b30 + knative.dev/serving v0.38.1-0.20230905142417-b5573073eacd ) require ( diff --git a/go.sum b/go.sum index 6f61447e2..1a29ed94d 100644 --- a/go.sum +++ b/go.sum @@ -665,12 +665,12 @@ k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2 h1:GfD9OzL11kvZN5iArC6oTS7RTj7oJ k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= knative.dev/hack v0.0.0-20230818155117-9cc05a31e8c0 h1:n9YEGYuoj31pAkhGlNL+xTQAeXKYTLeMmIZLWA9fAeo= knative.dev/hack v0.0.0-20230818155117-9cc05a31e8c0/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q= -knative.dev/networking v0.0.0-20230828082700-1e4e18318353 h1:Ll5uB/h54ghuaWjoVAOUoar4dTSVpV26XOmnvKKevHQ= -knative.dev/networking v0.0.0-20230828082700-1e4e18318353/go.mod h1:1voQlQD0tuot6U3Kldw+uch33mK2LV85fi3MfbV0CP8= -knative.dev/pkg v0.0.0-20230829134737-fcccb4e1a0a4 h1:UKse4ZRulN2Xif4agvPbvUAxSsDlLLJTy/mrHp9CRN4= -knative.dev/pkg v0.0.0-20230829134737-fcccb4e1a0a4/go.mod h1:KOCW7iby+PL0aSDG2Ta7Vf1kCn+VAqL7QaTyK0c4fuk= -knative.dev/serving v0.38.1-0.20230829131530-899b332671b1 h1:PS0VlsRj7QausKrkb52oiArNtPN9W/PA1EWHMbyZ+0o= -knative.dev/serving v0.38.1-0.20230829131530-899b332671b1/go.mod h1:LhC5vH2hhy0EgfWg3dMFptE/JAqkdes6DooWb2NXEtQ= +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-20230905144417-27252a376b30 h1:q8OCYCux80XnBIscEUTyK9kMAM5cYhPMXlU0b77maz0= +knative.dev/pkg v0.0.0-20230905144417-27252a376b30/go.mod h1:KOCW7iby+PL0aSDG2Ta7Vf1kCn+VAqL7QaTyK0c4fuk= +knative.dev/serving v0.38.1-0.20230905142417-b5573073eacd h1:wn5UAOiwc1wmX4Eki+TsglQSfdjVSQN7qyhcDo6ARkg= +knative.dev/serving v0.38.1-0.20230905142417-b5573073eacd/go.mod h1:n6R3LX2i+sIdOsSYlUN5W9HuSdG/3+QN13VwCSsmPMk= pgregory.net/rapid v1.0.0 h1:iQaM2w5PZ6xvt6x7hbd7tiDS+nk7YPp5uCaEba+T/F4= 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= diff --git a/vendor/knative.dev/pkg/apis/duck/v1/addressable_types.go b/vendor/knative.dev/pkg/apis/duck/v1/addressable_types.go index bdcb994fa..a855c3857 100644 --- a/vendor/knative.dev/pkg/apis/duck/v1/addressable_types.go +++ b/vendor/knative.dev/pkg/apis/duck/v1/addressable_types.go @@ -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 ( diff --git a/vendor/knative.dev/pkg/apis/duck/v1/destination.go b/vendor/knative.dev/pkg/apis/duck/v1/destination.go index 8e067a99b..720d40677 100644 --- a/vendor/knative.dev/pkg/apis/duck/v1/destination.go +++ b/vendor/knative.dev/pkg/apis/duck/v1/destination.go @@ -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 diff --git a/vendor/knative.dev/pkg/apis/duck/v1/zz_generated.deepcopy.go b/vendor/knative.dev/pkg/apis/duck/v1/zz_generated.deepcopy.go index 744a38bb0..46cc83857 100644 --- a/vendor/knative.dev/pkg/apis/duck/v1/zz_generated.deepcopy.go +++ b/vendor/knative.dev/pkg/apis/duck/v1/zz_generated.deepcopy.go @@ -72,6 +72,11 @@ func (in *Addressable) DeepCopyInto(out *Addressable) { *out = new(string) **out = **in } + if in.Audience != nil { + in, out := &in.Audience, &out.Audience + *out = new(string) + **out = **in + } return } @@ -361,6 +366,11 @@ func (in *Destination) DeepCopyInto(out *Destination) { *out = new(string) **out = **in } + if in.Audience != nil { + in, out := &in.Audience, &out.Audience + *out = new(string) + **out = **in + } return } diff --git a/vendor/modules.txt b/vendor/modules.txt index b45be7bfd..7688a707e 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -597,7 +597,7 @@ k8s.io/utils/trace # knative.dev/hack v0.0.0-20230818155117-9cc05a31e8c0 ## explicit; go 1.18 knative.dev/hack -# knative.dev/networking v0.0.0-20230828082700-1e4e18318353 +# knative.dev/networking v0.0.0-20230905021116-e9a822c09ff2 ## explicit; go 1.18 knative.dev/networking/pkg/apis/networking knative.dev/networking/pkg/apis/networking/v1alpha1 @@ -605,7 +605,7 @@ knative.dev/networking/pkg/client/clientset/versioned/scheme knative.dev/networking/pkg/client/clientset/versioned/typed/networking/v1alpha1 knative.dev/networking/pkg/client/clientset/versioned/typed/networking/v1alpha1/fake knative.dev/networking/pkg/config -# knative.dev/pkg v0.0.0-20230829134737-fcccb4e1a0a4 +# knative.dev/pkg v0.0.0-20230905144417-27252a376b30 ## explicit; go 1.18 knative.dev/pkg/apis knative.dev/pkg/apis/duck @@ -622,7 +622,7 @@ knative.dev/pkg/network knative.dev/pkg/profiling knative.dev/pkg/ptr knative.dev/pkg/tracker -# knative.dev/serving v0.38.1-0.20230829131530-899b332671b1 +# knative.dev/serving v0.38.1-0.20230905142417-b5573073eacd ## explicit; go 1.18 knative.dev/serving/pkg/apis/autoscaling knative.dev/serving/pkg/apis/autoscaling/v1alpha1