Skip to content

Commit 6a27004

Browse files
upgrade to latest dependencies (#15582)
bumping knative.dev/caching ccfb189...41bbaf9: > 41bbaf9 upgrade to latest dependencies (# 899) bumping knative.dev/pkg 4af9a0d...9b9d535: > 9b9d535 Fix `WEBHOOK_DISABLE_NAMESPACE_OWNERSHIP` env-var (# 3108) bumping knative.dev/networking a3d4663...60e29ff: > 60e29ff upgrade to latest dependencies (# 1015) Signed-off-by: Knative Automation <[email protected]>
1 parent c93d8c4 commit 6a27004

File tree

7 files changed

+30
-18
lines changed

7 files changed

+30
-18
lines changed

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ require (
3434
k8s.io/code-generator v0.30.3
3535
k8s.io/kube-openapi v0.0.0-20240808142205-8e686545bdb8
3636
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8
37-
knative.dev/caching v0.0.0-20241015090132-ccfb189fed8e
37+
knative.dev/caching v0.0.0-20241022012359-41bbaf964d16
3838
knative.dev/hack v0.0.0-20241010131451-05b2fb30cb4d
39-
knative.dev/networking v0.0.0-20241015085032-a3d46633cfb3
40-
knative.dev/pkg v0.0.0-20241021053726-4af9a0d3f8b5
39+
knative.dev/networking v0.0.0-20241022012959-60e29ff520dc
40+
knative.dev/pkg v0.0.0-20241021183759-9b9d535af5ad
4141
sigs.k8s.io/yaml v1.4.0
4242
)
4343

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -946,14 +946,14 @@ k8s.io/kube-openapi v0.0.0-20240808142205-8e686545bdb8 h1:1Wof1cGQgA5pqgo8MxKPtf
946946
k8s.io/kube-openapi v0.0.0-20240808142205-8e686545bdb8/go.mod h1:Os6V6dZwLNii3vxFpxcNaTmH8LJJBkOTg1N0tOA0fvA=
947947
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 h1:pUdcCO1Lk/tbT5ztQWOBi5HBgbBP1J8+AsQnQCKsi8A=
948948
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
949-
knative.dev/caching v0.0.0-20241015090132-ccfb189fed8e h1:SFUaPsSwBOLnrakXCoOi+iGe74xGW3TRDwDXmD29xyo=
950-
knative.dev/caching v0.0.0-20241015090132-ccfb189fed8e/go.mod h1:Gdarh0MOPnzYhT7/f5FFFClwRbbp0bJGK8J2Viu1g54=
949+
knative.dev/caching v0.0.0-20241022012359-41bbaf964d16 h1:vQ0y0mO1ALdOd/FPiw7gf1415mf41aWnLOVOtTr2/jQ=
950+
knative.dev/caching v0.0.0-20241022012359-41bbaf964d16/go.mod h1:qOvjasSUI+GyF4hsqJmIomblcgjkLzJhng8/zk0B9J4=
951951
knative.dev/hack v0.0.0-20241010131451-05b2fb30cb4d h1:aCfX7kwkvgGxXXGbso5tLqdwQmzBkJ9d+EIRwksKTvk=
952952
knative.dev/hack v0.0.0-20241010131451-05b2fb30cb4d/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
953-
knative.dev/networking v0.0.0-20241015085032-a3d46633cfb3 h1:pnCWTaxtOdiqtjJC0kGw+4qC7ChH3DkchReSSSBtLQ8=
954-
knative.dev/networking v0.0.0-20241015085032-a3d46633cfb3/go.mod h1:xaOhZH277o5f7VTWOBeDQNrGGXeNV2B9dxMn3bp26Ow=
955-
knative.dev/pkg v0.0.0-20241021053726-4af9a0d3f8b5 h1:T+40/2nEh78mT31zYUMjL3ENrZSM6jNApGgz+tcDqwc=
956-
knative.dev/pkg v0.0.0-20241021053726-4af9a0d3f8b5/go.mod h1:StJI72GWcm/iErmk4RqFJiOo8RLbVqPbHxUqeVwAzeo=
953+
knative.dev/networking v0.0.0-20241022012959-60e29ff520dc h1:0d9XXRLlyuHfINZLlYqo/BYe/+chqqNBMLKJldjTbtw=
954+
knative.dev/networking v0.0.0-20241022012959-60e29ff520dc/go.mod h1:G56j6VCLzfaN9yZ4IqfNyN4c3U1czvhUmKeZX4UjQ8Q=
955+
knative.dev/pkg v0.0.0-20241021183759-9b9d535af5ad h1:Nrjtr2H168rJeamH4QdyLMV1lEKHejNhaj1ymgQMfLk=
956+
knative.dev/pkg v0.0.0-20241021183759-9b9d535af5ad/go.mod h1:StJI72GWcm/iErmk4RqFJiOo8RLbVqPbHxUqeVwAzeo=
957957
pgregory.net/rapid v1.1.0 h1:CMa0sjHSru3puNx+J0MIAuiiEV4N0qj8/cMWGBBCsjw=
958958
pgregory.net/rapid v1.1.0/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04=
959959
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=

vendor/knative.dev/pkg/webhook/configmaps/controller.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ func NewAdmissionController(
4646
secretInformer := secretinformer.Get(ctx)
4747
options := webhook.GetOptions(ctx)
4848

49+
// if this environment variable is set, it overrides the value in the Options
50+
disableNamespaceOwnership := webhook.DisableNamespaceOwnershipFromEnv()
51+
if disableNamespaceOwnership != nil {
52+
options.DisableNamespaceOwnership = *disableNamespaceOwnership
53+
}
54+
4955
key := types.NamespacedName{Name: name}
5056

5157
wh := &reconciler{

vendor/knative.dev/pkg/webhook/resourcesemantics/defaulting/controller.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ func newController(ctx context.Context, name string, optsFunc ...OptionFunc) *co
8484
f(opts)
8585
}
8686

87+
// if this environment variable is set, it overrides the value in the Options
88+
disableNamespaceOwnership := webhook.DisableNamespaceOwnershipFromEnv()
89+
if disableNamespaceOwnership != nil {
90+
wopts.DisableNamespaceOwnership = *disableNamespaceOwnership
91+
}
92+
8793
key := types.NamespacedName{Name: name}
8894

8995
wh := &reconciler{

vendor/knative.dev/pkg/webhook/resourcesemantics/validation/controller.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ func newController(ctx context.Context, name string, optsFunc ...OptionFunc) *co
7070
f(opts)
7171
}
7272

73+
// if this environment variable is set, it overrides the value in the Options
74+
disableNamespaceOwnership := webhook.DisableNamespaceOwnershipFromEnv()
75+
if disableNamespaceOwnership != nil {
76+
woptions.DisableNamespaceOwnership = *disableNamespaceOwnership
77+
}
78+
7379
wh := &reconciler{
7480
LeaderAwareFuncs: pkgreconciler.LeaderAwareFuncs{
7581
// Have this reconciler enqueue our singleton whenever it becomes leader.

vendor/knative.dev/pkg/webhook/webhook.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,6 @@ func New(
166166
return nil, fmt.Errorf("unsupported TLS version: %d", opts.TLSMinVersion)
167167
}
168168

169-
// if the environment variable is set, it overrides the value in the Options
170-
disableNamespaceOwnership := DisableNamespaceOwnershipFromEnv()
171-
if disableNamespaceOwnership != nil {
172-
opts.DisableNamespaceOwnership = *disableNamespaceOwnership
173-
}
174-
175169
syncCtx, cancel := context.WithCancel(context.Background())
176170

177171
webhook = &Webhook{

vendor/modules.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ k8s.io/utils/pointer
13371337
k8s.io/utils/ptr
13381338
k8s.io/utils/strings/slices
13391339
k8s.io/utils/trace
1340-
# knative.dev/caching v0.0.0-20241015090132-ccfb189fed8e
1340+
# knative.dev/caching v0.0.0-20241022012359-41bbaf964d16
13411341
## explicit; go 1.22.0
13421342
knative.dev/caching/config
13431343
knative.dev/caching/pkg/apis/caching
@@ -1361,7 +1361,7 @@ knative.dev/caching/pkg/client/listers/caching/v1alpha1
13611361
# knative.dev/hack v0.0.0-20241010131451-05b2fb30cb4d
13621362
## explicit; go 1.21
13631363
knative.dev/hack
1364-
# knative.dev/networking v0.0.0-20241015085032-a3d46633cfb3
1364+
# knative.dev/networking v0.0.0-20241022012959-60e29ff520dc
13651365
## explicit; go 1.22.0
13661366
knative.dev/networking/config
13671367
knative.dev/networking/pkg
@@ -1400,7 +1400,7 @@ knative.dev/networking/pkg/http/stats
14001400
knative.dev/networking/pkg/ingress
14011401
knative.dev/networking/pkg/k8s
14021402
knative.dev/networking/pkg/prober
1403-
# knative.dev/pkg v0.0.0-20241021053726-4af9a0d3f8b5
1403+
# knative.dev/pkg v0.0.0-20241021183759-9b9d535af5ad
14041404
## explicit; go 1.22.0
14051405
knative.dev/pkg/apiextensions/storageversion
14061406
knative.dev/pkg/apiextensions/storageversion/cmd/migrate

0 commit comments

Comments
 (0)