Skip to content

Commit

Permalink
chore: use base and test image from registry.k8s.io (#737)
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Ramasekar <[email protected]>
  • Loading branch information
aramase committed Feb 7, 2023
1 parent 5cc79ca commit e471d98
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docker/proxy-init.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASEIMAGE=k8s.gcr.io/build-image/debian-iptables:bullseye-v1.5.1
ARG BASEIMAGE=registry.k8s.io/build-image/debian-iptables:bullseye-v1.5.1

FROM --platform=${TARGETPLATFORM:-linux/amd64} ${BASEIMAGE}

Expand Down
2 changes: 1 addition & 1 deletion test/e2e/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func createPodUsingDeploymentWithServiceAccount(f *framework.Framework, serviceA
Containers: []corev1.Container{
{
Name: "busybox",
Image: "k8s.gcr.io/e2e-test-images/busybox:1.29-1", // this image supports both Linux and Windows
Image: "registry.k8s.io/e2e-test-images/busybox:1.29-4", // this image supports both Linux and Windows
Command: []string{"sleep"},
Args: []string{"3600"},
ImagePullPolicy: corev1.PullIfNotPresent,
Expand Down
12 changes: 6 additions & 6 deletions test/e2e/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var _ = ginkgo.Describe("Webhook", func() {
f.ClientSet,
f.Namespace.Name,
serviceAccount,
"k8s.gcr.io/e2e-test-images/busybox:1.29-1",
"registry.k8s.io/e2e-test-images/busybox:1.29-4",
[]string{"sleep"},
[]string{"3600"},
nil,
Expand All @@ -44,7 +44,7 @@ var _ = ginkgo.Describe("Webhook", func() {
f.ClientSet,
f.Namespace.Name,
serviceAccount,
"k8s.gcr.io/e2e-test-images/busybox:1.29-1",
"registry.k8s.io/e2e-test-images/busybox:1.29-4",
[]string{"sleep"},
[]string{"3600"},
nil,
Expand All @@ -54,7 +54,7 @@ var _ = ginkgo.Describe("Webhook", func() {
)
pod.Spec.InitContainers = []corev1.Container{{
Name: "init-container",
Image: "k8s.gcr.io/e2e-test-images/busybox:1.29-1",
Image: "registry.k8s.io/e2e-test-images/busybox:1.29-4",
ImagePullPolicy: corev1.PullIfNotPresent,
Command: []string{"sleep"},
Args: []string{"5"},
Expand Down Expand Up @@ -96,7 +96,7 @@ var _ = ginkgo.Describe("Webhook", func() {
f.ClientSet,
f.Namespace.Name,
serviceAccount,
"k8s.gcr.io/e2e-test-images/busybox:1.29-1",
"registry.k8s.io/e2e-test-images/busybox:1.29-4",
[]string{"sleep"},
[]string{"3600"},
nil,
Expand All @@ -119,7 +119,7 @@ var _ = ginkgo.Describe("Webhook", func() {
f.ClientSet,
f.Namespace.Name,
serviceAccount,
"k8s.gcr.io/e2e-test-images/busybox:1.29-1",
"registry.k8s.io/e2e-test-images/busybox:1.29-4",
[]string{"sleep"},
[]string{"3600"},
nil,
Expand All @@ -137,7 +137,7 @@ var _ = ginkgo.Describe("Webhook", func() {
f.ClientSet,
f.Namespace.Name,
serviceAccount,
"k8s.gcr.io/e2e-test-images/busybox:1.29-1",
"registry.k8s.io/e2e-test-images/busybox:1.29-4",
[]string{"sleep"},
[]string{"3600"},
nil,
Expand Down

0 comments on commit e471d98

Please sign in to comment.