From 22ed03b7f7880655403160d1dc4bfd57590cb130 Mon Sep 17 00:00:00 2001 From: Knative Automation Date: Fri, 15 Sep 2023 02:31:25 +0000 Subject: [PATCH] upgrade to latest dependencies bumping knative.dev/hack 3af329f...0bb79ff: > 0bb79ff Update community files (# 314) bumping knative.dev/networking 8ebb407...e3c3201: > e3c3201 Update community files (# 856) bumping knative.dev/serving 32c2732...55bec5f: > 55bec5f Update net-kourier nightly (# 14373) > 35c3040 Update net-contour nightly (# 14372) > 05abbeb Update net-gateway-api nightly (# 14360) > 2a732e5 fix securityContext for Knative Service Pod (user-container and queue-proxy) (# 14363) > 4cb442c Update community files (# 14366) > 4dddf9f Update net-kourier nightly (# 14359) > 4d1b8cd Update net-istio nightly (# 14361) > 7e4230a Update net-contour nightly (# 14358) bumping knative.dev/pkg 8d736b6...9780686: > 9780686 Update community files (# 2819) Signed-off-by: Knative Automation --- go.mod | 8 ++++---- go.sum | 16 ++++++++-------- .../pkg/apis/serving/v1/revision_defaults.go | 4 ++++ vendor/modules.txt | 8 ++++---- 4 files changed, 20 insertions(+), 16 deletions(-) diff --git a/go.mod b/go.mod index f56240401..b9c4c7258 100644 --- a/go.mod +++ b/go.mod @@ -16,10 +16,10 @@ require ( k8s.io/api v0.26.5 k8s.io/apimachinery v0.26.5 k8s.io/client-go v0.26.5 - knative.dev/hack v0.0.0-20230911131120-3af329f73ff3 - knative.dev/networking v0.0.0-20230912162648-8ebb407b8ac4 - knative.dev/pkg v0.0.0-20230912052245-8d736b687bf4 - knative.dev/serving v0.38.1-0.20230913063834-32c2732efcf1 + knative.dev/hack v0.0.0-20230914013105-0bb79ff2d162 + knative.dev/networking v0.0.0-20230914014443-e3c3201da0e3 + knative.dev/pkg v0.0.0-20230914012755-978068686674 + knative.dev/serving v0.38.1-0.20230914175124-55bec5f5f8ca ) require ( diff --git a/go.sum b/go.sum index b37014c3b..dfe92ef87 100644 --- a/go.sum +++ b/go.sum @@ -663,14 +663,14 @@ k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 h1:+70TFaan3hfJzs+7VK2o+O k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280/go.mod h1:+Axhij7bCpeqhklhUTe3xmOn6bWxolyZEeyaFpjGtl4= k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2 h1:GfD9OzL11kvZN5iArC6oTS7RTj7oJOIfnislxYlqTj8= k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -knative.dev/hack v0.0.0-20230911131120-3af329f73ff3 h1:3vOdwAi/IjOTQvL2nP3RDRgPuYIbSRqEgaIgAgDFC08= -knative.dev/hack v0.0.0-20230911131120-3af329f73ff3/go.mod h1:dx0YG3YWqJu653e9tjcT0Q1ZdS9JJXLKbUhzr4EB0g8= -knative.dev/networking v0.0.0-20230912162648-8ebb407b8ac4 h1:D8lXWNnVOKx2eRAiaBb1h98cpT+T2xy0sd5IN2EWeDk= -knative.dev/networking v0.0.0-20230912162648-8ebb407b8ac4/go.mod h1:t5rGgqqJ55N1KdGcaT/S/3mVJfttqQx0xa/wxcLC09w= -knative.dev/pkg v0.0.0-20230912052245-8d736b687bf4 h1:NIbGbJVexRp+LJJOjO9hA/Wpn2IQa8e73D8malbVuGs= -knative.dev/pkg v0.0.0-20230912052245-8d736b687bf4/go.mod h1:+1DsxX8h0ftiZCgFZQpIUC9QwaLGv79BG+kDaCjms8c= -knative.dev/serving v0.38.1-0.20230913063834-32c2732efcf1 h1:EVg+INzrlVprKjXZbHnRQZKgtaJ2wli5AMjzSidvP6s= -knative.dev/serving v0.38.1-0.20230913063834-32c2732efcf1/go.mod h1:Tukd54E8w6qEidsWl5OoQg5CbK6LjBvyS+M8mOvySBg= +knative.dev/hack v0.0.0-20230914013105-0bb79ff2d162 h1:5IYUAmyfUsvSoP5ZQmqBetYLMv/EUEayC4uHEuhTnCo= +knative.dev/hack v0.0.0-20230914013105-0bb79ff2d162/go.mod h1:dx0YG3YWqJu653e9tjcT0Q1ZdS9JJXLKbUhzr4EB0g8= +knative.dev/networking v0.0.0-20230914014443-e3c3201da0e3 h1:CXJwL6f7s8wSt0MdXIPph5CwORbbvvxaAKT0XCSyvW4= +knative.dev/networking v0.0.0-20230914014443-e3c3201da0e3/go.mod h1:t5rGgqqJ55N1KdGcaT/S/3mVJfttqQx0xa/wxcLC09w= +knative.dev/pkg v0.0.0-20230914012755-978068686674 h1:ww06U9yD6uQPqskgXpyHj7z3Nfj+tN9kJar0fmrTzx0= +knative.dev/pkg v0.0.0-20230914012755-978068686674/go.mod h1:+1DsxX8h0ftiZCgFZQpIUC9QwaLGv79BG+kDaCjms8c= +knative.dev/serving v0.38.1-0.20230914175124-55bec5f5f8ca h1:Iu47rA/gtZ7wRaCm6881bLHWl70Psc4W2pEhPVeUBRM= +knative.dev/serving v0.38.1-0.20230914175124-55bec5f5f8ca/go.mod h1:Tukd54E8w6qEidsWl5OoQg5CbK6LjBvyS+M8mOvySBg= pgregory.net/rapid v1.0.0 h1:iQaM2w5PZ6xvt6x7hbd7tiDS+nk7YPp5uCaEba+T/F4= 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= diff --git a/vendor/knative.dev/serving/pkg/apis/serving/v1/revision_defaults.go b/vendor/knative.dev/serving/pkg/apis/serving/v1/revision_defaults.go index 8acbf3446..4805f5b1f 100644 --- a/vendor/knative.dev/serving/pkg/apis/serving/v1/revision_defaults.go +++ b/vendor/knative.dev/serving/pkg/apis/serving/v1/revision_defaults.go @@ -208,6 +208,10 @@ func (rs *RevisionSpec) defaultSecurityContext(psc *corev1.PodSecurityContext, c } } + if psc.RunAsNonRoot == nil { + updatedSC.RunAsNonRoot = ptr.Bool(true) + } + if *updatedSC != (corev1.SecurityContext{}) { container.SecurityContext = updatedSC } diff --git a/vendor/modules.txt b/vendor/modules.txt index b89a68910..e7d6449e2 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -594,10 +594,10 @@ k8s.io/utils/lru k8s.io/utils/net k8s.io/utils/strings/slices k8s.io/utils/trace -# knative.dev/hack v0.0.0-20230911131120-3af329f73ff3 +# knative.dev/hack v0.0.0-20230914013105-0bb79ff2d162 ## explicit; go 1.18 knative.dev/hack -# knative.dev/networking v0.0.0-20230912162648-8ebb407b8ac4 +# knative.dev/networking v0.0.0-20230914014443-e3c3201da0e3 ## explicit; go 1.18 knative.dev/networking/pkg/apis/networking knative.dev/networking/pkg/apis/networking/v1alpha1 @@ -605,7 +605,7 @@ knative.dev/networking/pkg/client/clientset/versioned/scheme knative.dev/networking/pkg/client/clientset/versioned/typed/networking/v1alpha1 knative.dev/networking/pkg/client/clientset/versioned/typed/networking/v1alpha1/fake knative.dev/networking/pkg/config -# knative.dev/pkg v0.0.0-20230912052245-8d736b687bf4 +# knative.dev/pkg v0.0.0-20230914012755-978068686674 ## explicit; go 1.18 knative.dev/pkg/apis knative.dev/pkg/apis/duck @@ -622,7 +622,7 @@ knative.dev/pkg/network knative.dev/pkg/profiling knative.dev/pkg/ptr knative.dev/pkg/tracker -# knative.dev/serving v0.38.1-0.20230913063834-32c2732efcf1 +# knative.dev/serving v0.38.1-0.20230914175124-55bec5f5f8ca ## explicit; go 1.18 knative.dev/serving/pkg/apis/autoscaling knative.dev/serving/pkg/apis/autoscaling/v1alpha1