kube-prompt icon indicating copy to clipboard operation
kube-prompt copied to clipboard

kube-prompt fails over x509: certificate signed by unknown authority

Open phani-hothur opened this issue 5 months ago • 1 comments

Our implementation has TELEPORT installed for access control. It's installed with TLS enabled.

Post its installation, we started the local proxy using , "tsh proxy kube", this lets us access the cluster using kubectl commands..

kubectl commands works fine.

➜ ~ kubectl get ns NAME STATUS AGE my namespaces ➜ ~ kube-prompt error Get https://teleportcluster/api/v1/namespaces: x509: certificate signed by unknown authority ➜ ~

where as kube-prompt fails on above error, can someone guide why would it fail when kubectl works fine? any leads on how to fix this?

phani-hothur avatar Jan 29 '24 21:01 phani-hothur

I'm not sure, but probably the client-go version must be updated. https://github.com/c-bata/kube-prompt/blob/8547400009dcb7340f3bbd6428113aa5ccc2c7b7/go.mod#L8

c-bata avatar Jan 30 '24 12:01 c-bata