Prevent minikube profile command to create profile #6647
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
kind/feature
Categorizes issue or PR as related to a new feature.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
one un-intentional side effect of minikube profile command is creating a new profile.
minikube profiles should only be created by minikube start.
so if you by mistake do
(instead of list)
it will create an abandoned profile called list.
I would like to disable the creation of profile by minikube profile command.
however, 'minikube profile pname'
should still change the profile to 'pname' if it exists. but should not create a new one.
and it shoud also send a nice message to the user if it doesnt exist.
"The profie lis doesnt exist, if you want to create a profile you can by this command
minikube start -p lis
"
The text was updated successfully, but these errors were encountered: