-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tls: failed to find any PEM data in certificate input #11
Comments
Hi, thank you for reporting. Meanwhile,
Are you using cloud deployment such ask AKE, EKS, etc or something else?
|
@zeph any update? |
getting the same issue export KUBECONFIG=~/.kube/config [] Using KUBECONFIG environment variable |
same here
|
I didn't step into this in a long time, sorry... I have nothing to add |
this tool is unable to read certificate-authority-data from Kubeconfig kubeletctl |
Hi everyone, We did number of tests from two machines and it worked for us. Do you use the following fields?
If yes, these fields should be in base64. It also shouldn't have multiple rows, the base64 should be in one row. Can you please share with us an example of how it appears in your config file? |
We were able to reproduce it by using a wrong data inside the field
You can get it by running:
Fix it to be one linear and add it to I explained it to someone else in #8 that expirienced a similar issue: |
Another way with a misconfigured config file:
|
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 thanks for the effort spent looking into it, I feel guilty I can't provide more info |
Thanks, sorry for the delay. I will keep watching for someone having the same issue. From our checks from different computers it seems a wrong config file but maybe we are missing something. |
Running into same issue, I am on EKS. Structure of ~/.kube/config
|
@karthikeayan thanks,
If yes, can you make sure it is in one line? |
@g3rzi you are right. I removed it to reduce noise. Yes, it is one line. I read your comments above and I don't think I have any issues with certificate-authority-data. |
OK, interesting. |
Quick update, the problem is because we are not supporting:
We are working to support the execution of
|
Hi @karthikeayan, We published release for version 1.9 which supports EKS, you can check it. |
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 properlyThe text was updated successfully, but these errors were encountered: