From 9b6f26ea847d5a774ab6e43ed1f48c225ed55ad4 Mon Sep 17 00:00:00 2001 From: Knative Automation Date: Tue, 8 Oct 2024 13:23:47 +0000 Subject: [PATCH] upgrade to latest dependencies bumping knative.dev/serving 1a1eb10...c8e131b: > c8e131b Fix GO-2024-2659 (# 15547) bumping knative.dev/eventing e6490c3...67af70b: > 67af70b workaround DeepDerivative CreationTimestamp comparison (# 8233) Signed-off-by: Knative Automation --- go.mod | 4 ++-- go.sum | 8 ++++---- vendor/knative.dev/eventing/pkg/auth/serviceaccount.go | 3 +++ vendor/modules.txt | 4 ++-- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/go.mod b/go.mod index 43b881311..8ae4abb2e 100644 --- a/go.mod +++ b/go.mod @@ -14,10 +14,10 @@ require ( k8s.io/api v0.30.3 k8s.io/apimachinery v0.30.3 k8s.io/client-go v0.30.3 - knative.dev/eventing v0.42.1-0.20241002131722-e6490c30395c + knative.dev/eventing v0.42.1-0.20241008061000-67af70be5209 knative.dev/hack v0.0.0-20240909014011-fc6a8452af6d knative.dev/pkg v0.0.0-20240930065954-503173341499 - knative.dev/serving v0.42.1-0.20241001235521-1a1eb106d25e + knative.dev/serving v0.42.1-0.20241003134023-c8e131b7d970 ) require ( diff --git a/go.sum b/go.sum index 075f53c4b..e24044a92 100644 --- a/go.sum +++ b/go.sum @@ -728,16 +728,16 @@ k8s.io/kube-openapi v0.0.0-20240808142205-8e686545bdb8 h1:1Wof1cGQgA5pqgo8MxKPtf k8s.io/kube-openapi v0.0.0-20240808142205-8e686545bdb8/go.mod h1:Os6V6dZwLNii3vxFpxcNaTmH8LJJBkOTg1N0tOA0fvA= k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 h1:pUdcCO1Lk/tbT5ztQWOBi5HBgbBP1J8+AsQnQCKsi8A= k8s.io/utils v0.0.0-20240711033017-18e509b52bc8/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -knative.dev/eventing v0.42.1-0.20241002131722-e6490c30395c h1:IzToEseUM/k72Gy/u31V+AVZgISXJ0KVeuXzgKbVTTg= -knative.dev/eventing v0.42.1-0.20241002131722-e6490c30395c/go.mod h1:YJ/D6wg7f6lv2t9u+/jE/7WjxWA4WVMjw7mfvPAdlmM= +knative.dev/eventing v0.42.1-0.20241008061000-67af70be5209 h1:qBTVNVuPzst+CQGr6tJNVguWyr+xpcPwvOQfwF/6tG0= +knative.dev/eventing v0.42.1-0.20241008061000-67af70be5209/go.mod h1:YJ/D6wg7f6lv2t9u+/jE/7WjxWA4WVMjw7mfvPAdlmM= knative.dev/hack v0.0.0-20240909014011-fc6a8452af6d h1:mgROhGJG3+g0SBkaG4Y2HxrIOLN3ZZcN4+IFZla+Zqs= knative.dev/hack v0.0.0-20240909014011-fc6a8452af6d/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY= knative.dev/networking v0.0.0-20240925061159-939600981bda h1:ImNzczDMEJmzJMWUu0XjoevdTmsl+crAdJVAD1RSPpM= knative.dev/networking v0.0.0-20240925061159-939600981bda/go.mod h1:8NkRp5YvKc1z3UO5sLG6nfRSzIXsDZ1R5oURqW8oP9w= knative.dev/pkg v0.0.0-20240930065954-503173341499 h1:5xOSRTSjmakkXWtFFWtNTlNcks0FTN7T7wHeFrWR0qg= knative.dev/pkg v0.0.0-20240930065954-503173341499/go.mod h1:Mh16+83vjH4yF2fTRQLiErZ1RTawIu5HMTKFVCnxx3U= -knative.dev/serving v0.42.1-0.20241001235521-1a1eb106d25e h1:dorDCOgLlZujh4+v6R5u+Vji+CgqY5VIducMhtPpiNo= -knative.dev/serving v0.42.1-0.20241001235521-1a1eb106d25e/go.mod h1:9D1zOR2Q7aNLHNmIf7djqH+xubHm7psba42vPvk1Yr4= +knative.dev/serving v0.42.1-0.20241003134023-c8e131b7d970 h1:+sk88CupsIWUyGx400HSl9RPtr/6M9oe1ElfGe1XX3k= +knative.dev/serving v0.42.1-0.20241003134023-c8e131b7d970/go.mod h1:3uCParrVXn1Lw0Sp/jKeaxaxoYXkACkLsw6SwbyYGA8= 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/auth/serviceaccount.go b/vendor/knative.dev/eventing/pkg/auth/serviceaccount.go index 5b98d61c7..12e0fe130 100644 --- a/vendor/knative.dev/eventing/pkg/auth/serviceaccount.go +++ b/vendor/knative.dev/eventing/pkg/auth/serviceaccount.go @@ -109,6 +109,9 @@ func EnsureOIDCServiceAccountExistsForResource(ctx context.Context, serviceAccou return fmt.Errorf("service account %s not owned by %s %s", sa.Name, gvk.Kind, objectMeta.Name) } + // DeepDerivative does not understand default metav1.Time{} as an empty value + expected.CreationTimestamp = sa.CreationTimestamp + if !equality.Semantic.DeepDerivative(expected, sa) { expected.ResourceVersion = sa.ResourceVersion diff --git a/vendor/modules.txt b/vendor/modules.txt index 51b5d75c8..13a1aa88a 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -990,7 +990,7 @@ k8s.io/utils/pointer k8s.io/utils/ptr k8s.io/utils/strings/slices k8s.io/utils/trace -# knative.dev/eventing v0.42.1-0.20241002131722-e6490c30395c +# knative.dev/eventing v0.42.1-0.20241008061000-67af70be5209 ## explicit; go 1.22.0 knative.dev/eventing/pkg/adapter/v2 knative.dev/eventing/pkg/adapter/v2/test @@ -1126,7 +1126,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.42.1-0.20241001235521-1a1eb106d25e +# knative.dev/serving v0.42.1-0.20241003134023-c8e131b7d970 ## explicit; go 1.22.0 knative.dev/serving/pkg/apis/autoscaling knative.dev/serving/pkg/apis/autoscaling/v1alpha1