Skip to content

Commit 392d412

Browse files
upgrade to latest dependencies
bumping knative.dev/hack cad8c71...e92a16a: > e92a16a set min to 1.30 (# 405) bumping knative.dev/serving 06281eb...8556b88: > 8556b88 fix dependency name (# 15674) > 83fe1c2 fix dependabot config (# 15672) > 79f8c3f fix dependabot config (# 15668) > 0d589da Add support for hostPath (# 15648) > df03027 fix: fixed the pinned dependencies issue (# 15475) > da8d2d1 Allow securityContext.Privileged to be configurable (# 15643) > c0f181d Update net-contour nightly (# 15665) > 746e72f Update net-gateway-api nightly (# 15658) > 750f9a2 Drop k8s v1.28 from kind testing and update cluster version to 1.30 in e2e (# 15655) > daae9fd Update net-contour nightly (# 15660) > b4c8ac9 Update community files (# 15661) > 095f876 Update net-kourier nightly (# 15659) Signed-off-by: Knative Automation <automation@knative.team>
1 parent ed4771f commit 392d412

File tree

6 files changed

+20
-11
lines changed

6 files changed

+20
-11
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ require (
1212
k8s.io/api v0.30.3
1313
k8s.io/apimachinery v0.30.3
1414
k8s.io/client-go v0.30.3
15-
knative.dev/hack v0.0.0-20241223131256-cad8c71aac6f
15+
knative.dev/hack v0.0.0-20241227080210-e92a16ae0893
1616
knative.dev/pkg v0.0.0-20241223131119-4c901591eb4a
17-
knative.dev/serving v0.43.1-0.20241220114912-06281ebc6d81
17+
knative.dev/serving v0.43.1-0.20250108192758-8556b88ee01e
1818
)
1919

2020
require (

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -718,14 +718,14 @@ k8s.io/kube-openapi v0.0.0-20240808142205-8e686545bdb8 h1:1Wof1cGQgA5pqgo8MxKPtf
718718
k8s.io/kube-openapi v0.0.0-20240808142205-8e686545bdb8/go.mod h1:Os6V6dZwLNii3vxFpxcNaTmH8LJJBkOTg1N0tOA0fvA=
719719
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 h1:pUdcCO1Lk/tbT5ztQWOBi5HBgbBP1J8+AsQnQCKsi8A=
720720
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
721-
knative.dev/hack v0.0.0-20241223131256-cad8c71aac6f h1:oxX1EcylITqArcVb2AdYTD8dPvgx/4+J4YbA1f0QXQg=
722-
knative.dev/hack v0.0.0-20241223131256-cad8c71aac6f/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
721+
knative.dev/hack v0.0.0-20241227080210-e92a16ae0893 h1:zy7LwNJ2S7obPMHVAtxQgZPXxBTZzoxHbtb6uhxOl7Q=
722+
knative.dev/hack v0.0.0-20241227080210-e92a16ae0893/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
723723
knative.dev/networking v0.0.0-20241213084654-8b69a35edbf3 h1:nJzte4HE7qkVQ/AEWDgFm+3yOWuRjGcaRacmlD2vu9I=
724724
knative.dev/networking v0.0.0-20241213084654-8b69a35edbf3/go.mod h1:nhaf+dGDhLRg0ez4Bm8aX79LD3ohZlSCgsGdu5TbRHU=
725725
knative.dev/pkg v0.0.0-20241223131119-4c901591eb4a h1:31rLKAGHeQEkxMOc/h4XCmHOTiR/1R4NRPvJ3wg05WY=
726726
knative.dev/pkg v0.0.0-20241223131119-4c901591eb4a/go.mod h1:C2dxK66GlycMOS0SKqv0SMAnWkxsYbG4hkH32Xg1qD0=
727-
knative.dev/serving v0.43.1-0.20241220114912-06281ebc6d81 h1:UCYaiznNE2iUl5JJzfhtDKH6K25u276k4A1ky2I2k48=
728-
knative.dev/serving v0.43.1-0.20241220114912-06281ebc6d81/go.mod h1:t4ry8crQ2u732iZdr6nBcOfx9ulNc1uyfS2TeALLOKM=
727+
knative.dev/serving v0.43.1-0.20250108192758-8556b88ee01e h1:Dv/azLWZ4MyzVMJFpUs28O5Rujpj5sbv8HaKRH0hf78=
728+
knative.dev/serving v0.43.1-0.20250108192758-8556b88ee01e/go.mod h1:t4ry8crQ2u732iZdr6nBcOfx9ulNc1uyfS2TeALLOKM=
729729
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
730730
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
731731
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=

vendor/knative.dev/hack/infra-library.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ source "$(dirname "${BASH_SOURCE[0]:-$0}")/library.sh"
2121

2222
# Default Kubernetes version to use for GKE, if not overridden with
2323
# the `--cluster-version` parameter.
24-
readonly GKE_DEFAULT_CLUSTER_VERSION="1.28"
24+
readonly GKE_DEFAULT_CLUSTER_VERSION="1.30"
2525

2626
# Dumps the k8s api server metrics. Spins up a proxy, waits a little bit and
2727
# dumps the metrics to ${ARTIFACTS}/k8s.metrics.txt

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ func defaultFeaturesConfig() *Features {
7272
ContainerSpecAddCapabilities: Disabled,
7373
PodSpecTolerations: Disabled,
7474
PodSpecVolumesEmptyDir: Enabled,
75+
PodSpecVolumesHostPath: Disabled,
7576
PodSpecPersistentVolumeClaim: Disabled,
7677
PodSpecPersistentVolumeWrite: Disabled,
7778
QueueProxyMountPodInfo: Disabled,
@@ -107,6 +108,7 @@ func NewFeaturesConfigFromMap(data map[string]string) (*Features, error) {
107108
asFlag("kubernetes.containerspec-addcapabilities", &nc.ContainerSpecAddCapabilities),
108109
asFlag("kubernetes.podspec-tolerations", &nc.PodSpecTolerations),
109110
asFlag("kubernetes.podspec-volumes-emptydir", &nc.PodSpecVolumesEmptyDir),
111+
asFlag("kubernetes.podspec-volumes-hostpath", &nc.PodSpecVolumesHostPath),
110112
asFlag("kubernetes.podspec-hostipc", &nc.PodSpecHostIPC),
111113
asFlag("kubernetes.podspec-hostpid", &nc.PodSpecHostPID),
112114
asFlag("kubernetes.podspec-hostnetwork", &nc.PodSpecHostNetwork),
@@ -151,6 +153,7 @@ type Features struct {
151153
ContainerSpecAddCapabilities Flag
152154
PodSpecTolerations Flag
153155
PodSpecVolumesEmptyDir Flag
156+
PodSpecVolumesHostPath Flag
154157
PodSpecInitContainers Flag
155158
PodSpecPersistentVolumeClaim Flag
156159
PodSpecPersistentVolumeWrite Flag

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ func VolumeSourceMask(ctx context.Context, in *corev1.VolumeSource) *corev1.Volu
6666
out.PersistentVolumeClaim = in.PersistentVolumeClaim
6767
}
6868

69+
if cfg.Features.PodSpecVolumesHostPath != config.Disabled {
70+
out.HostPath = in.HostPath
71+
}
72+
6973
// Too many disallowed fields to list
7074

7175
return out
@@ -710,10 +714,12 @@ func SecurityContextMask(ctx context.Context, in *corev1.SecurityContext) *corev
710714
// SeccompProfile defaults to "unconstrained", but the safe values are
711715
// "RuntimeDefault" or "Localhost" (with localhost path set)
712716
out.SeccompProfile = in.SeccompProfile
713-
717+
// Only allow setting Privileged to false
718+
if in.Privileged != nil && !*in.Privileged {
719+
out.Privileged = in.Privileged
720+
}
714721
// Disallowed
715722
// This list is unnecessary, but added here for clarity
716-
out.Privileged = nil
717723
out.SELinuxOptions = nil
718724
out.ProcMount = nil
719725

vendor/modules.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ k8s.io/utils/pointer
795795
k8s.io/utils/ptr
796796
k8s.io/utils/strings/slices
797797
k8s.io/utils/trace
798-
# knative.dev/hack v0.0.0-20241223131256-cad8c71aac6f
798+
# knative.dev/hack v0.0.0-20241227080210-e92a16ae0893
799799
## explicit; go 1.21
800800
knative.dev/hack
801801
# knative.dev/networking v0.0.0-20241213084654-8b69a35edbf3
@@ -838,7 +838,7 @@ knative.dev/pkg/tracing/propagation
838838
knative.dev/pkg/tracing/propagation/tracecontextb3
839839
knative.dev/pkg/tracker
840840
knative.dev/pkg/websocket
841-
# knative.dev/serving v0.43.1-0.20241220114912-06281ebc6d81
841+
# knative.dev/serving v0.43.1-0.20250108192758-8556b88ee01e
842842
## explicit; go 1.22.7
843843
knative.dev/serving/pkg/activator
844844
knative.dev/serving/pkg/apis/autoscaling

0 commit comments

Comments
 (0)