Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for CertificateWriteDir (0.26 sec)

  1. cmd/kubeadm/app/cmd/phases/join/kubelet.go

    	cluster := tlsBootstrapCfg.Contexts[tlsBootstrapCfg.CurrentContext].Cluster
    
    	// If we're dry-running, write ca cert in tmp
    	caPath := cfg.CACertPath
    	if data.DryRun() {
    		caPath = filepath.Join(data.CertificateWriteDir(), kubeadmconstants.CACertName)
    	}
    
    	if _, err := os.Stat(caPath); os.IsNotExist(err) {
    		klog.V(1).Infof("[kubelet-start] writing CA certificate at %s", caPath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/join.go

    func (j *joinData) ManifestDir() string {
    	if j.dryRun {
    		return j.dryRunDir
    	}
    	return kubeadmconstants.GetStaticPodDirectory()
    }
    
    // CertificateWriteDir returns the path where certs should be stored or the temporary folder path in case of DryRun.
    func (j *joinData) CertificateWriteDir() string {
    	if j.dryRun {
    		return j.dryRunDir
    	}
    	return j.initCfg.CertificatesDir
    }
    
    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/cmd/init.go

    func (d *initData) IgnorePreflightErrors() sets.Set[string] {
    	return d.ignorePreflightErrors
    }
    
    // CertificateWriteDir returns the path to the certificate folder or the temporary folder path in case of DryRun.
    func (d *initData) CertificateWriteDir() string {
    	if d.dryRun {
    		return d.dryRunDir
    	}
    	return d.certificatesDir
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 03:37:05 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top