diff --git a/hack/tools/internal/tilt-prepare/main.go b/hack/tools/internal/tilt-prepare/main.go index 277fa4710a71..8bf3f2973812 100644 --- a/hack/tools/internal/tilt-prepare/main.go +++ b/hack/tools/internal/tilt-prepare/main.go @@ -806,7 +806,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) }