Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upminikube start --apiserver-names adds invalid entry to config.json #8658
Comments
|
Can't seem to reproduce |
|
This problem really exists for the following version:
|
|
@BlackCrowned it is right when you first run the |
|
@BlackCrowned I found the code which cause this error: https://github.com/kubernetes/minikube/blob/master/cmd/minikube/cmd/start_flags.go#L539
|
|
It is a bug caused by package
|
|
@BlackCrowned I write a simple program to express what happens.
Output:
|
|
@jemygraw Thank you for looking into this and creating a new issue! |


Steps to reproduce the issue:
Start minikube and set additional --apiserver-names:
minikube start --driver=docker --apiserver-names=localhost --apiserver-names=host.docker.internalOutput:
Expected Outcome:
In
.minikube/profiles/minikube/config.jsonadd entries "localhost" and "host.docker.internal" to ApiServerNames:Actual Outcome:
The Entry "[localhost,host.docker.internal]" was added: