mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
corrected file path for .kubernetes_vagrant_auth. Confirmed correct file location in kubernetes/cluster/kubecfg.sh
This commit is contained in:
parent
91b83f54db
commit
fede23f213
@ -121,10 +121,10 @@ cluster/kubecfg.sh
|
||||
|
||||
### Authenticating with your master
|
||||
|
||||
When using the vagrant provider in Kubernetes, the `cluster/kubecfg.sh` script will cache your credentials in a `~/.kubernetes_auth_vagrant` file so you will not be prompted for them in the future.
|
||||
When using the vagrant provider in Kubernetes, the `cluster/kubecfg.sh` script will cache your credentials in a `~/.kubernetes_vagrant_auth` file so you will not be prompted for them in the future.
|
||||
|
||||
```
|
||||
cat ~/.kubernetes_auth_vagrant
|
||||
cat ~/.kubernetes_vagrant_auth
|
||||
{ "User": "vagrant",
|
||||
"Password": "vagrant"}
|
||||
```
|
||||
@ -253,10 +253,10 @@ hack/e2e-test.sh
|
||||
|
||||
#### I just created the cluster, but I am getting authorization errors!
|
||||
|
||||
You probably have an incorrect ~/.kubernetes_auth_vagrant file for the cluster you are attempting to contact.
|
||||
You probably have an incorrect ~/.kubernetes_vagrant_auth file for the cluster you are attempting to contact.
|
||||
|
||||
```
|
||||
rm ~/.kubernetes_auth_vagrant
|
||||
rm ~/.kubernetes_vagrant_auth
|
||||
```
|
||||
|
||||
After using kubecfg.sh make sure that the correct credentials are set:
|
||||
|
Loading…
Reference in New Issue
Block a user