Fixed condition to print minikube none information
parent
5c2b93c0bb
commit
4822d3aa33
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue