Skip to content

Commit b1cb402

Browse files
upgrade to latest dependencies (#2069)
bumping knative.dev/eventing 5f466ad...a7b2f1c: > a7b2f1c [Automated] Update eventing-eventing-integrations nightly (# 8566) > 7c466cb [main] Update community files (# 8565) > c0cf4f4 [main] Upgrade to latest dependencies (# 8564) bumping knative.dev/serving c7e3075...880ea71: > 880ea71 Update net-contour nightly (# 15852) > 93023e8 feat: add support for CSI volumes (# 15815) > c7f03af Support exec readiness probes for sidecar containers (# 15773) > a221c53 Update net-kourier nightly (# 15849) > e88d4dc upgrade to latest dependencies (# 15845) > 1d9855f Update net-gateway-api nightly (# 15847) > e6c1839 Update community files (# 15848) bumping knative.dev/networking f1b08e6...6268d93: > 6268d93 upgrade to latest dependencies (# 1059) > 5a309fd upgrade to latest dependencies (# 1058) Signed-off-by: Knative Automation <automation@knative.team>
1 parent 19ec661 commit b1cb402

6 files changed

Lines changed: 31 additions & 12 deletions

File tree

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ require (
2121
k8s.io/client-go v0.32.2
2222
k8s.io/code-generator v0.32.2
2323
knative.dev/caching v0.0.0-20250415164313-8f20a1163dbf
24-
knative.dev/eventing v0.44.1-0.20250414180812-5f466ad3711a
24+
knative.dev/eventing v0.44.1-0.20250417160803-a7b2f1c9f66f
2525
knative.dev/hack v0.0.0-20250331013814-c577ed9f7775
2626
knative.dev/pkg v0.0.0-20250415155312-ed3e2158b883
2727
knative.dev/reconciler-test v0.0.0-20250415170512-23f86169156f
28-
knative.dev/serving v0.44.1-0.20250415122313-c7e30759e276
28+
knative.dev/serving v0.44.1-0.20250418122003-880ea71a0c15
2929
sigs.k8s.io/yaml v1.4.0
3030
)
3131

@@ -157,7 +157,7 @@ require (
157157
k8s.io/klog/v2 v2.130.1 // indirect
158158
k8s.io/kube-openapi v0.0.0-20241212222426-2c72e554b1e7 // indirect
159159
k8s.io/utils v0.0.0-20241210054802-24370beab758 // indirect
160-
knative.dev/networking v0.0.0-20250411212114-f1b08e6cfc7f // indirect
160+
knative.dev/networking v0.0.0-20250415164913-6268d931d247 // indirect
161161
sigs.k8s.io/controller-runtime v0.19.0 // indirect
162162
sigs.k8s.io/gateway-api v1.1.0 // indirect
163163
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1716,18 +1716,18 @@ k8s.io/utils v0.0.0-20241210054802-24370beab758 h1:sdbE21q2nlQtFh65saZY+rRM6x6aJ
17161716
k8s.io/utils v0.0.0-20241210054802-24370beab758/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
17171717
knative.dev/caching v0.0.0-20250415164313-8f20a1163dbf h1:qQnKB6mx+beHzsoKU8aKrRU0oWAfgzKG2JgWMzr8CrM=
17181718
knative.dev/caching v0.0.0-20250415164313-8f20a1163dbf/go.mod h1:q8ma7YxJ8Dofr+5kf3qR72A/7Zxl9uqQlOdMwNgCXY4=
1719-
knative.dev/eventing v0.44.1-0.20250414180812-5f466ad3711a h1:NVEdYUpBeOUXn/oMmKFKpWGjpbQu1mWruoIiuuDH0Sw=
1720-
knative.dev/eventing v0.44.1-0.20250414180812-5f466ad3711a/go.mod h1:yfeVEbDoHBjz8+wFtAwJSgQt18FRXc3MhAmhyDz1lbE=
1719+
knative.dev/eventing v0.44.1-0.20250417160803-a7b2f1c9f66f h1:K+iLXIv7ek9KJ4IIi8pTAAdpBGFRJY1yM+wxjr4Nu/M=
1720+
knative.dev/eventing v0.44.1-0.20250417160803-a7b2f1c9f66f/go.mod h1:dlIk5DSCtUR8CAT6YgAB1PScYy8mz27oFCfBWN+8tG4=
17211721
knative.dev/hack v0.0.0-20250331013814-c577ed9f7775 h1:UstB8/aowofYFHjLyZdPh1K7qB9BCx+lP1WuiCspYRE=
17221722
knative.dev/hack v0.0.0-20250331013814-c577ed9f7775/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
1723-
knative.dev/networking v0.0.0-20250411212114-f1b08e6cfc7f h1:x1kpIezFHPUqIOUVbT2foQFrLtdwK9krzs4OfLyY5R4=
1724-
knative.dev/networking v0.0.0-20250411212114-f1b08e6cfc7f/go.mod h1:rjkDjuJfuA64ABptp9QZjWgOWkdRhuz2dP8KUIbE+PQ=
1723+
knative.dev/networking v0.0.0-20250415164913-6268d931d247 h1:BQcW8ur+WAmj6GCpYHyUyWoaJWVTs/75W1EObUV/bdA=
1724+
knative.dev/networking v0.0.0-20250415164913-6268d931d247/go.mod h1:Y6OMRz/12RC8fzVa3gAB6K8BR415xbF4z35IAbdMHFc=
17251725
knative.dev/pkg v0.0.0-20250415155312-ed3e2158b883 h1:UeOY7009M0EHwdyW3P35Fc1U6FJHzBrj6Gf370do8zY=
17261726
knative.dev/pkg v0.0.0-20250415155312-ed3e2158b883/go.mod h1:ptwLYr04MAyeoRvhnhhz0FFkVZTdYJV2QWnw9sZyFSM=
17271727
knative.dev/reconciler-test v0.0.0-20250415170512-23f86169156f h1:4JZHD997Yav2K6JJU93sjxvcPXNHVY4lC1dWhzyeBXg=
17281728
knative.dev/reconciler-test v0.0.0-20250415170512-23f86169156f/go.mod h1:jrNdg5OPDhfxYxXDLqA4iv9zvfLhNYpYKmaQvz4ZpRM=
1729-
knative.dev/serving v0.44.1-0.20250415122313-c7e30759e276 h1:qYhU3IH0mrNyKDMG0j03UvEY9ZhiwousMTYKcCCMGrM=
1730-
knative.dev/serving v0.44.1-0.20250415122313-c7e30759e276/go.mod h1:xUGf85a3Dssald2oNjNoqoZHxWeCPsGQICp3u227Zks=
1729+
knative.dev/serving v0.44.1-0.20250418122003-880ea71a0c15 h1:pXqh4Q2QOiUNteaQqrHEDOKjLDywJuF1F7I8K7Amt+k=
1730+
knative.dev/serving v0.44.1-0.20250418122003-880ea71a0c15/go.mod h1:yXmbxEHxO4O+CmRBq7HFZ0ZNMg+/WRbLio7759Qe5/I=
17311731
nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0=
17321732
pgregory.net/rapid v1.1.0 h1:CMa0sjHSru3puNx+J0MIAuiiEV4N0qj8/cMWGBBCsjw=
17331733
pgregory.net/rapid v1.1.0/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04=

vendor/knative.dev/serving/pkg/apis/config/features.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ const (
6565
FeaturePodSpecHostNetwork = "kubernetes.podspec-hostnetwork"
6666
FeaturePodSpecHostPID = "kubernetes.podspec-hostpid"
6767
FeaturePodSpecHostPath = "kubernetes.podspec-volumes-hostpath"
68+
FeaturePodSpecCSI = "kubernetes.podspec-volumes-csi"
6869
FeaturePodSpecInitContainers = "kubernetes.podspec-init-containers"
6970
FeaturePodSpecNodeSelector = "kubernetes.podspec-nodeselector"
7071
FeaturePodSpecPVClaim = "kubernetes.podspec-persistent-volume-claim"
@@ -99,6 +100,7 @@ func defaultFeaturesConfig() *Features {
99100
PodSpecTolerations: Disabled,
100101
PodSpecVolumesEmptyDir: Enabled,
101102
PodSpecVolumesHostPath: Disabled,
103+
PodSpecVolumesCSI: Disabled,
102104
PodSpecPersistentVolumeClaim: Disabled,
103105
PodSpecPersistentVolumeWrite: Disabled,
104106
QueueProxyMountPodInfo: Disabled,
@@ -137,6 +139,7 @@ func NewFeaturesConfigFromMap(data map[string]string) (*Features, error) {
137139
asFlag(FeaturePodSpecHostNetwork, &nc.PodSpecHostNetwork),
138140
asFlag(FeaturePodSpecHostPID, &nc.PodSpecHostPID),
139141
asFlag(FeaturePodSpecHostPath, &nc.PodSpecVolumesHostPath),
142+
asFlag(FeaturePodSpecCSI, &nc.PodSpecVolumesCSI),
140143
asFlag(FeaturePodSpecInitContainers, &nc.PodSpecInitContainers),
141144
asFlag(FeaturePodSpecNodeSelector, &nc.PodSpecNodeSelector),
142145
asFlag(FeaturePodSpecPVClaim, &nc.PodSpecPersistentVolumeClaim),
@@ -180,6 +183,7 @@ type Features struct {
180183
PodSpecTolerations Flag
181184
PodSpecVolumesEmptyDir Flag
182185
PodSpecVolumesHostPath Flag
186+
PodSpecVolumesCSI Flag
183187
PodSpecInitContainers Flag
184188
PodSpecPersistentVolumeClaim Flag
185189
PodSpecPersistentVolumeWrite Flag

vendor/knative.dev/serving/pkg/apis/serving/fieldmask.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ func VolumeSourceMask(ctx context.Context, in *corev1.VolumeSource) *corev1.Volu
7070
out.HostPath = in.HostPath
7171
}
7272

73+
if cfg.Features.PodSpecVolumesCSI != config.Disabled {
74+
out.CSI = in.CSI
75+
}
76+
7377
// Too many disallowed fields to list
7478

7579
return out

vendor/knative.dev/serving/pkg/apis/serving/k8s_validation.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ func validateVolume(ctx context.Context, volume corev1.Volume) *apis.FieldError
129129
errs = errs.Also(&apis.FieldError{Message: fmt.Sprintf("HostPath volume support is disabled, "+
130130
"but found HostPath volume %s", volume.Name)})
131131
}
132+
if volume.CSI != nil && features.PodSpecVolumesCSI != config.Enabled {
133+
errs = errs.Also(&apis.FieldError{Message: fmt.Sprintf("CSI volume support is disabled, "+
134+
"but found CSI volume %s", volume.Name)})
135+
}
132136
errs = errs.Also(apis.CheckDisallowedFields(volume, *VolumeMask(ctx, &volume)))
133137
if volume.Name == "" {
134138
errs = apis.ErrMissingField("name")
@@ -169,6 +173,10 @@ func validateVolume(ctx context.Context, volume corev1.Volume) *apis.FieldError
169173
specified = append(specified, "hostPath")
170174
}
171175

176+
if vs.CSI != nil {
177+
specified = append(specified, "csi")
178+
}
179+
172180
if len(specified) == 0 {
173181
fieldPaths := []string{"secret", "configMap", "projected"}
174182
cfg := config.FromContextOrDefaults(ctx)
@@ -181,6 +189,9 @@ func validateVolume(ctx context.Context, volume corev1.Volume) *apis.FieldError
181189
if cfg.Features.PodSpecVolumesHostPath == config.Enabled {
182190
fieldPaths = append(fieldPaths, "hostPath")
183191
}
192+
if cfg.Features.PodSpecVolumesCSI == config.Enabled {
193+
fieldPaths = append(fieldPaths, "csi")
194+
}
184195
errs = errs.Also(apis.ErrMissingOneOf(fieldPaths...))
185196
} else if len(specified) > 1 {
186197
errs = errs.Also(apis.ErrMultipleOneOf(specified...))

vendor/modules.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,7 +1432,7 @@ k8s.io/utils/trace
14321432
## explicit; go 1.23.0
14331433
knative.dev/caching/pkg/apis/caching
14341434
knative.dev/caching/pkg/apis/caching/v1alpha1
1435-
# knative.dev/eventing v0.44.1-0.20250414180812-5f466ad3711a
1435+
# knative.dev/eventing v0.44.1-0.20250417160803-a7b2f1c9f66f
14361436
## explicit; go 1.23.0
14371437
knative.dev/eventing/cmd/heartbeats
14381438
knative.dev/eventing/pkg/apis
@@ -1525,7 +1525,7 @@ knative.dev/eventing/test/upgrade/prober/wathola/sender
15251525
# knative.dev/hack v0.0.0-20250331013814-c577ed9f7775
15261526
## explicit; go 1.21
15271527
knative.dev/hack
1528-
# knative.dev/networking v0.0.0-20250411212114-f1b08e6cfc7f
1528+
# knative.dev/networking v0.0.0-20250415164913-6268d931d247
15291529
## explicit; go 1.23.0
15301530
knative.dev/networking/pkg
15311531
knative.dev/networking/pkg/apis/networking
@@ -1659,7 +1659,7 @@ knative.dev/reconciler-test/pkg/resources/service
16591659
knative.dev/reconciler-test/pkg/resources/serviceaccount
16601660
knative.dev/reconciler-test/pkg/state
16611661
knative.dev/reconciler-test/resources/certificate
1662-
# knative.dev/serving v0.44.1-0.20250415122313-c7e30759e276
1662+
# knative.dev/serving v0.44.1-0.20250418122003-880ea71a0c15
16631663
## explicit; go 1.23.0
16641664
knative.dev/serving/pkg/apis/autoscaling
16651665
knative.dev/serving/pkg/apis/autoscaling/v1alpha1

0 commit comments

Comments
 (0)