diff --git a/go.mod b/go.mod index 4c05651ae..e7603f260 100644 --- a/go.mod +++ b/go.mod @@ -14,10 +14,10 @@ require ( k8s.io/api v0.29.2 k8s.io/apimachinery v0.29.2 k8s.io/client-go v0.29.2 - knative.dev/eventing v0.40.1-0.20240402102742-4cec55450957 - knative.dev/hack v0.0.0-20240327150553-47368d631660 - knative.dev/pkg v0.0.0-20240402144403-fef5da99bd14 - knative.dev/serving v0.40.1-0.20240402145124-91ebbbc3dd69 + knative.dev/eventing v0.40.1-0.20240404013432-ce5b77fc2d0c + knative.dev/hack v0.0.0-20240404013450-1133b37da8d7 + knative.dev/pkg v0.0.0-20240404013351-5d4af76051e4 + knative.dev/serving v0.40.1-0.20240403153127-d96d39fefa6b ) require ( diff --git a/go.sum b/go.sum index 7f5568f8b..f0f154da9 100644 --- a/go.sum +++ b/go.sum @@ -724,16 +724,16 @@ k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 h1:aVUu9fTY98ivBPKR9Y5w/A k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00/go.mod h1:AsvuZPBlUDVuCdzJ87iajxtXuR9oktsTctW/R9wwouA= k8s.io/utils v0.0.0-20240102154912-e7106e64919e h1:eQ/4ljkx21sObifjzXwlPKpdGLrCfRziVtos3ofG/sQ= k8s.io/utils v0.0.0-20240102154912-e7106e64919e/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -knative.dev/eventing v0.40.1-0.20240402102742-4cec55450957 h1:emsn7mCg3YiSiYWWGG96QBU3UxLYDsHFE/O0QpT3TjM= -knative.dev/eventing v0.40.1-0.20240402102742-4cec55450957/go.mod h1:uI9NfjmGJUXITlhdMus7K+LYZYxH85pf67HfJjyCMfs= -knative.dev/hack v0.0.0-20240327150553-47368d631660 h1:tW6NgyjMnSXBS75+k+Xh5uNiLhJ9TFswS9hrkC3OQOc= -knative.dev/hack v0.0.0-20240327150553-47368d631660/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q= +knative.dev/eventing v0.40.1-0.20240404013432-ce5b77fc2d0c h1:qiozZFJJIXyueLQBMzHsh6YTX35jtSaTnE2UvU/xs6A= +knative.dev/eventing v0.40.1-0.20240404013432-ce5b77fc2d0c/go.mod h1:Umttu3AD7G9KeycYRmdvk/SOIiHEuuyyQUSwFDiZd9Q= +knative.dev/hack v0.0.0-20240404013450-1133b37da8d7 h1:fkWYWvdHm1mVHevKW2vVJnZtxH0NzOlux8imesweKwE= +knative.dev/hack v0.0.0-20240404013450-1133b37da8d7/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q= knative.dev/networking v0.0.0-20240329112016-75762caf9e15 h1:AXfadR7ULrSY10o8oaz2bEevGCg034rMb8c7Zdwc9Ac= knative.dev/networking v0.0.0-20240329112016-75762caf9e15/go.mod h1:g/w0osd9bivSJjKwB0aL6KsjRBTQjk+bDFc9/qYUIQY= -knative.dev/pkg v0.0.0-20240402144403-fef5da99bd14 h1:WQEFu4M1CGsz1TQNHO6N34asNTInsEw26nqw5p1lxhE= -knative.dev/pkg v0.0.0-20240402144403-fef5da99bd14/go.mod h1:086p4jjTy1KCaL2uoznjgh+kKVp0Vk2hh4yagpbUhOA= -knative.dev/serving v0.40.1-0.20240402145124-91ebbbc3dd69 h1:Ssgl7hLHil9KSICbMM0y/CVSlU59O7CnLJJKdkezEvY= -knative.dev/serving v0.40.1-0.20240402145124-91ebbbc3dd69/go.mod h1:Nr+ffiiV3xQHlRUvqhmTv5Q9fQBTdTTVuBbludGjRo8= +knative.dev/pkg v0.0.0-20240404013351-5d4af76051e4 h1:o/LIW1Ph+e5ik9TMu2GsHxSouUkc4vMCdPcv2izsqKs= +knative.dev/pkg v0.0.0-20240404013351-5d4af76051e4/go.mod h1:086p4jjTy1KCaL2uoznjgh+kKVp0Vk2hh4yagpbUhOA= +knative.dev/serving v0.40.1-0.20240403153127-d96d39fefa6b h1:j/8Cvr4+1r6qOOh45U5S/64ZUuxEaos2eH8iuPx54CE= +knative.dev/serving v0.40.1-0.20240403153127-d96d39fefa6b/go.mod h1:ofeMebvmncSIYjVetdsjcGp+EisLFVVnWM7m7nI9EjY= 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= 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 a29aaaf8c..b7f719b9f 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 @@ -35,6 +35,9 @@ var _ duck.Implementable = (*Subscribable)(nil) // // At least one of SubscriberURI and ReplyURI must be present type SubscriberSpec struct { + // Name is used to identify the original subscription object. + // +optional + Name *string `json:"name,omitempty"` // UID is used to understand the origin of the subscriber. // +optional UID types.UID `json:"uid,omitempty"` 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 eccdb7859..0dcd45cf7 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 @@ -317,6 +317,11 @@ func (in *SubscribableStatus) DeepCopy() *SubscribableStatus { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SubscriberSpec) DeepCopyInto(out *SubscriberSpec) { *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } if in.SubscriberURI != nil { in, out := &in.SubscriberURI, &out.SubscriberURI *out = new(apis.URL) 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 fe8ba6f86..7f683d6be 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 @@ -77,6 +77,7 @@ type SubscriptionSpec struct { // - Kind // - APIVersion // - Name + // - Namespace // The resource pointed by this KReference must meet the // contract to the ChannelableSpec duck type. If the resource does not // meet this contract it will be reflected in the Subscription's status. diff --git a/vendor/modules.txt b/vendor/modules.txt index 9cc59e1b5..9033a502e 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -974,7 +974,7 @@ k8s.io/utils/pointer k8s.io/utils/ptr k8s.io/utils/strings/slices k8s.io/utils/trace -# knative.dev/eventing v0.40.1-0.20240402102742-4cec55450957 +# knative.dev/eventing v0.40.1-0.20240404013432-ce5b77fc2d0c ## explicit; go 1.21 knative.dev/eventing/pkg/adapter/v2 knative.dev/eventing/pkg/adapter/v2/test @@ -1025,7 +1025,7 @@ knative.dev/eventing/pkg/metrics knative.dev/eventing/pkg/metrics/source knative.dev/eventing/pkg/observability knative.dev/eventing/pkg/observability/client -# knative.dev/hack v0.0.0-20240327150553-47368d631660 +# knative.dev/hack v0.0.0-20240404013450-1133b37da8d7 ## explicit; go 1.18 knative.dev/hack # knative.dev/networking v0.0.0-20240329112016-75762caf9e15 @@ -1033,7 +1033,7 @@ knative.dev/hack knative.dev/networking/pkg/apis/networking knative.dev/networking/pkg/apis/networking/v1alpha1 knative.dev/networking/pkg/config -# knative.dev/pkg v0.0.0-20240402144403-fef5da99bd14 +# knative.dev/pkg v0.0.0-20240404013351-5d4af76051e4 ## explicit; go 1.21 knative.dev/pkg/apis knative.dev/pkg/apis/duck @@ -1097,7 +1097,7 @@ knative.dev/pkg/webhook/psbinding knative.dev/pkg/webhook/resourcesemantics knative.dev/pkg/webhook/resourcesemantics/defaulting knative.dev/pkg/webhook/resourcesemantics/validation -# knative.dev/serving v0.40.1-0.20240402145124-91ebbbc3dd69 +# knative.dev/serving v0.40.1-0.20240403153127-d96d39fefa6b ## explicit; go 1.21 knative.dev/serving/pkg/apis/autoscaling knative.dev/serving/pkg/apis/autoscaling/v1alpha1