Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for certificatesDir (0.32 sec)

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

    	if err != nil {
    		return err
    	}
    
    	fmt.Printf("[certs] Using certificateDir folder %q\n", cfg.CertificatesDir)
    
    	// if dryrunning, write certificates files to a temporary folder (and defer restore to the path originally specified by the user)
    	certsDir := cfg.CertificatesDir
    	cfg.CertificatesDir = data.CertificateWriteDir()
    	defer func() { cfg.CertificatesDir = certsDir }()
    	// Generate missing certificates (if any)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:46:34 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/etcd/local.go

    		{Name: "cert-file", Value: filepath.Join(cfg.CertificatesDir, kubeadmconstants.EtcdServerCertName)},
    		{Name: "key-file", Value: filepath.Join(cfg.CertificatesDir, kubeadmconstants.EtcdServerKeyName)},
    		{Name: "trusted-ca-file", Value: filepath.Join(cfg.CertificatesDir, kubeadmconstants.EtcdCACertName)},
    		{Name: "client-cert-auth", Value: "true"},
    		{Name: "peer-cert-file", Value: filepath.Join(cfg.CertificatesDir, kubeadmconstants.EtcdPeerCertName)},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 14:07:27 UTC 2024
    - 13.8K bytes
    - Viewed (1)
  3. cmd/kubeadm/app/cmd/reset_test.go

    			flags: map[string]string{
    				options.CertificatesDir:       "/tmp",
    				options.NodeCRISocket:         constants.CRISocketCRIO,
    				options.IgnorePreflightErrors: "all",
    				options.ForceReset:            "true",
    				options.DryRun:                "true",
    				options.CleanupTmpDir:         "true",
    			},
    			data: &resetData{
    				certificatesDir:       "/tmp",
    				criSocketPath:         constants.CRISocketCRIO,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 13:42:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/phases/init/certs.go

    		}
    
    		// if dryrunning, write certificates authority to a temporary folder (and defer restore to the path originally specified by the user)
    		cfg := data.Cfg()
    		cfg.CertificatesDir = data.CertificateWriteDir()
    		defer func() { cfg.CertificatesDir = data.CertificateDir() }()
    
    		// create the new certificate authority (or use existing)
    		return certsphase.CreateCACertAndKeyFiles(ca, cfg)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 06:35:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/controlplane/volumes.go

    	// TODO: Always mount the K8s Certificates directory to a static path inside of the container
    	mounts.NewHostPathMount(kubeadmconstants.KubeAPIServer, kubeadmconstants.KubeCertificatesVolumeName, cfg.CertificatesDir, cfg.CertificatesDir, true, &hostPathDirectoryOrCreate)
    	// Read-only mount for the ca certs (/etc/ssl/certs) directory
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:33:18 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/certs.go

    				internalcfg.ClusterConfiguration.CertificatesDir = cfg.CertificatesDir
    			}
    
    			return internalcfg, nil
    		}
    		printer.Printf("[%s] Error reading configuration from the Cluster. Falling back to default configuration\n\n", logPrefix)
    	}
    
    	// Read config from --config if provided. Otherwise, use the default configuration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/certs/certlist.go

    			}
    			// Try and load a CA Key
    			caKey, err = pkiutil.TryLoadKeyFromDisk(ic.CertificatesDir, ca.BaseName)
    			if err != nil {
    				// If there's no CA key, make sure every certificate exists.
    				for _, leaf := range leaves {
    					cl := certKeyLocation{
    						pkiDir:   ic.CertificatesDir,
    						baseName: leaf.BaseName,
    						uxName:   leaf.Name,
    					}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/kubeconfig/kubeconfig_test.go

    				ControlPlaneEndpoint: "api.k8s.io",
    				CertificatesDir:      pkidir,
    			},
    			NodeRegistration: kubeadmapi.NodeRegistrationOptions{Name: "valid-node-name"},
    		},
    		{
    			LocalAPIEndpoint: kubeadmapi.APIEndpoint{AdvertiseAddress: "1.2.3.4", BindPort: 1234},
    			ClusterConfiguration: kubeadmapi.ClusterConfiguration{
    				ControlPlaneEndpoint: "api.k8s.io:4321",
    				CertificatesDir:      pkidir,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:04:18 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/phases/init/kubeletfinalize.go

    				InheritFlags:   []string{options.CfgPath, options.CertificatesDir, options.DryRun},
    				Example:        kubeletFinalizePhaseExample,
    				RunAllSiblings: true,
    			},
    			{
    				Name:         "enable-client-cert-rotation",
    				Short:        "Enable kubelet client certificate rotation",
    				InheritFlags: []string{options.CfgPath, options.CertificatesDir, options.DryRun},
    				Run:          runKubeletFinalizeEnableClientCertRotation,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 10:54:51 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/v1beta4/defaults.go

    		obj.Networking.ServiceSubnet = DefaultServicesSubnet
    	}
    
    	if obj.Networking.DNSDomain == "" {
    		obj.Networking.DNSDomain = DefaultServiceDNSDomain
    	}
    
    	if obj.CertificatesDir == "" {
    		obj.CertificatesDir = DefaultCertificatesDir
    	}
    
    	if obj.ImageRepository == "" {
    		obj.ImageRepository = DefaultImageRepository
    	}
    
    	if obj.ClusterName == "" {
    		obj.ClusterName = DefaultClusterName
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top