code: func NewPreflightPhase() workflow.Phase {
  	return workflow.Phase{
  		Name:    "preflight [api-server-endpoint]",
  		Short:   "Run join pre-flight checks",
  		Long:    "Run pre-flight checks for kubeadm join.",
  		Example: preflightExample,
  		Run:     runPreflight,
  		InheritFlags: []string{
  			options.CfgPath,
  			options.IgnorePreflightErrors,
  			options.TLSBootstrapToken,
  			options.TokenStr,
  			options.ControlPlane,
  			options.APIServerAdvertiseAddress,
  			options.APIServerBindPort,
  			options.NodeCRISocket,
  			options.NodeName,
  			options.FileDiscovery,
  			options.TokenDiscovery,
  			options.TokenDiscoveryCAHash,
  			options.TokenDiscoverySkipCAHash,
  			options.CertificateKey,
  		},
  	}
  }
docs: // NewPreflightPhase creates a kubeadm workflow phase that implements preflight checks for a new node join