fix PV Recycle issue when running on multi-arch

pull/6/head
Di Xu 2017-10-16 11:29:15 +08:00
parent d7e56d5330
commit f9e9fc84aa
1 changed files with 1 additions and 1 deletions

View File

@ -711,7 +711,7 @@ func NewPersistentVolumeRecyclerPodTemplate() *v1.Pod {
Containers: []v1.Container{
{
Name: "pv-recycler",
Image: "gcr.io/google_containers/busybox",
Image: "busybox:latest",
Command: []string{"/bin/sh"},
Args: []string{"-c", "test -e /scrub && rm -rf /scrub/..?* /scrub/.[!.]* /scrub/* && test -z \"$(ls -A /scrub)\" || exit 1"},
VolumeMounts: []v1.VolumeMount{