You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- check if there is certificate-authority-data before reading it, default to empty string in case not available. Only write out not empty certificate data to the CA trust file.
- use $HOME environment variable instead of user.home system property to get the default .kube/config file location.
- add a branch to use the user/token as AccessTokenUserDetail info.
really annoying that the certificate data is not available, trying to fall back to fetching the CA from the server URL.
Currently only getting the server certificate, but I would like to save the root CA instead.
After some searching did not really get any closer. Tried using the chain that is passed into the trust manager but that also only contained the server cert.
- added fallback to retrieve certificate from api server url in KubectlConfigReader.kt
- added additional check on empty cert data in ClusterClientBuilder.kt
- improvements to init environment for oc command line
- use namespace of kubectl config as default namespace for the initialized environment.
- in case the kubectl config does not contain a CA to trust, try to retrieve it with an SSL handshake.
- limit TLS to v1.2 - see golang/go#35722 for more information.
initEnvironment should support the kubeconf file generated by the oc command line.
The text was updated successfully, but these errors were encountered: