committed by
Kubernetes Prow Robot
parent
943429988d
commit
8598dc5fb7
@@ -154,6 +154,18 @@ Unable to connect to the server: x509: certificate signed by unknown authority (
|
|||||||
regenerate a certificate if necessary. The certificates in a kubeconfig file
|
regenerate a certificate if necessary. The certificates in a kubeconfig file
|
||||||
are base64 encoded. The `base64 -d` command can be used to decode the certificate
|
are base64 encoded. The `base64 -d` command can be used to decode the certificate
|
||||||
and `openssl x509 -text -noout` can be used for viewing the certificate information.
|
and `openssl x509 -text -noout` can be used for viewing the certificate information.
|
||||||
|
- Unset the `KUBECONFIG` environment variable using:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
unset KUBECONFIG
|
||||||
|
```
|
||||||
|
|
||||||
|
Or set it to the default `KUBECONFIG` location:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
export KUBECONFIG=/etc/kubernetes/admin.conf
|
||||||
|
```
|
||||||
|
|
||||||
- Another workaround is to overwrite the existing `kubeconfig` for the "admin" user:
|
- Another workaround is to overwrite the existing `kubeconfig` for the "admin" user:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|||||||
Reference in New Issue
Block a user