Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newJoinData (0.13 sec)

  1. cmd/kubeadm/app/cmd/join_test.go

    			defer klog.LogToStderr(true)
    
    			// sets cmd flags (that will be reflected on the join options)
    			for f, v := range tc.flags {
    				cmd.Flags().Set(f, v)
    			}
    
    			// test newJoinData method
    			data, err := newJoinData(cmd, tc.args, joinOptions, nil, kubeconfigFilePath)
    			klog.Flush()
    			msg := "WARNING: --control-plane is also required when passing control-plane"
    			if tc.expectWarn {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 12:26:20 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/join.go

    		externalcfg: externalcfg,
    	}
    }
    
    // newJoinData returns a new joinData struct to be used for the execution of the kubeadm join workflow.
    // This func takes care of validating joinOptions passed to the command, and then it converts
    // options into the internal JoinConfiguration type that is used as input all the phases in the kubeadm join workflow
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top