diff --git a/go.mod b/go.mod index 44e1637b7e..755a1e713d 100644 --- a/go.mod +++ b/go.mod @@ -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-20230926123808-2cb0056ecd97 - knative.dev/eventing v0.38.1-0.20230926144029-f10a44d7475e + knative.dev/caching v0.0.0-20230927121431-da42414936d9 + knative.dev/eventing v0.38.1-0.20230927090829-44aa15e9584b knative.dev/hack v0.0.0-20230926181829-f2f9b6f91263 - knative.dev/pkg v0.0.0-20230926133247-0f52db700d63 - knative.dev/serving v0.38.1-0.20230926134156-d0eaee098ffe + knative.dev/pkg v0.0.0-20230927121431-6cf4b051de4f + knative.dev/serving v0.38.1-0.20230927143833-9bf8d537f9f3 sigs.k8s.io/yaml v1.3.0 ) @@ -138,7 +138,7 @@ require ( k8s.io/gengo v0.0.0-20221011193443-fad74ee6edd9 // indirect k8s.io/klog/v2 v2.80.2-0.20221028030830-9ae4992afb54 // indirect k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 // indirect - knative.dev/networking v0.0.0-20230922144027-88e91e3034e9 // indirect + knative.dev/networking v0.0.0-20230926123909-c382f81bd011 // indirect sigs.k8s.io/controller-runtime v0.7.2 // indirect sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect diff --git a/go.sum b/go.sum index 5c50c7f233..b0852f93d6 100644 --- a/go.sum +++ b/go.sum @@ -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-20230926123808-2cb0056ecd97 h1:BufYj12vqD5wG4WEY5iHYJJSyGYJG5Pa3BsScyaKhck= -knative.dev/caching v0.0.0-20230926123808-2cb0056ecd97/go.mod h1:/rXNNkK2XqlYRtzmGgsYsBfFygKzjh7EphkgY9cQ4xg= -knative.dev/eventing v0.38.1-0.20230926144029-f10a44d7475e h1:mGiuYm1j0nUP+283YpPq/q9MVC9o5rYf9GSSa/4hLwE= -knative.dev/eventing v0.38.1-0.20230926144029-f10a44d7475e/go.mod h1:ipgsk9oVS+bLJJMaX7CEnCsNFIcO1UcZvF6cZxMsqWE= +knative.dev/caching v0.0.0-20230927121431-da42414936d9 h1:4VatxDY+XTd4ZnmGviV7SBDvxbW6tAsI7tAvRUFwiTs= +knative.dev/caching v0.0.0-20230927121431-da42414936d9/go.mod h1:HMAUIHPcIhEUWaSWzTj8eLDrTFa9gkLD6gtrlZ098Jw= +knative.dev/eventing v0.38.1-0.20230927090829-44aa15e9584b h1:oMnFQRKFceimJjyPy6OS8B6lzJ9Zq7dpEksNbUG5mdY= +knative.dev/eventing v0.38.1-0.20230927090829-44aa15e9584b/go.mod h1:eNSh5XX8xmAce1hImlXWYuE1iYowNCYr557tH7fqZI8= knative.dev/hack v0.0.0-20230926181829-f2f9b6f91263 h1:e6r9J1YopzSh6tDCpyKhVBfRUlZ2r0KRo9wupRjdRF4= knative.dev/hack v0.0.0-20230926181829-f2f9b6f91263/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q= -knative.dev/networking v0.0.0-20230922144027-88e91e3034e9 h1:o7ChTaWJF1GuvS6TuJfAs/0qVilqeZt6jh4wuOrv2bA= -knative.dev/networking v0.0.0-20230922144027-88e91e3034e9/go.mod h1:zNe2sZyoLV3FkMZRwPQ5XgJqi5k76Zdat0VFK4SAu0M= -knative.dev/pkg v0.0.0-20230926133247-0f52db700d63 h1:L0O5LRuKFkdwuR+MrDLGjrXgaQv9+7xse+kC7EboshI= -knative.dev/pkg v0.0.0-20230926133247-0f52db700d63/go.mod h1:NzXHwtuwTWXyMD1KbL2ONwLk8cLROLYTtujCTTG7xQs= -knative.dev/serving v0.38.1-0.20230926134156-d0eaee098ffe h1:K3AiQuVeVhAN0v1nVjGax5dT8C5Y19Fho3SOD9crEKM= -knative.dev/serving v0.38.1-0.20230926134156-d0eaee098ffe/go.mod h1:RA3oRr/HE1jpMhugk+XKqI3t7lzrdLFbMUgpG6QVTLE= +knative.dev/networking v0.0.0-20230926123909-c382f81bd011 h1:FUbAMo0hVK49wJcUTEJfyMQhPCOwoKBEpphCeHrpAiE= +knative.dev/networking v0.0.0-20230926123909-c382f81bd011/go.mod h1:q3caOSuP1eAzp6Aef8iPcbjnoufxxopv3yeOPOB1yrc= +knative.dev/pkg v0.0.0-20230927121431-6cf4b051de4f h1:+J5spRfGrMzQguNXkJlnyUK8yHoYtakUn6d1Z6Ulm/c= +knative.dev/pkg v0.0.0-20230927121431-6cf4b051de4f/go.mod h1:h2O9k9WkB10sVeYUHqywUJNN88y4jZMmu9nFwemwKAE= +knative.dev/serving v0.38.1-0.20230927143833-9bf8d537f9f3 h1:LE59rppcFx0gIDn6Rx1VL7awfYHyQgQ27aiExlf4qq8= +knative.dev/serving v0.38.1-0.20230927143833-9bf8d537f9f3/go.mod h1:KuBjyMQnMkme0vAoQeDEfGwl69QulIdfY/f6ikxpmw4= 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= diff --git a/vendor/knative.dev/eventing/pkg/apis/duck/v1/subscribable_types.go b/vendor/knative.dev/eventing/pkg/apis/duck/v1/subscribable_types.go index 9464c857fb..cb55911358 100644 --- a/vendor/knative.dev/eventing/pkg/apis/duck/v1/subscribable_types.go +++ b/vendor/knative.dev/eventing/pkg/apis/duck/v1/subscribable_types.go @@ -23,6 +23,8 @@ import ( "k8s.io/apimachinery/pkg/types" "knative.dev/pkg/apis" "knative.dev/pkg/apis/duck" + + duckv1 "knative.dev/pkg/apis/duck/v1" ) // +genduck @@ -80,6 +82,9 @@ type SubscriberStatus struct { // A human readable message indicating details of Ready status. // +optional Message string `json:"message,omitempty"` + // Auth provides the relevant information for OIDC authentication. + // +optional + Auth *duckv1.AuthStatus `json:"auth,omitempty"` } // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object diff --git a/vendor/knative.dev/eventing/pkg/apis/duck/v1/zz_generated.deepcopy.go b/vendor/knative.dev/eventing/pkg/apis/duck/v1/zz_generated.deepcopy.go index 8448a41de3..8898dedf2e 100644 --- a/vendor/knative.dev/eventing/pkg/apis/duck/v1/zz_generated.deepcopy.go +++ b/vendor/knative.dev/eventing/pkg/apis/duck/v1/zz_generated.deepcopy.go @@ -292,7 +292,9 @@ func (in *SubscribableStatus) DeepCopyInto(out *SubscribableStatus) { if in.Subscribers != nil { in, out := &in.Subscribers, &out.Subscribers *out = make([]SubscriberStatus, len(*in)) - copy(*out, *in) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } return } @@ -361,6 +363,11 @@ func (in *SubscriberSpec) DeepCopy() *SubscriberSpec { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SubscriberStatus) DeepCopyInto(out *SubscriberStatus) { *out = *in + if in.Auth != nil { + in, out := &in.Auth, &out.Auth + *out = new(duckv1.AuthStatus) + (*in).DeepCopyInto(*out) + } return } diff --git a/vendor/knative.dev/eventing/pkg/apis/eventing/v1/trigger_types.go b/vendor/knative.dev/eventing/pkg/apis/eventing/v1/trigger_types.go index 3b6637b58b..d5b6d566df 100644 --- a/vendor/knative.dev/eventing/pkg/apis/eventing/v1/trigger_types.go +++ b/vendor/knative.dev/eventing/pkg/apis/eventing/v1/trigger_types.go @@ -199,6 +199,10 @@ type TriggerStatus struct { // DeliveryStatus contains a resolved URL to the dead letter sink address, and any other // resolved delivery options. eventingduckv1.DeliveryStatus `json:",inline"` + + // Auth provides the relevant information for OIDC authentication. + // +optional + Auth *duckv1.AuthStatus `json:"auth,omitempty"` } // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object diff --git a/vendor/knative.dev/eventing/pkg/apis/eventing/v1/zz_generated.deepcopy.go b/vendor/knative.dev/eventing/pkg/apis/eventing/v1/zz_generated.deepcopy.go index 5fba5c6079..65dfc67c54 100644 --- a/vendor/knative.dev/eventing/pkg/apis/eventing/v1/zz_generated.deepcopy.go +++ b/vendor/knative.dev/eventing/pkg/apis/eventing/v1/zz_generated.deepcopy.go @@ -345,6 +345,11 @@ func (in *TriggerStatus) DeepCopyInto(out *TriggerStatus) { **out = **in } in.DeliveryStatus.DeepCopyInto(&out.DeliveryStatus) + if in.Auth != nil { + in, out := &in.Auth, &out.Auth + *out = new(duckv1.AuthStatus) + (*in).DeepCopyInto(*out) + } return } diff --git a/vendor/knative.dev/eventing/pkg/apis/flows/v1/parallel_types.go b/vendor/knative.dev/eventing/pkg/apis/flows/v1/parallel_types.go index 6485203d10..cf9d6d6eae 100644 --- a/vendor/knative.dev/eventing/pkg/apis/flows/v1/parallel_types.go +++ b/vendor/knative.dev/eventing/pkg/apis/flows/v1/parallel_types.go @@ -119,6 +119,10 @@ type ParallelStatus struct { // will target the first subscriber. // It generally has the form {channel}.{namespace}.svc.{cluster domain name} duckv1.AddressStatus `json:",inline"` + + // Auth provides the relevant information for OIDC authentication. + // +optional + Auth *duckv1.AuthStatus `json:"auth,omitempty"` } // ParallelBranchStatus represents the current state of a Parallel branch diff --git a/vendor/knative.dev/eventing/pkg/apis/flows/v1/sequence_types.go b/vendor/knative.dev/eventing/pkg/apis/flows/v1/sequence_types.go index 909c2651b0..e02af40b7e 100644 --- a/vendor/knative.dev/eventing/pkg/apis/flows/v1/sequence_types.go +++ b/vendor/knative.dev/eventing/pkg/apis/flows/v1/sequence_types.go @@ -131,6 +131,10 @@ type SequenceStatus struct { // It generally has the form {channel}.{namespace}.svc.{cluster domain name} // +optional Address duckv1.Addressable `json:"address,omitempty"` + + // Auth provides the relevant information for OIDC authentication. + // +optional + Auth *duckv1.AuthStatus `json:"auth,omitempty"` } // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object diff --git a/vendor/knative.dev/eventing/pkg/apis/flows/v1/zz_generated.deepcopy.go b/vendor/knative.dev/eventing/pkg/apis/flows/v1/zz_generated.deepcopy.go index 9120976742..64a7474117 100644 --- a/vendor/knative.dev/eventing/pkg/apis/flows/v1/zz_generated.deepcopy.go +++ b/vendor/knative.dev/eventing/pkg/apis/flows/v1/zz_generated.deepcopy.go @@ -204,6 +204,11 @@ func (in *ParallelStatus) DeepCopyInto(out *ParallelStatus) { } } in.AddressStatus.DeepCopyInto(&out.AddressStatus) + if in.Auth != nil { + in, out := &in.Auth, &out.Auth + *out = new(duckv1.AuthStatus) + (*in).DeepCopyInto(*out) + } return } @@ -366,6 +371,11 @@ func (in *SequenceStatus) DeepCopyInto(out *SequenceStatus) { } } in.Address.DeepCopyInto(&out.Address) + if in.Auth != nil { + in, out := &in.Auth, &out.Auth + *out = new(duckv1.AuthStatus) + (*in).DeepCopyInto(*out) + } return } diff --git a/vendor/knative.dev/eventing/pkg/apis/messaging/v1/subscription_types.go b/vendor/knative.dev/eventing/pkg/apis/messaging/v1/subscription_types.go index affea2b2dd..fe8ba6f861 100644 --- a/vendor/knative.dev/eventing/pkg/apis/messaging/v1/subscription_types.go +++ b/vendor/knative.dev/eventing/pkg/apis/messaging/v1/subscription_types.go @@ -114,6 +114,10 @@ type SubscriptionStatus struct { // PhysicalSubscription is the fully resolved values that this Subscription represents. PhysicalSubscription SubscriptionStatusPhysicalSubscription `json:"physicalSubscription,omitempty"` + + // Auth provides the relevant information for OIDC authentication. + // +optional + Auth *duckv1.AuthStatus `json:"auth,omitempty"` } // SubscriptionStatusPhysicalSubscription represents the fully resolved values for this diff --git a/vendor/knative.dev/eventing/pkg/apis/messaging/v1/zz_generated.deepcopy.go b/vendor/knative.dev/eventing/pkg/apis/messaging/v1/zz_generated.deepcopy.go index e3a52d1b8c..fff2d237b4 100644 --- a/vendor/knative.dev/eventing/pkg/apis/messaging/v1/zz_generated.deepcopy.go +++ b/vendor/knative.dev/eventing/pkg/apis/messaging/v1/zz_generated.deepcopy.go @@ -356,6 +356,11 @@ func (in *SubscriptionStatus) DeepCopyInto(out *SubscriptionStatus) { *out = *in in.Status.DeepCopyInto(&out.Status) in.PhysicalSubscription.DeepCopyInto(&out.PhysicalSubscription) + if in.Auth != nil { + in, out := &in.Auth, &out.Auth + *out = new(duckv1.AuthStatus) + (*in).DeepCopyInto(*out) + } return } diff --git a/vendor/modules.txt b/vendor/modules.txt index ceab40dce4..5a2b354117 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -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-20230926123808-2cb0056ecd97 +# knative.dev/caching v0.0.0-20230927121431-da42414936d9 ## explicit; go 1.18 knative.dev/caching/pkg/apis/caching knative.dev/caching/pkg/apis/caching/v1alpha1 -# knative.dev/eventing v0.38.1-0.20230926144029-f10a44d7475e +# knative.dev/eventing v0.38.1-0.20230927090829-44aa15e9584b ## explicit; go 1.19 knative.dev/eventing/pkg/apis/config knative.dev/eventing/pkg/apis/duck @@ -1350,7 +1350,7 @@ knative.dev/eventing/test/upgrade/prober/wathola/sender ## explicit; go 1.18 knative.dev/hack knative.dev/hack/shell -# knative.dev/networking v0.0.0-20230922144027-88e91e3034e9 +# knative.dev/networking v0.0.0-20230926123909-c382f81bd011 ## explicit; go 1.18 knative.dev/networking/pkg knative.dev/networking/pkg/apis/networking @@ -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-20230926133247-0f52db700d63 +# knative.dev/pkg v0.0.0-20230927121431-6cf4b051de4f ## explicit; go 1.18 knative.dev/pkg/apiextensions/storageversion knative.dev/pkg/apiextensions/storageversion/cmd/migrate @@ -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.20230926134156-d0eaee098ffe +# knative.dev/serving v0.38.1-0.20230927143833-9bf8d537f9f3 ## explicit; go 1.18 knative.dev/serving/pkg/apis/autoscaling knative.dev/serving/pkg/apis/autoscaling/v1alpha1