Skip to content

Commit

Permalink
fix issue 6561
Browse files Browse the repository at this point in the history
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
  • Loading branch information
Lyndon-Li committed Jul 31, 2023
1 parent 3e631ca commit b72e61e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions pkg/exposer/csi_snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,9 +366,8 @@ func (e *csiSnapshotExposer) createBackupPod(ctx context.Context, ownerObject co
Containers: []corev1.Container{
{
Name: podName,
Image: "alpine:latest",
Image: "gcr.io/google_containers/pause:latest",
ImagePullPolicy: corev1.PullIfNotPresent,
Command: []string{"sleep", "infinity"},
VolumeMounts: []corev1.VolumeMount{{
Name: backupPVC.Name,
MountPath: "/" + backupPVC.Name,
Expand Down
3 changes: 1 addition & 2 deletions pkg/exposer/generic_restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,8 @@ func (e *genericRestoreExposer) createRestorePod(ctx context.Context, ownerObjec
Containers: []corev1.Container{
{
Name: restorePodName,
Image: "alpine:latest",
Image: "gcr.io/google_containers/pause:latest",
ImagePullPolicy: corev1.PullIfNotPresent,
Command: []string{"sleep", "infinity"},
VolumeMounts: []corev1.VolumeMount{{
Name: restorePVCName,
MountPath: "/" + restorePVCName,
Expand Down

0 comments on commit b72e61e

Please sign in to comment.