Skip to content

Commit fb666c7

Browse files
authored
Merge pull request #17553 from hakman/fix-image-volumes
etcd-manager: Keep the ImageVolume feature gate for K8s 1.35
2 parents 896dbb2 + 8c6ac69 commit fb666c7

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

pkg/model/components/etcdmanager/options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func (b *EtcdManagerOptionsBuilder) BuildOptions(o *kops.Cluster) error {
4242

4343
// Image Volumes will become GA in Kubernetes 1.35
4444
// https://github.com/kubernetes/enhancements/pull/5450
45-
if b.ControlPlaneKubernetesVersion().IsLT("1.35.0") && o.HasImageVolumesSupport() {
45+
if b.ControlPlaneKubernetesVersion().IsLT("1.36.0") && o.HasImageVolumesSupport() {
4646
if clusterSpec.ControlPlaneKubelet == nil {
4747
clusterSpec.ControlPlaneKubelet = &kops.KubeletConfigSpec{}
4848
}

tests/e2e/pkg/tester/skip_regex.go

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ func (t *Tester) setSkipRegexFlag() error {
8383
// https://github.com/kubernetes/kubernetes/blob/418ae605ec1b788d43bff7ac44af66d8b669b833/test/e2e/network/networking.go#L135
8484
skipRegex += "|should.check.kube-proxy.urls"
8585

86-
if k8sVersion.Minor < 34 {
86+
if k8sVersion.Minor < 35 {
8787
// This seems to be specific to the kube-proxy replacement
88-
// < 34 so we look at this again
88+
// < 35 so we look at this again
8989
skipRegex += "|Services.should.support.externalTrafficPolicy.Local.for.type.NodePort"
9090
// https://github.com/kubernetes/kubernetes/issues/129221
91-
// < 34 so we look at this again
91+
// < 35 so we look at this again
9292
skipRegex += "|Services.should.implement.NodePort.and.HealthCheckNodePort.correctly.when.ExternalTrafficPolicy.changes"
9393
}
9494

@@ -107,21 +107,21 @@ func (t *Tester) setSkipRegexFlag() error {
107107
skipRegex += "|should.create.a.Pod.with.SCTP.HostPort"
108108
}
109109

110-
if k8sVersion.Minor < 34 {
111-
// < 34 so we revisit this in future
110+
if k8sVersion.Minor < 35 {
111+
// < 35 so we revisit this in future
112112
// This test checks for kube-proxy on port 10249 (`127.0.0.1:10249/proxyMode`)
113113
// It appears that the cilium kube-proxy replacement does not implement this.
114114
// Ref: https://github.com/kubernetes/kubernetes/issues/126903
115115
skipRegex += "|KubeProxy.should.update.metric.for.tracking.accepted.packets.destined.for.localhost.nodeports"
116116
}
117117
} else if networking.Calico != nil {
118-
if cluster.Spec.LegacyCloudProvider == "gce" && k8sVersion.Minor < 34 {
119-
// < 34 so we look at this again
118+
if cluster.Spec.LegacyCloudProvider == "gce" && k8sVersion.Minor < 35 {
119+
// < 35 so we look at this again
120120
skipRegex += "|Services.should.implement.NodePort.and.HealthCheckNodePort.correctly.when.ExternalTrafficPolicy.changes"
121121
}
122122
} else if networking.Flannel != nil {
123-
if k8sVersion.Minor < 34 {
124-
// < 34 so we look at this again
123+
if k8sVersion.Minor < 35 {
124+
// < 35 so we look at this again
125125
skipRegex += "|Services.should.implement.NodePort.and.HealthCheckNodePort.correctly.when.ExternalTrafficPolicy.changes"
126126
}
127127
} else if networking.KubeRouter != nil {
@@ -183,8 +183,8 @@ func (t *Tester) setSkipRegexFlag() error {
183183
// ref: https://github.com/kubernetes/kubernetes/issues/123255
184184
// ref: https://github.com/kubernetes/kubernetes/issues/121018
185185
// ref: https://github.com/kubernetes/kubernetes/pull/126896
186-
// < 34 so we look at this again
187-
if k8sVersion.Minor < 34 {
186+
// < 35 so we look at this again
187+
if k8sVersion.Minor < 35 {
188188
skipRegex += "|Services.should.function.for.service.endpoints.using.hostNetwork"
189189
}
190190

0 commit comments

Comments
 (0)