mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Merge pull request #20495 from childsb/recycler_template_fix
Auto commit by PR queue bot
This commit is contained in:
commit
e3938ce15f
@ -452,7 +452,7 @@ func NewPersistentVolumeRecyclerPodTemplate() *api.Pod {
|
|||||||
Name: "pv-recycler",
|
Name: "pv-recycler",
|
||||||
Image: "gcr.io/google_containers/busybox",
|
Image: "gcr.io/google_containers/busybox",
|
||||||
Command: []string{"/bin/sh"},
|
Command: []string{"/bin/sh"},
|
||||||
Args: []string{"-c", "test -e /scrub && echo $(date) > /scrub/trash.txt && find /scrub -mindepth 1 -maxdepth 1 -delete && test -z \"$(ls -A /scrub)\" || exit 1"},
|
Args: []string{"-c", "test -e /scrub && rm -rf /scrub/..?* /scrub/.[!.]* /scrub/* && test -z \"$(ls -A /scrub)\" || exit 1"},
|
||||||
VolumeMounts: []api.VolumeMount{
|
VolumeMounts: []api.VolumeMount{
|
||||||
{
|
{
|
||||||
Name: "vol",
|
Name: "vol",
|
||||||
|
Loading…
Reference in New Issue
Block a user