Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for initFileCertificateWatches (0.28 sec)

  1. pilot/pkg/bootstrap/certcontroller.go

    		}
    	}
    
    	s.istiodCertBundleWatcher.SetAndNotify(keyPEM, certChain, caBundle)
    	return nil
    }
    
    // initFileCertificateWatches sets up watches for the plugin dns certs
    // when /var/run/secrets/istiod/tls is used. Not to be confused with the /etc/cacerts path.
    func (s *Server) initFileCertificateWatches(tlsOptions TLSOptions) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. pilot/pkg/bootstrap/server_test.go

    	}
    
    	tlsOptions := TLSOptions{
    		CertFile:   certFile,
    		KeyFile:    keyFile,
    		CaCertFile: caFile,
    	}
    
    	// setup cert watches.
    	if err := s.initFileCertificateWatches(tlsOptions); err != nil {
    		t.Fatalf("initCertificateWatches failed: %v", err)
    	}
    
    	if err := s.initIstiodCertLoader(); err != nil {
    		t.Fatalf("istiod unable to load its cert")
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. pilot/pkg/bootstrap/server.go

    		// 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 {
    			// Not crashing istiod - This typically happens if certs are missing and in tests.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
Back to top