• Ed Bartosh's avatar
    kubeadm: fix kubeadm join using existing certs · 5b1cddef
    Ed Bartosh authored
    If 'kubeadm join' is run with --discovery-file option it still
    prompts for bootstrap token. This makes it impossible to use
    existing client certificates mentioned in the discovery file.
    
    Fixed by checking for empty bootstrap token only if discovery file
    is not specified.
    
    Fixes: kubernetes/kubeadm#1142
    5b1cddef
validation.go 18.9 KB