Fixed condition to print minikube none information

pull/1619/head
Aaron Prindle 2017-06-20 15:43:18 -07:00
parent 5c2b93c0bb
commit 4822d3aa33
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ WARNING: IT IS RECOMMENDED NOT TO RUN THE NONE DRIVER ON PERSONAL WORKSTATIONS
The 'none' driver will run an insecure kubernetes apiserver as root that may leave the host vulnerable to CSRF attacks
`)
if os.Getenv("CHANGE_MINIKUBE_NONE_USER") != "" {
if os.Getenv("CHANGE_MINIKUBE_NONE_USER") == "" {
fmt.Println(`When using the none driver, the kubectl config and credentials generated will be root owned and will appear in the root home directory.
You will need to move the files to the appropriate location and then set the correct permissions. An example of this is below:
sudo mv /root/.kube $HOME/.kube # this will overwrite any config you have. You may have to append the file contents manually