Make clean-up on shutdown the default

This commit is contained in:
Alex Stockinger 2022-07-28 08:00:56 +00:00
parent df5f79dccc
commit 117eb6b29e

View File

@ -126,7 +126,7 @@ var (
func init() {
cmd.Flags().StringVar(&backend, "backend", k8s.Backend, fmt.Sprintf("The backend for the mesh. Possible values: %s", availableBackends))
cmd.Flags().BoolVar(&cleanUp, "clean-up", false, "Clean up network modifications on shutdown.")
cmd.Flags().BoolVar(&cleanUp, "clean-up", true, "Clean up network modifications on shutdown.")
cmd.Flags().BoolVar(&cleanUpIface, "clean-up-interface", false, "Should Kilo delete its interface when it shuts down? Only relevant when cleanup is true.")
cmd.Flags().BoolVar(&createIface, "create-interface", true, "Should kilo create an interface on startup?")
cmd.Flags().BoolVar(&cni, "cni", true, "Should Kilo manage the node's CNI configuration?")