databricks / click

The "Command Line Interactive Controller for Kubernetes"
Apache License 2.0
1.49k stars 84 forks source link

Error while setting the minikube context in Click #54

Closed sivam1 closed 3 years ago

sivam1 commented 6 years ago

[none] [none] [none] > context Context Api Server Address ++++++++ minikube https://192.168.99.100:443 ++++++++ [none] [none] [none] > context dev [Warning] Couldn't find/load context dev, now no current context. Error: Kube Error: Invalid Context Name [none] [none] [none] > context minikube Private key data was invalid: () [Warning] Couldn't find/load context minikube, now no current context. Error: Failed to get config: Can't read/convert cert or private key for minikube [none] [none] [none] >

Any help??

nicklan commented 6 years ago

Hrmm. How are you generating the minikube key/cert? This error means the underlying rust library we use to load/parse rsa private keys doesn't like the key your config file is pointing at. It's possible this is a dupe of #33.

haoyixin commented 6 years ago

+1

nicklan commented 3 years ago

this has been refactored a lot and should be fixed. please re-open or open a new issue if you still see it.