Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for cacertPath (0.14 sec)

  1. pilot/pkg/bootstrap/server.go

    	s.dnsNames = getDNSNames(args, host)
    	if hasCustomCertArgsOrWellKnown, tlsCertPath, tlsKeyPath, caCertPath := hasCustomTLSCerts(args.ServerOptions.TLSOptions); hasCustomCertArgsOrWellKnown {
    		// Use the DNS certificate provided via args or in well known location.
    		err = s.initFileCertificateWatches(TLSOptions{
    			CaCertFile: caCertPath,
    			KeyFile:    tlsKeyPath,
    			CertFile:   tlsCertPath,
    		})
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/apis/kubeadm/v1beta4/types.go

    	// +optional
    	NodeRegistration NodeRegistrationOptions `json:"nodeRegistration,omitempty"`
    
    	// CACertPath is the path to the SSL certificate authority used to
    	// secure comunications between node and control-plane.
    	// Defaults to "/etc/kubernetes/pki/ca.crt".
    	// +optional
    	CACertPath string `json:"caCertPath,omitempty"`
    
    	// Discovery specifies the options for the kubelet to use during the TLS Bootstrap process
    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/cmd/phases/join/kubelet.go

    	// Write the ca certificate to disk so kubelet can use it for authentication
    	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) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/kubeadm/types.go

    	NodeRegistration NodeRegistrationOptions
    
    	// CACertPath is the path to the SSL certificate authority used to
    	// secure comunications between node and control-plane.
    	// Defaults to "/etc/kubernetes/pki/ca.crt".
    	CACertPath string
    
    	// Discovery specifies the options for the kubelet to use during the TLS Bootstrap process
    	Discovery Discovery
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/preflight/checks.go

    	}
    	checks = addCommonChecks(execer, "", &cfg.NodeRegistration, checks)
    	if cfg.ControlPlane == nil {
    		checks = append(checks, FileAvailableCheck{Path: cfg.CACertPath})
    	}
    
    	if cfg.Discovery.BootstrapToken != nil {
    		ipstr, _, err := net.SplitHostPort(cfg.Discovery.BootstrapToken.APIServerEndpoint)
    		if err == nil {
    			checks = append(checks,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/phases/init/certs.go

    			caCertData, err := pkiutil.TryLoadCertFromDisk(data.CertificateDir(), caCert.BaseName)
    			if err != nil {
    				return errors.Wrapf(err, "couldn't load CA certificate %s", caCert.Name)
    			}
    
    			certsphase.CheckCertificatePeriodValidity(caCert.BaseName, caCertData)
    
    			if err := pkiutil.VerifyCertChain(certData, intermediates, caCertData); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 06:35:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top