-
Notifications
You must be signed in to change notification settings - Fork 54
Closed
Description
After trying this snippet (thanks to @akshaymankar for proving the functionality) and replacing it with my local kube configuration file I got the following error:
haskell-test-exe: HttpExceptionRequest Request {
host = "172.24.59.88"
port = 6443
secure = True
requestHeaders = [("User-Agent","kubernetes-client-core/0.1.0.0"),("accept","application/json")]
path = "/api/v1/pods"
queryString = ""
method = "GET"
proxy = Nothing
rawBody = False
redirectCount = 10
responseTimeout = ResponseTimeoutDefault
requestVersion = HTTP/1.1
}
(InternalException (HandshakeFailed (Error_Protocol ("certificate rejected: [NameMismatch \"172.24.59.88\"]",True,CertificateUnknown))))
I'm slightly out of my domain with managing certificates, but it seems that the underlying SSL library (#63?) can not find the needed certificates / does not trust them for some reason.
To set up helm it sufficed to point it to the kubernetes config file, so I'm not really sure what to do now.
Versions:
> kubectl version --short
Client Version: v1.15.0
Server Version: v1.15.4
> stack --numeric-version
1.9.3Currently using the 95eb28b commit for both kubernetes-client and kubernetes-client-core.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels