You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now minikube passes a set of flags to localkube via ssh at startup time. This works, but is problematic as we try to let minikube support multiple versions of localkube, and change the flags localkube takes over time. See #511 for one example of adding a flag.
Here are some ideas:
Add a localkube command (or just parse the help text) to output what flags it takes.
Then minikube could first call that command, compare the list of valid flags with the list of flags the user wants to pass, and warn/error appropriately.
Move flag passing to a config file
Then locallkube could only use the flags it knows about, and log a warning about ignored flags. This would be harder to get the warning back to the user automatically, but would avoid errors in the case of extra flags.
Any other ideas? Depending on what we do here, we might need to go back and re-release the last several localkube builds.
Right now minikube passes a set of flags to localkube via ssh at startup time. This works, but is problematic as we try to let minikube support multiple versions of localkube, and change the flags localkube takes over time. See #511 for one example of adding a flag.
Here are some ideas:
Add a localkube command (or just parse the help text) to output what flags it takes.
Then minikube could first call that command, compare the list of valid flags with the list of flags the user wants to pass, and warn/error appropriately.
Move flag passing to a config file
Then locallkube could only use the flags it knows about, and log a warning about ignored flags. This would be harder to get the warning back to the user automatically, but would avoid errors in the case of extra flags.
Any other ideas? Depending on what we do here, we might need to go back and re-release the last several localkube builds.
cc @aaron-prindle @r2d4
The text was updated successfully, but these errors were encountered: