diff --git a/hack/tools/tilt-prepare/main.go b/hack/tools/tilt-prepare/main.go index a2c5ef28a56f..5aaa4e757401 100644 --- a/hack/tools/tilt-prepare/main.go +++ b/hack/tools/tilt-prepare/main.go @@ -787,7 +787,7 @@ func prepareWorkload(name, prefix, binaryName, containerName string, objs []unst debugArgs := make([]string, 0, len(args)) for _, a := range args { if a == "--leader-elect" || a == "--leader-elect=true" { - continue + a = "--leader-elect=false" } debugArgs = append(debugArgs, a) }