diff --git a/pkg/resources/containers/s3.go b/pkg/resources/containers/s3.go index f2526954..d7b6d90f 100644 --- a/pkg/resources/containers/s3.go +++ b/pkg/resources/containers/s3.go @@ -12,7 +12,7 @@ func NewS3InitContainer(uri, image string, volumeMount corev1.VolumeMount) v1alp return v1alpha1.InitContainer{ Name: "archive-download", Image: image, - Command: []string{fmt.Sprintf("curl -X GET -L '%s' > /test/archive.tar ; ls -l /test", uri)}, + Command: []string{"sh", "-c", fmt.Sprintf("curl -X GET -L '%s' > /test/archive.tar ; ls -l /test", uri)}, VolumeMounts: []corev1.VolumeMount{volumeMount}, } }