Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for ClusterConfiguration (0.44 sec)

  1. cmd/kubeadm/app/images/images_test.go

    		expected string
    		cfg      *kubeadmapi.ClusterConfiguration
    	}{
    		{
    			cfg: &kubeadmapi.ClusterConfiguration{
    				ImageRepository:   "real.repo",
    				KubernetesVersion: testversion,
    				Etcd: kubeadmapi.Etcd{
    					Local: &kubeadmapi.LocalEtcd{},
    				},
    			},
    			expected: "real.repo/etcd:" + testEtcdVer.String(),
    		},
    		{
    			cfg: &kubeadmapi.ClusterConfiguration{
    				ImageRepository:   "real.repo",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 06:33:37 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/componentconfigs/fakeconfig_test.go

    	currentClusterConfigVersion = kubeadmapiv1.SchemeGroupVersion.Version
    
    	// currentFooClusterConfig is a minimal currently supported ClusterConfiguration
    	// with a well known value of clusterName (in this case `foo`)
    	currentFooClusterConfig = fmt.Sprintf(`
    		apiVersion: %s
    		kind: ClusterConfiguration
    		clusterName: foo
    	`, kubeadmapiv1.SchemeGroupVersion)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 04 15:36:00 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/endpoint_test.go

    			cfg: &kubeadmapi.InitConfiguration{
    				ClusterConfiguration: kubeadmapi.ClusterConfiguration{
    					ControlPlaneEndpoint: "bad!!.cp.k8s.io",
    				},
    			},
    			expectedError: true,
    		},
    		{
    			name: "fail if invalid ControlPlaneEndpoint (ip4)",
    			cfg: &kubeadmapi.InitConfiguration{
    				ClusterConfiguration: kubeadmapi.ClusterConfiguration{
    					ControlPlaneEndpoint: "1..0",
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 23 03:19:26 UTC 2019
    - 10K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/componentconfigs/configset.go

    func ensureInitializedComponentConfigs(clusterCfg *kubeadmapi.ClusterConfiguration) {
    	if clusterCfg.ComponentConfigs == nil {
    		clusterCfg.ComponentConfigs = kubeadmapi.ComponentConfigMap{}
    	}
    }
    
    // Default sets up defaulted component configs in the supplied ClusterConfiguration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 04 15:36:00 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/certs/certlist_test.go

    		t.Fatal(err)
    	}
    	defer os.RemoveAll(dir)
    
    	ic := &kubeadmapi.InitConfiguration{
    		NodeRegistration: kubeadmapi.NodeRegistrationOptions{
    			Name: "test-node",
    		},
    		ClusterConfiguration: kubeadmapi.ClusterConfiguration{
    			CertificatesDir: dir,
    		},
    	}
    
    	caCfg := Certificates{
    		{
    			config:   pkiutil.CertConfig{},
    			Name:     "test-ca",
    			BaseName: "test-ca",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/init_test.go

    		name               string
    		cfg                *kubeadmapi.ClusterConfiguration
    		expectedCfg        *kubeadmapi.ClusterConfiguration
    		skipPhases         []string
    		expectedSkipPhases []string
    	}{
    		{
    			name: "disable proxy and DNS if 'addon' is in skipPhases",
    			cfg:  &kubeadmapi.ClusterConfiguration{},
    			expectedCfg: &kubeadmapi.ClusterConfiguration{
    				DNS: kubeadmapi.DNS{
    					Disabled: true,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 12:26:20 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/config/common_test.go

    		name        string
    		cfg         *kubeadmapi.ClusterConfiguration
    		expectedCfg *kubeadmapi.ClusterConfiguration
    		expectErr   bool
    	}{
    		{
    			name: "normal version, default image repository",
    			cfg: &kubeadmapi.ClusterConfiguration{
    				KubernetesVersion: validVersion,
    				ImageRepository:   kubeadmapiv1.DefaultImageRepository,
    			},
    			expectedCfg: &kubeadmapi.ClusterConfiguration{
    				KubernetesVersion:   validVersion,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/apis/kubeadm/types_test.go

    )
    
    func TestClusterConfigurationEncryptionAlgorithmType(t *testing.T) {
    	tests := []struct {
    		name           string
    		cfg            *ClusterConfiguration
    		expectedResult EncryptionAlgorithmType
    	}{
    		{
    			name: "feature gate is set to true, return ECDSA-P256",
    			cfg: &ClusterConfiguration{
    				FeatureGates: map[string]bool{
    					features.PublicKeysECDSA: true,
    				},
    				EncryptionAlgorithm: EncryptionAlgorithmRSA4096,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 09:39:24 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/config/initconfiguration.go

    			return nil, err
    		}
    	}
    	// If ClusterConfiguration was given, populate it in the InitConfiguration struct
    	if clustercfg != nil {
    		initcfg.ClusterConfiguration = *clustercfg
    	} else {
    		// Populate the internal InitConfiguration.ClusterConfiguration with defaults
    		extclustercfg := &kubeadmapiv1.ClusterConfiguration{}
    		kubeadmscheme.Scheme.Default(extclustercfg)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 12:41:16 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/v1beta4/conversion.go

    	if err != nil {
    		return err
    	}
    	err = Convert_v1beta4_ClusterConfiguration_To_kubeadm_ClusterConfiguration(&ClusterConfiguration{}, &out.ClusterConfiguration, s)
    	out.ClusterConfiguration.APIServer.TimeoutForControlPlane = nil
    	return err
    }
    
    // Convert_kubeadm_APIServer_To_v1beta4_APIServer is required due to missing APIServer.TimeoutForControlPlane in v1beta4.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 06:41:07 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top