diff --git a/cmd/webhook.go b/cmd/webhook.go index 15cca64..625d165 100644 --- a/cmd/webhook.go +++ b/cmd/webhook.go @@ -289,7 +289,7 @@ func createPatch(pod *corev1.Pod, sidecarConfigTemplate *Config, clientset *kube // Configure the sidecar container sidecarConfig.Containers[0].Args = []string{"-c", "for i in {1..5}; do /goofys --cheap --endpoint " + s3Url + " --http-timeout 1500s --dir-mode 0777 --file-mode 0777 --debug_fuse --debug_s3 -o allow_other -f " + - hashedBucketName + "/ /tmp;echo '---- goofys command failed: trying again'; sleep 1; done;" + + hashedBucketName + " /tmp;echo '---- goofys command failed: trying again'; sleep 1; done;" + "echo 'goofys command failed 5 times sleeping'; sleep infinity"} filerBucketName := limitString(svmName, 5) + "-" + hashedBucketName