From f12e5661416611a5f18ab8882f9eb4ab79cf6809 Mon Sep 17 00:00:00 2001 From: knative-automation Date: Mon, 7 Mar 2022 17:49:06 -0800 Subject: [PATCH] upgrade to latest dependencies (#247) bumping knative.dev/pkg fe26417...2fdd5f2: > 2fdd5f2 Update actions (# 2449) > 76a28b0 set git user name/email prior to merging upstream (# 2448) bumping knative.dev/eventing f2045b0...9590bc3: > 9590bc3 adding min and max nodes annotation to rekt tests entrypoint (# 6243) > 4252411 Increase rekt test timings and reduce concurrency (# 6221) > 6fabdd5 Remove a second trigger of the autoscaler (# 6203) > 28a968c upgrade to latest dependencies (# 6230) > b349443 fixed links to source.md (# 6223) > f40fc74 Zero placements for rebalancing (# 6204) > 78aae1e Update community files (# 6220) > fdaca85 Update actions (# 6218) > 7ab1b0e upgrade to latest dependencies (# 6216) bumping knative.dev/serving 7f681da...f428fa5: > f428fa5 upgrade to latest dependencies (# 12703) > d59e273 Update net-istio nightly (# 12696) > 964234a Update net-certmanager nightly (# 12695) > ec22471 remove podspeed data collection from ci (# 12700) > 15b9e1b fix validation bug for autoscaling/target (# 12698) > 1213bc7 Update net-contour nightly (# 12694) > 3e63ea9 Update net-kourier nightly (# 12683) > 98cbb49 Update actions (# 12687) > b70e897 Update net-gateway-api nightly (# 12682) > 80caa6e Update net-contour nightly (# 12689) > 323f632 Update community files (# 12690) > 43f84e8 Update net-certmanager nightly (# 12685) > 0de3753 upgrade to latest dependencies (# 12684) Signed-off-by: Knative Automation --- go.mod | 6 ++-- go.sum | 29 +++++++------------ .../apis/autoscaling/annotation_validation.go | 4 ++- vendor/modules.txt | 8 ++--- 4 files changed, 20 insertions(+), 27 deletions(-) diff --git a/go.mod b/go.mod index 8bd5930fe..6cf292251 100644 --- a/go.mod +++ b/go.mod @@ -17,10 +17,10 @@ require ( k8s.io/api v0.22.5 k8s.io/apimachinery v0.22.5 k8s.io/client-go v0.22.5 - knative.dev/eventing v0.29.1-0.20220228193110-f2045b0d65b7 + knative.dev/eventing v0.29.1-0.20220307200636-9590bc3a96a3 knative.dev/hack v0.0.0-20220224013837-e1785985d364 - knative.dev/pkg v0.0.0-20220228195509-fe264173447b - knative.dev/serving v0.29.1-0.20220227211007-7f681da66b28 + knative.dev/pkg v0.0.0-20220301181942-2fdd5f232e77 + knative.dev/serving v0.29.1-0.20220307224905-f428fa524adc ) replace github.com/prometheus/client_golang => github.com/prometheus/client_golang v0.9.2 diff --git a/go.sum b/go.sum index 057027340..3a3cf1fba 100644 --- a/go.sum +++ b/go.sum @@ -2117,29 +2117,20 @@ 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-20211208161948-7d6a63dca704 h1:ZKMMxTvduyf5WUtREOqg5LiXaN1KO/+0oOQPRFrClpo= k8s.io/utils v0.0.0-20211208161948-7d6a63dca704/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -knative.dev/caching v0.0.0-20220217152914-057ba67508ef/go.mod h1:yA5f2tPxj4IStey7V2k87hvQ+a64iRYb4V5/BzDCm3s= -knative.dev/eventing v0.29.1-0.20220228193110-f2045b0d65b7 h1:sUPfasn5sd9H1bgfNMe4JrhbnWD0oFHu48Uz7R0zpoE= -knative.dev/eventing v0.29.1-0.20220228193110-f2045b0d65b7/go.mod h1:1PF6Gr2r+y0PrJ/sgoN8jcAi599SLbKDuGulAsdGX/w= -knative.dev/hack v0.0.0-20220118141833-9b2ed8471e30/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI= -knative.dev/hack v0.0.0-20220209225905-7331bb16ba00/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI= -knative.dev/hack v0.0.0-20220216040439-0456e8bf6547/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI= -knative.dev/hack v0.0.0-20220218190734-a8ef7b67feec/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI= -knative.dev/hack v0.0.0-20220222192704-cf8cbc0e9165/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI= +knative.dev/caching v0.0.0-20220302153644-5a6403ef2de5/go.mod h1:52//2yvw0iO3Nu2duAMI5BzfQKHWiXZuvRvzaypoGkU= +knative.dev/eventing v0.29.1-0.20220307200636-9590bc3a96a3 h1:RWDEEbt3LdhbFYOFPs2udE8X9TtrgZkcbAKaRH8Cv3k= +knative.dev/eventing v0.29.1-0.20220307200636-9590bc3a96a3/go.mod h1:JCqC8evTls1WiBTmYhPEGME6OQD8HFnLQjFPImwOEOg= knative.dev/hack v0.0.0-20220224013837-e1785985d364 h1:wOysRDkzacHlM2OEQoM5ayNT+s/Zymzk5Tv17RL++3g= knative.dev/hack v0.0.0-20220224013837-e1785985d364/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI= knative.dev/hack/schema v0.0.0-20220224013837-e1785985d364/go.mod h1:ffjwmdcrH5vN3mPhO8RrF2KfNnbHeCE2C60A+2cv3U0= -knative.dev/networking v0.0.0-20220221080803-193442233437 h1:ca8JIflRBMJoiXY/LKbp8SoxoU1BBems+4nyqSfF5hU= -knative.dev/networking v0.0.0-20220221080803-193442233437/go.mod h1:DlTbFi93lgt10aqbfERO9auyCgP8cm42kXsHDPRGTrs= -knative.dev/pkg v0.0.0-20220118160532-77555ea48cd4/go.mod h1:etVT7Tm8pSDf4RKhGk4r7j/hj3dNBpvT7bO6a6wpahs= -knative.dev/pkg v0.0.0-20220215153400-3c00bb0157b9/go.mod h1:6ZoCgi60jSUn/WrwTGNAZbsz5/kmwiZZD8EovSLzYZ4= -knative.dev/pkg v0.0.0-20220217155112-d48172451966/go.mod h1:qymIihGpeunap7KEUhrKRcm0LjhkCjL+n7ryIx2kLH0= -knative.dev/pkg v0.0.0-20220222211204-80c511aa340f/go.mod h1:qymIihGpeunap7KEUhrKRcm0LjhkCjL+n7ryIx2kLH0= -knative.dev/pkg v0.0.0-20220225161142-708dc1cc48e9/go.mod h1:R3Nha5VzzyB3dwg1toxdUjCf0tH9FfMDcI6miLw5v4E= -knative.dev/pkg v0.0.0-20220228195509-fe264173447b h1:93HDyR8WPjByf+JHZiQkBMW4IqrkOxXbDaXcLQhh4qU= +knative.dev/networking v0.0.0-20220302134042-e8b2eb995165 h1:mkUDPTqfRPNhsUTVOH53IOx0Utzlfwl48t8lLc1bfL4= +knative.dev/networking v0.0.0-20220302134042-e8b2eb995165/go.mod h1:EdQTSLl8BDeLLrC8pymGOiPMRAknFg+7oRO6MMUts94= knative.dev/pkg v0.0.0-20220228195509-fe264173447b/go.mod h1:SsH9J6Gz+CvrHmoL0TELJXmMmohqKSQ5bpJvCv+1+ZI= -knative.dev/reconciler-test v0.0.0-20220216192840-2c3291f210ce/go.mod h1:m2q6+mGqlPsJ6qP0ssMv3x2UBwIgTdTxgxJ6GK5kgu4= -knative.dev/serving v0.29.1-0.20220227211007-7f681da66b28 h1:rxppAkm9BaoHUyqwSTJlCQo/UUvKzS3Hb5siTGLf+Gg= -knative.dev/serving v0.29.1-0.20220227211007-7f681da66b28/go.mod h1:R7+42YVnhF9Wn/D7JCX5hZ9CnLjHKtvlUJuapKFZYDU= +knative.dev/pkg v0.0.0-20220301181942-2fdd5f232e77 h1:eIH936a0/1X/XQOMN9+O3fw9spGvOJiMVKsBuu8J47U= +knative.dev/pkg v0.0.0-20220301181942-2fdd5f232e77/go.mod h1:SsH9J6Gz+CvrHmoL0TELJXmMmohqKSQ5bpJvCv+1+ZI= +knative.dev/reconciler-test v0.0.0-20220303141206-84821d26ed1f/go.mod h1:K5pZJkenonlT9o+MtRaNsBP7BazGwjhqYPepuV1zdnU= +knative.dev/serving v0.29.1-0.20220307224905-f428fa524adc h1:iJQasysRfGLCMiIcCkXjAr/eunI9iq2BKf6ysMysE9k= +knative.dev/serving v0.29.1-0.20220307224905-f428fa524adc/go.mod h1:UwsKXK4LnkM+e8/hhgJq2LtyzmzHD6UsrGPFe5JOBS8= mvdan.cc/gofumpt v0.1.1/go.mod h1:yXG1r1WqZVKWbVRtBWKWX9+CxGYfA51nSomhM0woR48= mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed/go.mod h1:Xkxe497xwlCKkIaQYRfC7CSLworTXY9RMqwhhCm+8Nc= mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b/go.mod h1:2odslEg/xrtNQqCYg2/jCoyKnw3vv5biOc3JnIcYfL4= diff --git a/vendor/knative.dev/serving/pkg/apis/autoscaling/annotation_validation.go b/vendor/knative.dev/serving/pkg/apis/autoscaling/annotation_validation.go index 307767a13..ba7b7537c 100644 --- a/vendor/knative.dev/serving/pkg/apis/autoscaling/annotation_validation.go +++ b/vendor/knative.dev/serving/pkg/apis/autoscaling/annotation_validation.go @@ -109,7 +109,9 @@ func validateFloats(m map[string]string) (errs *apis.FieldError) { } if k, v, ok := TargetAnnotation.Get(m); ok { - if fv, err := strconv.ParseFloat(v, 64); err != nil || fv < TargetMin { + if fv, err := strconv.ParseFloat(v, 64); err != nil { + errs = errs.Also(apis.ErrInvalidValue(v, k)) + } else if fv < TargetMin { errs = errs.Also(apis.ErrGeneric(fmt.Sprintf("target %s should be at least %g", v, TargetMin), k)) } } diff --git a/vendor/modules.txt b/vendor/modules.txt index 5082687be..315085656 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -908,7 +908,7 @@ k8s.io/utils/buffer k8s.io/utils/integer k8s.io/utils/pointer k8s.io/utils/trace -# knative.dev/eventing v0.29.1-0.20220228193110-f2045b0d65b7 +# knative.dev/eventing v0.29.1-0.20220307200636-9590bc3a96a3 ## explicit knative.dev/eventing/pkg/adapter/v2 knative.dev/eventing/pkg/adapter/v2/test @@ -981,10 +981,10 @@ knative.dev/eventing/test/test_images/recordevents # knative.dev/hack v0.0.0-20220224013837-e1785985d364 ## explicit knative.dev/hack -# knative.dev/networking v0.0.0-20220221080803-193442233437 +# knative.dev/networking v0.0.0-20220302134042-e8b2eb995165 knative.dev/networking/pkg/apis/networking knative.dev/networking/pkg/apis/networking/v1alpha1 -# knative.dev/pkg v0.0.0-20220228195509-fe264173447b +# knative.dev/pkg v0.0.0-20220301181942-2fdd5f232e77 ## explicit knative.dev/pkg/apis knative.dev/pkg/apis/duck @@ -1065,7 +1065,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.29.1-0.20220227211007-7f681da66b28 +# knative.dev/serving v0.29.1-0.20220307224905-f428fa524adc ## explicit knative.dev/serving/pkg/apis/autoscaling knative.dev/serving/pkg/apis/autoscaling/v1alpha1