Skip to content

Commit

Permalink
using shellimage instead
Browse files Browse the repository at this point in the history
  • Loading branch information
tjungblu committed Mar 30, 2023
1 parent 2a7f701 commit b4a7bd7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/extended/dr/common.go
Expand Up @@ -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"
Expand Down Expand Up @@ -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),
).
Expand Down Expand Up @@ -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),
).
Expand Down

0 comments on commit b4a7bd7

Please sign in to comment.