Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for fakediscovery (0.31 sec)

  1. cmd/kubeadm/app/cmd/options/constant.go

    	TokenDiscoverySkipCAHash = "discovery-token-unsafe-skip-ca-verification"
    
    	// FileDiscovery flag sets the file or URL from which to load cluster information (for file-based discovery)
    	FileDiscovery = "discovery-file"
    
    	// ControlPlane flag instructs kubeadm to create a new control plane instance on this node
    	ControlPlane = "control-plane"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/join.go

    	if cmd.Flags().Lookup(options.FileDiscovery) == nil {
    		if _, err := os.Stat(adminKubeConfigPath); os.IsNotExist(err) {
    			return nil, errors.Errorf("File %s does not exists. Please use 'kubeadm join phase control-plane-prepare' subcommands to generate it.", adminKubeConfigPath)
    		}
    		klog.V(1).Infof("[preflight] found discovery flags missing for this command. using FileDiscovery: %s", adminKubeConfigPath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/v1beta3/defaults.go

    		}
    	}
    
    	if obj.File != nil {
    		SetDefaults_FileDiscovery(obj.File)
    	}
    }
    
    // SetDefaults_FileDiscovery assigns default values for file based discovery
    func SetDefaults_FileDiscovery(obj *FileDiscovery) {
    	// Make sure file URL becomes path
    	if len(obj.KubeConfigPath) != 0 {
    		u, err := url.Parse(obj.KubeConfigPath)
    		if err == nil && u.Scheme == "file" {
    			obj.KubeConfigPath = u.Path
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/phases/join/preflight.go

    			options.TLSBootstrapToken,
    			options.TokenStr,
    			options.ControlPlane,
    			options.APIServerAdvertiseAddress,
    			options.APIServerBindPort,
    			options.NodeCRISocket,
    			options.NodeName,
    			options.FileDiscovery,
    			options.TokenDiscovery,
    			options.TokenDiscoveryCAHash,
    			options.TokenDiscoverySkipCAHash,
    			options.CertificateKey,
    			options.DryRun,
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/apis/kubeadm/v1beta3/types.go

    	// +optional
    	UnsafeSkipCAVerification bool `json:"unsafeSkipCAVerification,omitempty"`
    }
    
    // FileDiscovery is used to specify a file or URL to a kubeconfig file from which to load cluster information
    type FileDiscovery struct {
    	// KubeConfigPath is used to specify the actual file path or URL to the kubeconfig file from which to load cluster information
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/apis/kubeadm/v1beta4/defaults.go

    	}
    
    	if obj.File != nil {
    		SetDefaults_FileDiscovery(obj.File)
    	}
    }
    
    // SetDefaults_FileDiscovery assigns default values for file based discovery
    func SetDefaults_FileDiscovery(obj *FileDiscovery) {
    	// Make sure file URL becomes path
    	if len(obj.KubeConfigPath) != 0 {
    		u, err := url.Parse(obj.KubeConfigPath)
    		if err == nil && u.Scheme == "file" {
    			obj.KubeConfigPath = u.Path
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/apis/kubeadm/types.go

    	// the security of kubeadm since other nodes can impersonate the control-plane.
    	UnsafeSkipCAVerification bool
    }
    
    // FileDiscovery is used to specify a file or URL to a kubeconfig file from which to load cluster information
    type FileDiscovery struct {
    	// KubeConfigPath is used to specify the actual file path or URL to the kubeconfig file from which to load cluster information
    	KubeConfigPath string
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/apis/kubeadm/v1beta4/types.go

    	// +optional
    	UnsafeSkipCAVerification bool `json:"unsafeSkipCAVerification,omitempty"`
    }
    
    // FileDiscovery is used to specify a file or URL to a kubeconfig file from which to load cluster information
    type FileDiscovery struct {
    	// KubeConfigPath is used to specify the actual file path or URL to the kubeconfig file from which to load cluster information
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/phases/join/kubelet.go

    		Run:   runKubeletStartJoinPhase,
    		InheritFlags: []string{
    			options.CfgPath,
    			options.NodeCRISocket,
    			options.NodeName,
    			options.FileDiscovery,
    			options.TokenDiscovery,
    			options.TokenDiscoveryCAHash,
    			options.TokenDiscoverySkipCAHash,
    			options.TLSBootstrapToken,
    			options.TokenStr,
    			options.Patches,
    			options.DryRun,
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    			CACertPath: "/some/cert.crt",
    			Discovery: kubeadmapi.Discovery{
    				BootstrapToken: &kubeadmapi.BootstrapTokenDiscovery{
    					Token: "abcdef.1234567890123456@foobar",
    				},
    				File: &kubeadmapi.FileDiscovery{
    					KubeConfigPath: "foo",
    				},
    			},
    		}, false},
    		{&kubeadmapi.JoinConfiguration{ // Pass without JoinControlPlane
    			CACertPath: "/some/cert.crt",
    			Discovery: kubeadmapi.Discovery{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top