Skip to content

Commit

Permalink
plz: fix command of init container
Browse files Browse the repository at this point in the history
  • Loading branch information
yorugac committed Aug 15, 2023
1 parent 96855a6 commit be149bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/resources/containers/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -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},
}
}

0 comments on commit be149bd

Please sign in to comment.