kubeletctl: tls: failed to find any PEM data in certificate input
tls: failed to find any PEM data in certificate input
this is all I get back… my KUBECONFIG is properly set, I daily work with it switching between several configurations
seems the kubeletctl is not handling this yaml section properly
clusters:
- cluster:
certificate-authority-data: xyz
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (10 by maintainers)
getting the same issue
export KUBECONFIG=~/.kube/config
[] Using KUBECONFIG environment variable [] You can ignore it by modifying the KUBECONFIG environment variable, file “~/.kube/config” or use the “-i” switch 2021/02/24 18:30:23 tls: failed to find any PEM data in certificate input
Quick update, the problem is because we are not supporting:
We are working to support the execution of
awsto get the token for EKS. Btw, by using thekubiscan-saservice account it will work:OK, interesting. We were able to reproduce it on EKS, we are working on it, thank you.
sorry @g3rzi …I can’t recall how and if I circumvented this… I has a specific use case in which I had to be sure I had only one configuration in there and not several as I normally do, composing the env variable
KUBE_CONFIG… I’ll close it, unless someone else can provide you more info (I guess they can reopen it)thanks for the effort spent looking into it, I feel guilty I can’t provide more info