Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for CertificatesDir (0.16 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/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)
  3. 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)
  4. cmd/kubeadm/app/componentconfigs/kubelet.go

    	}
    
    	// Require all clients to the kubelet API to have client certs signed by the cluster CA
    	clientCAFile := filepath.Join(cfg.CertificatesDir, constants.CACertName)
    	if kc.config.Authentication.X509.ClientCAFile == "" {
    		kc.config.Authentication.X509.ClientCAFile = clientCAFile
    	} else if kc.config.Authentication.X509.ClientCAFile != clientCAFile {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top