diff --git a/go.mod b/go.mod index 411e77eec..7b53aadff 100644 --- a/go.mod +++ b/go.mod @@ -21,12 +21,12 @@ require ( k8s.io/apimachinery v0.35.3 k8s.io/client-go v0.35.3 k8s.io/code-generator v0.35.3 - knative.dev/caching v0.0.0-20260414015133-3b3e0f9bf7df - knative.dev/eventing v0.48.1-0.20260414032532-6df7e4901d09 - knative.dev/hack v0.0.0-20260318014029-7eede7fdcbad - knative.dev/pkg v0.0.0-20260414003832-e65cbe95a718 - knative.dev/reconciler-test v0.0.0-20260414022037-297d1bb61e06 - knative.dev/serving v0.48.1-0.20260414124237-1a646c3ff89b + knative.dev/caching v0.0.0-20260415135440-a753404a9071 + knative.dev/eventing v0.48.1-0.20260415165636-0a7b2da46145 + knative.dev/hack v0.0.0-20260415233235-54d1312ccc91 + knative.dev/pkg v0.0.0-20260415140041-388556d5c488 + knative.dev/reconciler-test v0.0.0-20260415143040-51affdaaa44f + knative.dev/serving v0.48.1-0.20260415213836-1017c2be6232 sigs.k8s.io/controller-tools v0.20.1 sigs.k8s.io/yaml v1.6.0 ) @@ -187,7 +187,7 @@ require ( k8s.io/klog/v2 v2.130.1 // indirect k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912 // indirect k8s.io/utils v0.0.0-20251002143259-bc988d571ff4 // indirect - knative.dev/networking v0.0.0-20260407015926-cc2f0572b3c2 // indirect + knative.dev/networking v0.0.0-20260414015937-f29b24983488 // indirect sigs.k8s.io/controller-runtime v0.19.0 // indirect sigs.k8s.io/gateway-api v1.1.0 // indirect sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect diff --git a/go.sum b/go.sum index feeb881de..842d09837 100644 --- a/go.sum +++ b/go.sum @@ -1782,20 +1782,20 @@ k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a/go.mod h1:jPW/WVKK9YHAvNhRxK0md/ k8s.io/utils v0.0.0-20230209194617-a36077c30491/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= k8s.io/utils v0.0.0-20251002143259-bc988d571ff4 h1:SjGebBtkBqHFOli+05xYbK8YF1Dzkbzn+gDM4X9T4Ck= k8s.io/utils v0.0.0-20251002143259-bc988d571ff4/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -knative.dev/caching v0.0.0-20260414015133-3b3e0f9bf7df h1:tplvZMWlb7kaOAOIkrtsi5VrVF3D3vt56o4UXpMUwXY= -knative.dev/caching v0.0.0-20260414015133-3b3e0f9bf7df/go.mod h1:nKU1T8kNtzHdkY1jIML86a5DfePto/m5XnyELYG9pp0= -knative.dev/eventing v0.48.1-0.20260414032532-6df7e4901d09 h1:zneqwFZ/yyH4oj6ylUSyTsHY8ivHdlUdM1mWrSP19Ms= -knative.dev/eventing v0.48.1-0.20260414032532-6df7e4901d09/go.mod h1:Y3FYNf5gNCIuqv+NzUAmqfbHJ8n+TxXSsZoV/20jfV0= -knative.dev/hack v0.0.0-20260318014029-7eede7fdcbad h1:yH957Dv5HrPgllwTs7e1wvCKcjg/PC0QPQGEWkK7QFw= -knative.dev/hack v0.0.0-20260318014029-7eede7fdcbad/go.mod h1:L5RzHgbvam0u8QFHfzCX6MKxu/a/gIGEdaRBqNiVbl0= -knative.dev/networking v0.0.0-20260407015926-cc2f0572b3c2 h1:8QlbccV/8/YO2zIoCAOvjU/0t5HxMiWyo480cwohrlQ= -knative.dev/networking v0.0.0-20260407015926-cc2f0572b3c2/go.mod h1:a3XBEpYEpWTSz6DdKNXA6+hcny6SSs5J9FChfPxUJMM= -knative.dev/pkg v0.0.0-20260414003832-e65cbe95a718 h1:/8xILwHO82gYQXgqQgP9jbSpxg8rmsl/mk1YrYtY/hs= -knative.dev/pkg v0.0.0-20260414003832-e65cbe95a718/go.mod h1:m+Jaj5UyK7VkrEx6rt4buVX3a5eaB+vtJqEfQVGnAGQ= -knative.dev/reconciler-test v0.0.0-20260414022037-297d1bb61e06 h1:XPyjOrS3a6olbUeR7zuAOfTNITwl1a4m08zqrGgovo4= -knative.dev/reconciler-test v0.0.0-20260414022037-297d1bb61e06/go.mod h1:SE/0eKYf5MgUbMnclCY5vcL87l4cP0RSzHjXGV2nGn0= -knative.dev/serving v0.48.1-0.20260414124237-1a646c3ff89b h1:AvWYbNUISFT5SPnlR27n7MrUl3lCRgZD+kGxLoPO5ZE= -knative.dev/serving v0.48.1-0.20260414124237-1a646c3ff89b/go.mod h1:P60pzf3AwCuySGeD/rviwvWixfZBgyTeQJJkZRycRkw= +knative.dev/caching v0.0.0-20260415135440-a753404a9071 h1:LXx4mzoHXGQNEOpnvQeNTj1ovlxH52h0bO+yyYZDfs8= +knative.dev/caching v0.0.0-20260415135440-a753404a9071/go.mod h1:u09EJpGBc+QnYReyYZjolBqz09LvGmx0tx34zc+J2Hk= +knative.dev/eventing v0.48.1-0.20260415165636-0a7b2da46145 h1:p6CRV2KuYXk1dW2AWSJ11N4gYJy82Trtpciwj7BZTNg= +knative.dev/eventing v0.48.1-0.20260415165636-0a7b2da46145/go.mod h1:ykUKyweljeKMmkxcrkMEgl3S6tubLzeF/bPAqeddvl0= +knative.dev/hack v0.0.0-20260415233235-54d1312ccc91 h1:YkboMEJ48h7DxRQSPe2SePm1yKK0YYgrsQW5Mmc0SEk= +knative.dev/hack v0.0.0-20260415233235-54d1312ccc91/go.mod h1:L5RzHgbvam0u8QFHfzCX6MKxu/a/gIGEdaRBqNiVbl0= +knative.dev/networking v0.0.0-20260414015937-f29b24983488 h1:OZfg130Kbf1bibhmLITAVdu2S0P2y0utBc74SgakzcQ= +knative.dev/networking v0.0.0-20260414015937-f29b24983488/go.mod h1:hEhUDqidhueU6J/OXW0K9peQh8wIvFvIWTSHL/611og= +knative.dev/pkg v0.0.0-20260415140041-388556d5c488 h1:7rmo6AW+6NLaWI+qTWv0ABlXz1bpdpaNnnpSBiuQ3vs= +knative.dev/pkg v0.0.0-20260415140041-388556d5c488/go.mod h1:LaL/m4gFNTSUOP0DvHNCVcruVTi5Dyzts5/6UlPuTEQ= +knative.dev/reconciler-test v0.0.0-20260415143040-51affdaaa44f h1:MJOPG/WEhpXks2NHoo+T3a2VkUbXomPv0SxoYvJbJto= +knative.dev/reconciler-test v0.0.0-20260415143040-51affdaaa44f/go.mod h1:nIg1R8Knqn1ieSCi2h5oye62ZM18vgSEyzca0VMXFFU= +knative.dev/serving v0.48.1-0.20260415213836-1017c2be6232 h1:X40FtJL9UgCu2olo1Ua35m/STmrWSuaqCgDZH4fNT48= +knative.dev/serving v0.48.1-0.20260415213836-1017c2be6232/go.mod h1:JAdfGImM+Dv8I9SHjnCH861S9B2l/mxy5wQcduQ90Qo= nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= pgregory.net/rapid v1.1.0 h1:CMa0sjHSru3puNx+J0MIAuiiEV4N0qj8/cMWGBBCsjw= pgregory.net/rapid v1.1.0/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= diff --git a/vendor/knative.dev/hack/e2e-tests.sh b/vendor/knative.dev/hack/e2e-tests.sh index 331511cc4..426c1cd93 100644 --- a/vendor/knative.dev/hack/e2e-tests.sh +++ b/vendor/knative.dev/hack/e2e-tests.sh @@ -54,10 +54,14 @@ function setup_test_cluster() { header "Setting up test cluster" kubectl get nodes - # Set the actual project the test cluster resides in - # It will be a project assigned by Boskos if test is running on Prow, - # otherwise will be ${E2E_GCP_PROJECT_ID} set up by user. - E2E_PROJECT_ID="$(gcloud config get-value project)" + # Set the actual project the test cluster resides in. For GKE this + # comes from the Boskos-configured gcloud context; for other + # providers (e.g. kind) it is not meaningful and is left empty. + if [[ "${CLOUD_PROVIDER}" == "gke" ]]; then + E2E_PROJECT_ID="$(gcloud config get-value project)" + else + E2E_PROJECT_ID="" + fi export E2E_PROJECT_ID readonly E2E_PROJECT_ID diff --git a/vendor/knative.dev/hack/infra-library.sh b/vendor/knative.dev/hack/infra-library.sh index e74b839e9..db364ed89 100644 --- a/vendor/knative.dev/hack/infra-library.sh +++ b/vendor/knative.dev/hack/infra-library.sh @@ -84,7 +84,8 @@ function dump_cluster_state() { # Create a test cluster and run the tests if provided. # Parameters: $1 - cluster provider name, e.g. gke # $2 - custom flags supported by kntest -# $3 - test command to run after cluster is created +# $3 - extra gcloud flags (gke only) +# $4 - test command to run after cluster is created function create_test_cluster() { # Fail fast during setup. set -o errexit @@ -96,7 +97,7 @@ function create_test_cluster() { case "$1" in gke) create_gke_test_cluster "$2" "$3" "$4" "${5:-}" ;; - kind) create_kind_test_cluster "$2" "$3" "${4:-}" ;; + kind) create_kind_test_cluster "$2" "${4:-}" ;; *) echo "unsupported provider: $1"; exit 1 ;; esac diff --git a/vendor/knative.dev/hack/library.sh b/vendor/knative.dev/hack/library.sh index 447484b6d..6eb566795 100644 --- a/vendor/knative.dev/hack/library.sh +++ b/vendor/knative.dev/hack/library.sh @@ -922,8 +922,11 @@ function run_kntest() { # Run go-licenses to check for forbidden licenses. function check_licenses() { - # Check that we don't have any forbidden licenses. - go_run github.com/google/go-licenses@v1.6.0 \ + # Pin GOTOOLCHAIN to the project's Go version so that go-licenses is + # compiled with the same toolchain. GOTOOLCHAIN=auto (the go_run default) + # may select a different Go, causing isStdLib() path mismatches. + GOTOOLCHAIN="$(go env GOVERSION)" \ + go_run github.com/google/go-licenses/v2@v2.0.1 \ check "${REPO_ROOT_DIR}/..." || \ { echo "--- FAIL: go-licenses failed the license check"; return 1; } } diff --git a/vendor/modules.txt b/vendor/modules.txt index 075623781..9ba166fd5 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1628,11 +1628,11 @@ k8s.io/utils/net k8s.io/utils/pointer k8s.io/utils/ptr k8s.io/utils/trace -# knative.dev/caching v0.0.0-20260414015133-3b3e0f9bf7df +# knative.dev/caching v0.0.0-20260415135440-a753404a9071 ## explicit; go 1.25.0 knative.dev/caching/pkg/apis/caching knative.dev/caching/pkg/apis/caching/v1alpha1 -# knative.dev/eventing v0.48.1-0.20260414032532-6df7e4901d09 +# knative.dev/eventing v0.48.1-0.20260415165636-0a7b2da46145 ## explicit; go 1.25.0 knative.dev/eventing/cmd/heartbeats knative.dev/eventing/pkg/apis @@ -1725,10 +1725,10 @@ knative.dev/eventing/test/upgrade/prober/wathola/fetcher knative.dev/eventing/test/upgrade/prober/wathola/forwarder knative.dev/eventing/test/upgrade/prober/wathola/receiver knative.dev/eventing/test/upgrade/prober/wathola/sender -# knative.dev/hack v0.0.0-20260318014029-7eede7fdcbad +# knative.dev/hack v0.0.0-20260415233235-54d1312ccc91 ## explicit; go 1.24 knative.dev/hack -# knative.dev/networking v0.0.0-20260407015926-cc2f0572b3c2 +# knative.dev/networking v0.0.0-20260414015937-f29b24983488 ## explicit; go 1.25.0 knative.dev/networking/pkg/apis/networking knative.dev/networking/pkg/apis/networking/v1alpha1 @@ -1739,7 +1739,7 @@ knative.dev/networking/pkg/client/clientset/versioned/typed/networking/v1alpha1 knative.dev/networking/pkg/config knative.dev/networking/pkg/http/header knative.dev/networking/pkg/ingress -# knative.dev/pkg v0.0.0-20260414003832-e65cbe95a718 +# knative.dev/pkg v0.0.0-20260415140041-388556d5c488 ## explicit; go 1.25.0 knative.dev/pkg/apiextensions/storageversion knative.dev/pkg/apiextensions/storageversion/cmd/migrate @@ -1831,7 +1831,7 @@ knative.dev/pkg/webhook knative.dev/pkg/webhook/certificates knative.dev/pkg/webhook/certificates/resources knative.dev/pkg/webhook/resourcesemantics/conversion -# knative.dev/reconciler-test v0.0.0-20260414022037-297d1bb61e06 +# knative.dev/reconciler-test v0.0.0-20260415143040-51affdaaa44f ## explicit; go 1.25.0 knative.dev/reconciler-test/cmd/eventshub knative.dev/reconciler-test/pkg/environment @@ -1860,7 +1860,7 @@ knative.dev/reconciler-test/pkg/resources/service knative.dev/reconciler-test/pkg/resources/serviceaccount knative.dev/reconciler-test/pkg/state knative.dev/reconciler-test/resources/certificate -# knative.dev/serving v0.48.1-0.20260414124237-1a646c3ff89b +# knative.dev/serving v0.48.1-0.20260415213836-1017c2be6232 ## explicit; go 1.25.0 knative.dev/serving/pkg/apis/autoscaling knative.dev/serving/pkg/apis/autoscaling/v1alpha1