Skip to content
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

kubeadm: add basic validation around kubelet.conf parsing #86216

Merged

Commits on Dec 12, 2019

  1. kubeadm: add basic validation around kubelet.conf parsing

    If the user has modified the kubelet.conf post TLS bootstrap
    to become invalid, the function getNodeNameFromKubeletConfig() can
    panic. This was observed to trigger in "kubeadm reset" use cases.
    
    Add basic validation and unit tests around parsing the kubelet.conf
    with the aforementioned function.
    neolit123 committed Dec 12, 2019
    Copy the full SHA
    effe299 View commit details
    Browse the repository at this point in the history