Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[main] Upgrade to latest dependencies #404

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ require (
k8s.io/api v0.26.5
k8s.io/apimachinery v0.26.5
k8s.io/client-go v0.26.5
knative.dev/eventing v0.38.1-0.20230914012737-eaa5ffca29d0
knative.dev/eventing v0.38.1-0.20230914134936-ef994bef0a2e
knative.dev/hack v0.0.0-20230914013105-0bb79ff2d162
knative.dev/pkg v0.0.0-20230914012755-978068686674
knative.dev/serving v0.38.1-0.20230913192621-4dddf9f677e8
knative.dev/serving v0.38.1-0.20230914175124-55bec5f5f8ca
)

require (
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -717,16 +717,16 @@ 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/eventing v0.38.1-0.20230914012737-eaa5ffca29d0 h1:n0DqXBXzzHSxhlmTkq2SR9KKR9ht4Q2Zr3u7JJzvORA=
knative.dev/eventing v0.38.1-0.20230914012737-eaa5ffca29d0/go.mod h1:drwtJr2Wan4oW+K9DLoN+mkG5LaRgH9LhuxV646hBKk=
knative.dev/eventing v0.38.1-0.20230914134936-ef994bef0a2e h1:2GLVnK62RG6KCEOoflbYijx2MjM5R8Ghsb3hD56nGec=
knative.dev/eventing v0.38.1-0.20230914134936-ef994bef0a2e/go.mod h1:drwtJr2Wan4oW+K9DLoN+mkG5LaRgH9LhuxV646hBKk=
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-20230911132222-48042038ea3d h1:4ja2C3Azc3N7mOypo2efX3j5OalvBU3FwGGxHM8GDo0=
knative.dev/networking v0.0.0-20230911132222-48042038ea3d/go.mod h1:+QuFm3aotxR+gM69XilYuJiu5JOyGf1Mlw42IfSaCkk=
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.20230913192621-4dddf9f677e8 h1:tU5LCjhvGxinS/XI4yj3IzaKrJRMsfNvGhcS3wRbYpg=
knative.dev/serving v0.38.1-0.20230913192621-4dddf9f677e8/go.mod h1:Tukd54E8w6qEidsWl5OoQg5CbK6LjBvyS+M8mOvySBg=
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=
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
4 changes: 2 additions & 2 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ k8s.io/utils/net
k8s.io/utils/pointer
k8s.io/utils/strings/slices
k8s.io/utils/trace
# knative.dev/eventing v0.38.1-0.20230914012737-eaa5ffca29d0
# knative.dev/eventing v0.38.1-0.20230914134936-ef994bef0a2e
## explicit; go 1.19
knative.dev/eventing/pkg/adapter/v2
knative.dev/eventing/pkg/adapter/v2/test
Expand Down Expand Up @@ -1078,7 +1078,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.38.1-0.20230913192621-4dddf9f677e8
# 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
Expand Down
Loading