• Dmitry Rozhkov's avatar
    kubeadm: add final fallback to constants.CurrentKubernetesVersion · 9e25a00e
    Dmitry Rozhkov authored
    It may happen that both the git version and the remote version
    are broken/inaccessible. In this case the broken remote version
    would be used.
    
    To overcome this situation fall back to the constant CurrentKubernetesVersion.
    
    The alternative could be os.Exit(1).
    
    Also this change fixes Bazel-based unit tests in air-gapped environment.
    9e25a00e