"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cmd/kubeadm/app/cmd/alpha/kubeconfig.go" between
kubernetes-1.18.14.tar.gz and kubernetes-1.18.15.tar.gz

About: Kubernetes is a platform for automating deployment, scaling, and operations of application containers across clusters of hosts (written in "Go"). 1.18.x series.

kubeconfig.go  (kubernetes-1.18.14):kubeconfig.go  (kubernetes-1.18.15)
skipping to change at line 62 skipping to change at line 62
Long: kubeconfigLongDesc, Long: kubeconfigLongDesc,
} }
cmd.AddCommand(newCmdUserKubeConfig(out)) cmd.AddCommand(newCmdUserKubeConfig(out))
return cmd return cmd
} }
// newCmdUserKubeConfig returns sub commands for kubeconfig phase // newCmdUserKubeConfig returns sub commands for kubeconfig phase
func newCmdUserKubeConfig(out io.Writer) *cobra.Command { func newCmdUserKubeConfig(out io.Writer) *cobra.Command {
initCfg := &kubeadmapiv1beta2.InitConfiguration{} initCfg := cmdutil.DefaultInitConfiguration()
clusterCfg := &kubeadmapiv1beta2.ClusterConfiguration{} clusterCfg := &kubeadmapiv1beta2.ClusterConfiguration{}
// Default values for the cobra help text // Default values for the cobra help text
kubeadmscheme.Scheme.Default(initCfg) kubeadmscheme.Scheme.Default(initCfg)
kubeadmscheme.Scheme.Default(clusterCfg) kubeadmscheme.Scheme.Default(clusterCfg)
var token, clientName string var token, clientName string
var organizations []string var organizations []string
// Creates the UX Command // Creates the UX Command
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)