Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 59 for CertificatesDir (0.21 sec)

  1. cmd/kubeadm/app/cmd/phases/init/etcd.go

    		Example:      etcdLocalExample,
    		Run:          runEtcdPhaseLocal(),
    		InheritFlags: getEtcdPhaseFlags(),
    	}
    	return phase
    }
    
    func getEtcdPhaseFlags() []string {
    	flags := []string{
    		options.CertificatesDir,
    		options.CfgPath,
    		options.ImageRepository,
    		options.Patches,
    		options.DryRun,
    	}
    	return flags
    }
    
    func runEtcdPhaseLocal() func(c workflow.RunData) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 11 08:02:50 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/apis/kubeadm/v1beta4/types.go

    	// Proxy defines the options for the proxy add-on installed in the cluster.
    	Proxy Proxy `json:"proxy,omitempty"`
    
    	// CertificatesDir specifies where to store or look for all required certificates.
    	// +optional
    	CertificatesDir string `json:"certificatesDir,omitempty"`
    
    	// ImageRepository sets the container registry to pull images from.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    				},
    				ClusterConfiguration: kubeadmapi.ClusterConfiguration{
    					Networking: kubeadmapi.Networking{
    						ServiceSubnet: "10.96.0.1/12",
    						DNSDomain:     "cluster.local",
    					},
    					CertificatesDir:     "/some/cert/dir",
    					EncryptionAlgorithm: kubeadmapi.EncryptionAlgorithmRSA2048,
    				},
    				NodeRegistration: kubeadmapi.NodeRegistrationOptions{Name: nodename, CRISocket: criPath},
    			}, false},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/kubeconfig_test.go

    		},
    	}
    	clusterCfg := kubeadmapiv1.ClusterConfiguration{
    		TypeMeta: metav1.TypeMeta{
    			APIVersion: kubeadmapiv1.SchemeGroupVersion.String(),
    			Kind:       "ClusterConfiguration",
    		},
    		CertificatesDir:   certDir,
    		ClusterName:       clusterName,
    		KubernetesVersion: kubeadmconstants.MinimumControlPlaneVersion.String(),
    	}
    
    	var buf bytes.Buffer
    	data, err := yaml.Marshal(&initCfg)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/phases/init/controlplane.go

    		InheritFlags: getControlPlanePhaseFlags(component),
    	}
    	return phase
    }
    
    func getControlPlanePhaseFlags(name string) []string {
    	flags := []string{
    		options.CfgPath,
    		options.CertificatesDir,
    		options.KubernetesVersion,
    		options.ImageRepository,
    		options.Patches,
    		options.DryRun,
    	}
    	if name == "all" || name == kubeadmconstants.KubeAPIServer {
    		flags = append(flags,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 17 14:40:46 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/apis/kubeadm/v1beta3/zz_generated.conversion.go

    		return err
    	}
    	if err := Convert_v1beta3_DNS_To_kubeadm_DNS(&in.DNS, &out.DNS, s); err != nil {
    		return err
    	}
    	out.CertificatesDir = in.CertificatesDir
    	out.ImageRepository = in.ImageRepository
    	out.FeatureGates = *(*map[string]bool)(unsafe.Pointer(&in.FeatureGates))
    	out.ClusterName = in.ClusterName
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/componentconfigs/fakeconfig_test.go

    		yaml string
    		obj  kubeadmapiv1.ClusterConfiguration
    	}{
    		yaml: dedent.Dedent(fmt.Sprintf(`
    			apiServer:
    			  timeoutForControlPlane: 4m
    			apiVersion: %s
    			certificatesDir: /etc/kubernetes/pki
    			clusterName: LeCluster
    			controllerManager: {}
    			etcd:
    			  local:
    			    dataDir: /var/lib/etcd
    			imageRepository: registry.k8s.io
    			kind: ClusterConfiguration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 04 15:36:00 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/certs/renewal/manager_test.go

    	if err := pkiutil.WriteCertAndKey(etcdDir, "ca", testCACert, testCAKey); err != nil {
    		t.Fatalf("couldn't write out CA certificate to %s", etcdDir)
    	}
    
    	cfg := &kubeadmapi.ClusterConfiguration{
    		CertificatesDir: dir,
    		CertificateValidityPeriod: &metav1.Duration{
    			Duration: time.Hour * 10,
    		},
    	}
    	rm, err := NewManager(cfg, dir)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/apis/kubeadm/v1beta3/types.go

    	// DNS defines the options for the DNS add-on installed in the cluster.
    	// +optional
    	DNS DNS `json:"dns,omitempty"`
    
    	// CertificatesDir specifies where to store or look for all required certificates.
    	// +optional
    	CertificatesDir string `json:"certificatesDir,omitempty"`
    
    	// ImageRepository sets the container registry to pull images from.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/types.go

    	DNS DNS
    
    	// Proxy defines the options for the proxy add-on installed in the cluster.
    	Proxy Proxy
    
    	// CertificatesDir specifies where to store or look for all required certificates.
    	CertificatesDir string
    
    	// ImageRepository sets the container registry to pull images from.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top