Skip to content

Commit

Permalink
upgrade to latest dependencies (#312)
Browse files Browse the repository at this point in the history
bumping knative.dev/serving 2c1bb07...60754c3:
  > 60754c3 [release-1.10] fix securityContext for Knative Service Pod (user-container and queue-proxy) (# 14377)
  > 500756c [release-1.10] RandomChoice 2 policy wasn't random when the number of targets is 2 (with equal weight) (# 14052)
  > cdac06e drop safe to evict annotations (# 14051)
  > fc055b1 Min TLS for tag to digest defaults to 1.2 again and is configurable (# 13963)
bumping knative.dev/client-pkg 4f052f9...bfbf86c:
  > bfbf86c upgrade to latest dependencies (# 122)
bumping knative.dev/eventing-kafka 9a4a93a...08afc3d:
  > 08afc3d upgrade to latest dependencies (# 1404)
bumping knative.dev/pkg df28fea...0c39ce4:
  > 0c39ce4 Allow to disable http2 for the webhook (# 2877)
bumping knative.dev/eventing 034bec9...7de3ecc:
  > 7de3ecc [release-1.10] Upgrade to latest dependencies (# 7144)
  > 1b3281e [release-1.10] Fix edit role aggregation (# 7129)
  > a4373f9 [release-1.10] Upgrade to latest dependencies (# 7122)
  > 76982bf [release-1.10] Function CopySecretWithName for creating secrets with specific name (# 7094)
  > e9544dd [release-1.10] Upgrade to latest dependencies (# 6976)
  > a0537ac [release-1.10] Use random names in Channel tests (# 6972)

Signed-off-by: Knative Automation <automation@knative.team>
  • Loading branch information
knative-automation authored Oct 24, 2023
1 parent 7a69444 commit 11b0ea0
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 20 deletions.
10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ require (
gotest.tools/v3 v3.3.0
k8s.io/apimachinery v0.25.4
k8s.io/client-go v0.25.4
knative.dev/client-pkg v0.0.0-20230425201444-4f052f9ef2f2
knative.dev/eventing-kafka v0.37.0
knative.dev/client-pkg v0.0.0-20231012115824-bfbf86c8001c
knative.dev/eventing-kafka v0.37.1
knative.dev/hack v0.0.0-20230417170854-f591fea109b3
knative.dev/pkg v0.0.0-20231011201526-df28feae6d34
knative.dev/pkg v0.0.0-20231023160942-0c39ce4b3a7f
)

require (
Expand Down Expand Up @@ -116,9 +116,9 @@ require (
k8s.io/klog/v2 v2.80.2-0.20221028030830-9ae4992afb54 // indirect
k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 // indirect
k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2 // indirect
knative.dev/eventing v0.37.0 // indirect
knative.dev/eventing v0.37.3 // indirect
knative.dev/networking v0.0.0-20230419144338-e5d04e805e50 // indirect
knative.dev/serving v0.37.0 // indirect
knative.dev/serving v0.37.3 // indirect
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
sigs.k8s.io/kustomize/api v0.12.1 // indirect
sigs.k8s.io/kustomize/kyaml v0.13.9 // indirect
Expand Down
20 changes: 10 additions & 10 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1052,20 +1052,20 @@ 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/client-pkg v0.0.0-20230425201444-4f052f9ef2f2 h1:Xc6zlrbq9X+Qh15xl8iv8Tl/qkknnOv8KwN+HzjDZU8=
knative.dev/client-pkg v0.0.0-20230425201444-4f052f9ef2f2/go.mod h1:oYnznlTBCj/bVEHo5vUSM/VS3oDFNJKDmH5+k1aC9/8=
knative.dev/eventing v0.37.0 h1:OtX8B9nvUSTNcbbpoNFDyeGaGU/5+aetj94i6oATpQU=
knative.dev/eventing v0.37.0/go.mod h1:62baPXiw5GPpPyV3f0GF64X7tOjc5x9cg64RAh1gjs4=
knative.dev/eventing-kafka v0.37.0 h1:IhFYsO3akqr85nwF6i2yiGFmcLfN7qks/GmAE/MQqRA=
knative.dev/eventing-kafka v0.37.0/go.mod h1:xEEsukYookBRDpJF+H7O+zaPx7cKT0TvqW7apEAIF7E=
knative.dev/client-pkg v0.0.0-20231012115824-bfbf86c8001c h1:HhNi7fdozmLWrrpYfJV1Q+p8f1wtP+VUJN4o1gdEgp4=
knative.dev/client-pkg v0.0.0-20231012115824-bfbf86c8001c/go.mod h1:z2bk+KD9x3d8FL1jD/1DPgR4Zt1M+fWgRtArNnjR+Ro=
knative.dev/eventing v0.37.3 h1:TFJS/bcWJbcY4YvGg+LNEm0qdmeaMAHdUGHKuOmnX9E=
knative.dev/eventing v0.37.3/go.mod h1:DFZEmPkisDkr3jbTQd6mK+Dno3k9yacSgbkJGIDWg3c=
knative.dev/eventing-kafka v0.37.1 h1:TPDPYktKkzuS9ycyzDb84P40kOg55BzUcpFY89nr3Zk=
knative.dev/eventing-kafka v0.37.1/go.mod h1:cYOceGCtAlvs1VODEIdp1iAzCDMKx2GDCnr7PsEGTGU=
knative.dev/hack v0.0.0-20230417170854-f591fea109b3 h1:+W4WBOq83tfGXKhtv8OB/uJeYqze3zh69GKiz1ucuqk=
knative.dev/hack v0.0.0-20230417170854-f591fea109b3/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
knative.dev/networking v0.0.0-20230419144338-e5d04e805e50 h1:X9rPBYr7Vrm075q0iXTr7/0oklkYoyqvlnrUwNzcUhI=
knative.dev/networking v0.0.0-20230419144338-e5d04e805e50/go.mod h1:o2MyGpGfU5DoSAWCE2f/jnSC9GjGOplCslbA99yDkGo=
knative.dev/pkg v0.0.0-20231011201526-df28feae6d34 h1:H+K37bEBZ2STSWMjCgrdilj38KKZGVxBbob22K99Y50=
knative.dev/pkg v0.0.0-20231011201526-df28feae6d34/go.mod h1:ZRgzFBFmdBsARm6+Pkr9WRG8bXys8rYq64ELfLG6+9w=
knative.dev/serving v0.37.0 h1:hp/HconGRzv0kh2az9I/af1K1DY3NG3zcyiVc2rHyOk=
knative.dev/serving v0.37.0/go.mod h1:v0Xbfp7olb0Gljm5l4qNuLsIf8/2p1rIt/mphxvx1z0=
knative.dev/pkg v0.0.0-20231023160942-0c39ce4b3a7f h1:XCH1qZqW1riR8cjhMGjewxQXlWPrfgxeUorBjpC6lE4=
knative.dev/pkg v0.0.0-20231023160942-0c39ce4b3a7f/go.mod h1:ZRgzFBFmdBsARm6+Pkr9WRG8bXys8rYq64ELfLG6+9w=
knative.dev/serving v0.37.3 h1:ebJCVLb3ZHnrJHNKDw/v5eO2Yz6F3l6lpRgAuNo4KE8=
knative.dev/serving v0.37.3/go.mod h1:v0Xbfp7olb0Gljm5l4qNuLsIf8/2p1rIt/mphxvx1z0=
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=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
10 changes: 5 additions & 5 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ k8s.io/utils/net
k8s.io/utils/pointer
k8s.io/utils/strings/slices
k8s.io/utils/trace
# knative.dev/client-pkg v0.0.0-20230425201444-4f052f9ef2f2
# knative.dev/client-pkg v0.0.0-20231012115824-bfbf86c8001c
## explicit; go 1.18
knative.dev/client-pkg/pkg/apis/client
knative.dev/client-pkg/pkg/apis/client/v1alpha1
Expand Down Expand Up @@ -838,7 +838,7 @@ knative.dev/client-pkg/pkg/util
knative.dev/client-pkg/pkg/util/mock
knative.dev/client-pkg/pkg/util/test
knative.dev/client-pkg/pkg/wait
# knative.dev/eventing v0.37.0
# knative.dev/eventing v0.37.3
## explicit; go 1.19
knative.dev/eventing/pkg/apis/config
knative.dev/eventing/pkg/apis/duck
Expand All @@ -864,7 +864,7 @@ knative.dev/eventing/pkg/client/clientset/versioned/typed/messaging/v1
knative.dev/eventing/pkg/client/clientset/versioned/typed/sources/v1
knative.dev/eventing/pkg/client/clientset/versioned/typed/sources/v1/fake
knative.dev/eventing/pkg/client/clientset/versioned/typed/sources/v1beta2
# knative.dev/eventing-kafka v0.37.0
# knative.dev/eventing-kafka v0.37.1
## explicit; go 1.19
knative.dev/eventing-kafka/pkg/apis/bindings
knative.dev/eventing-kafka/pkg/apis/bindings/v1beta1
Expand All @@ -888,7 +888,7 @@ knative.dev/networking/pkg/http/probe
knative.dev/networking/pkg/http/proxy
knative.dev/networking/pkg/http/stats
knative.dev/networking/pkg/k8s
# knative.dev/pkg v0.0.0-20231011201526-df28feae6d34
# knative.dev/pkg v0.0.0-20231023160942-0c39ce4b3a7f
## explicit; go 1.18
knative.dev/pkg/apis
knative.dev/pkg/apis/duck
Expand Down Expand Up @@ -933,7 +933,7 @@ knative.dev/pkg/tracing/propagation
knative.dev/pkg/tracing/propagation/tracecontextb3
knative.dev/pkg/tracker
knative.dev/pkg/webhook/resourcesemantics
# knative.dev/serving v0.37.0
# knative.dev/serving v0.37.3
## explicit; go 1.18
knative.dev/serving/pkg/apis/autoscaling
knative.dev/serving/pkg/apis/autoscaling/v1alpha1
Expand Down

0 comments on commit 11b0ea0

Please sign in to comment.