Merge pull request #137252 from Chandan9112/fix-pod-observed-generation-test-image

Use localhost Image Reference in PodObservedGenerationTracking E2E Test
This commit is contained in:
Kubernetes Prow Robot
2026-03-03 06:30:59 +05:30
committed by GitHub

View File

@@ -695,7 +695,7 @@ var _ = SIGDescribe("Pods Extended (pod generation)", func() {
// Set the pod image to something that doesn't exist to induce a pull error
// to start with.
agnImage := pod.Spec.Containers[0].Image
pod.Spec.Containers[0].Image = "some-image-that-doesnt-exist"
pod.Spec.Containers[0].Image = "localhost/some-image-that-doesnt-exist"
ginkgo.By("submitting the pod to kubernetes")
pod, err := f.ClientSet.CoreV1().Pods(f.Namespace.Name).Create(ctx, pod, metav1.CreateOptions{})