Skip to content

Commit 450d258

Browse files
Merge pull request #30346 from bertinatto/rebase-1.34
OCPSTRAT-2371: Update to Kubernetes v1.34.1
2 parents d629cf1 + 49e70f0 commit 450d258

File tree

3,211 files changed

+239885
-169583
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,211 files changed

+239885
-169583
lines changed

go.mod

Lines changed: 114 additions & 115 deletions
Large diffs are not rendered by default.

go.sum

Lines changed: 214 additions & 212 deletions
Large diffs are not rendered by default.

images/tests/Dockerfile.rhel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ RUN PACKAGES="git gzip util-linux" && \
2020
LABEL io.k8s.display-name="OpenShift End-to-End Tests" \
2121
io.openshift.release.operator=true \
2222
io.k8s.description="OpenShift is a platform for developing, building, and deploying containerized applications." \
23-
io.openshift.build.versions="kubernetes-tests=1.33.4" \
23+
io.openshift.build.versions="kubernetes-tests=1.34.1" \
2424
io.openshift.tags="openshift,tests,e2e"

pkg/monitor/monitor_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ func TestMonitor_Events(t *testing.T) {
109109
},
110110
}
111111
if got := m.recorder.Intervals(tt.from, tt.to); !reflect.DeepEqual(got, tt.want) {
112-
t.Errorf("%s", diff.ObjectReflectDiff(tt.want, got))
112+
t.Errorf("%s", diff.Diff(tt.want, got))
113113
}
114114
})
115115
}

pkg/resourcewatch/git/diff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"k8s.io/apimachinery/pkg/runtime"
1111
"k8s.io/apimachinery/pkg/util/managedfields"
1212
"k8s.io/apimachinery/pkg/util/sets"
13-
"sigs.k8s.io/structured-merge-diff/v4/typed"
13+
"sigs.k8s.io/structured-merge-diff/v6/typed"
1414
)
1515

1616
var typeConverter managedfields.TypeConverter = managedfields.NewDeducedTypeConverter()

test/extended/cli/debug.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ spec:
308308
}
309309
o.Expect(readyWorkerNode).NotTo(o.BeEmpty(), "No ready worker node found")
310310

311-
err = oc.AsAdmin().Run("debug").Args("node/"+readyWorkerNode, "--image="+image.LocationFor("registry.k8s.io/e2e-test-images/agnhost:2.53"), "--keep-labels=true", "--preserve-pod=true", "--", "sleep", "1").Execute()
311+
err = oc.AsAdmin().Run("debug").Args("node/"+readyWorkerNode, "--image="+image.LocationFor("registry.k8s.io/e2e-test-images/agnhost:2.56"), "--keep-labels=true", "--preserve-pod=true", "--", "sleep", "1").Execute()
312312
pods, err := oc.AdminKubeClient().CoreV1().Pods(ns).List(context.TODO(), metav1.ListOptions{LabelSelector: "debug.openshift.io/managed-by=oc-debug"})
313313
o.Expect(err).NotTo(o.HaveOccurred())
314314
o.Expect(pods.Items).To(o.HaveLen(1))
@@ -329,7 +329,7 @@ spec:
329329
})
330330
o.Expect(err).NotTo(o.HaveOccurred(), "Expected debug pod to be deleted")
331331

332-
err = oc.AsAdmin().Run("debug").Args("node/"+readyWorkerNode, "--image="+image.LocationFor("registry.k8s.io/e2e-test-images/agnhost:2.53"), "--preserve-pod=true", "--", "sleep", "1").Execute()
332+
err = oc.AsAdmin().Run("debug").Args("node/"+readyWorkerNode, "--image="+image.LocationFor("registry.k8s.io/e2e-test-images/agnhost:2.56"), "--preserve-pod=true", "--", "sleep", "1").Execute()
333333

334334
// Tests the code fix in https://github.com/openshift/oc/pull/2074
335335
o.Expect(err).NotTo(o.HaveOccurred())

test/extended/controller_manager/deploy_defaults.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ var _ = g.Describe("[sig-apps][Feature:OpenShiftControllerManager]", func() {
144144

145145
clearTransient(appsDC)
146146
if !reflect.DeepEqual(appsDC, tc.apps) {
147-
t.Errorf("Apps DC differs from expected output: %s", diff.ObjectReflectDiff(appsDC, tc.apps))
147+
t.Errorf("Apps DC differs from expected output: %s", diff.Diff(appsDC, tc.apps))
148148
}
149149
}
150150
})

test/extended/deployments/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ func (d *deployerPodInvariantChecker) UpdatePod(pod *corev1.Pod) {
727727
spew.Sprintf("%v: detected deployer pod '%s/%s' transition from terminated phase: %q -> %q;\n"+
728728
"old: %#+v\nnew: %#+v\ndiff: %s",
729729
time.Now(), pod.Namespace, pod.Name, oldPhase, pod.Status.Phase,
730-
oldPod, pod, diff.ObjectReflectDiff(oldPod, pod)))
730+
oldPod, pod, diff.Diff(oldPod, pod)))
731731

732732
d.cache[key][index] = pod
733733

test/extended/etcd/etcd_storage_path.go

Lines changed: 6 additions & 211 deletions
Large diffs are not rendered by default.

test/extended/imageapis/imagesigning.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ var _ = g.Describe("[sig-imageregistry][Feature:Image] signature", func() {
4040
}
4141

4242
if len(image.Signatures) != 0 {
43-
t.Fatalf("expected empty signatures, not: %s", diff.ObjectDiff(image.Signatures, []imagev1.ImageSignature{}))
43+
t.Fatalf("expected empty signatures, not: %s", diff.Diff(image.Signatures, []imagev1.ImageSignature{}))
4444
}
4545

4646
userClient := oc.ImageClient()
4747

4848
if len(image.Signatures) != 0 {
49-
t.Fatalf("expected empty signatures, not: %s", diff.ObjectDiff(image.Signatures, []imagev1.ImageSignature{}))
49+
t.Fatalf("expected empty signatures, not: %s", diff.Diff(image.Signatures, []imagev1.ImageSignature{}))
5050
}
5151

5252
// add some dummy signature
@@ -139,7 +139,7 @@ var _ = g.Describe("[sig-imageregistry][Feature:Image] signature", func() {
139139
}
140140

141141
if len(image.Signatures) != 0 {
142-
t.Fatalf("expected empty signatures, not: %s", diff.ObjectDiff(image.Signatures, []imagev1.ImageSignature{}))
142+
t.Fatalf("expected empty signatures, not: %s", diff.Diff(image.Signatures, []imagev1.ImageSignature{}))
143143
}
144144

145145
userClient := oc.ImageClient()
@@ -289,7 +289,7 @@ func compareSignatures(t g.GinkgoTInterface, a, b imagev1.ImageSignature) {
289289
a.ObjectMeta = b.ObjectMeta
290290
a.Name = aName
291291
if !reflect.DeepEqual(a, b) {
292-
t.Errorf("created and contained signatures differ: %v", diff.ObjectDiff(a, b))
292+
t.Errorf("created and contained signatures differ: %v", diff.Diff(a, b))
293293
}
294294
}
295295

0 commit comments

Comments
 (0)