• Rostislav M. Georgiev's avatar
    kubeadm: Split discovery from JoinConfiguration · 576b8d3f
    Rostislav M. Georgiev authored
    This change splits out discovery fields from JoinConfiguration by performing
    the following changes:
    
    - Introduce a BootstrapTokenDiscovery structure, that houses configuration
      options needed for bootstrap token based discovery.
    
    - Introduce a FileDiscovery structure, that houses configuration options
      (currently only a single option) needed for KubeConfig based discovery.
    
    - Introduce a Discovery structure, that houses common options (such as
      discovery timeout and TLS bootstrap token) as well as pointer to an instance
      of either BootstrapTokenDiscovery or FileDiscovery structures.
    
    - Replace the old discovery related JoinConfiguration members with a single
      Discovery member.
    
    This change is required in order to cleanup the code of unnecessary logic and
    make the serialized JoinConfiguration more structured (and therefore, more
    intuitive).
    Signed-off-by: 's avatarRostislav M. Georgiev <rostislavg@vmware.com>
    576b8d3f
Name
Last commit
Last update
..
clicheck Loading commit data...
cloud-controller-manager Loading commit data...
controller-manager Loading commit data...
gendocs Loading commit data...
genkubedocs Loading commit data...
genman Loading commit data...
genswaggertypedocs Loading commit data...
genutils Loading commit data...
genyaml Loading commit data...
hyperkube Loading commit data...
importverifier Loading commit data...
kube-apiserver Loading commit data...
kube-controller-manager Loading commit data...
kube-proxy Loading commit data...
kube-scheduler Loading commit data...
kubeadm Loading commit data...
kubectl Loading commit data...
kubelet Loading commit data...
kubemark Loading commit data...
linkcheck Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...