From b4a7bd788e11eefc0478e5820ca6d9ec96e58701 Mon Sep 17 00:00:00 2001 From: Thomas Jungblut Date: Thu, 30 Mar 2023 17:47:25 +0200 Subject: [PATCH] using shellimage instead --- test/extended/dr/common.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/extended/dr/common.go b/test/extended/dr/common.go index 0f39ccce8ad7..b12fe28296ed 100644 --- a/test/extended/dr/common.go +++ b/test/extended/dr/common.go @@ -13,6 +13,7 @@ import ( "text/tabwriter" "time" + "github.com/openshift/origin/test/extended/util/image" xssh "golang.org/x/crypto/ssh" corev1 "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" @@ -387,7 +388,7 @@ func ensureControlPlaneSSHAccess(oc *exutil.CLI, name string, namespace string) *applycorev1.Container(). WithName(containerName). WithSecurityContext(applycorev1.SecurityContext().WithPrivileged(true)). - WithImage("registry.ci.openshift.org/openshift/tools"). + WithImage(image.ShellImage()). WithVolumeMounts( applycorev1.VolumeMount().WithName("keys").WithMountPath(sshPath), ). @@ -470,7 +471,7 @@ func createKeyInstallerDaemon(oc *exutil.CLI, name string, namespace string) err *applycorev1.Container(). WithName("ssh-key-installer"). WithSecurityContext(applycorev1.SecurityContext().WithPrivileged(true)). - WithImage("registry.ci.openshift.org/openshift/tools"). + WithImage(image.ShellImage()). WithVolumeMounts( applycorev1.VolumeMount().WithName("ssh").WithMountPath(sshPath), ).