Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetKeyCertBundle (0.33 sec)

  1. pilot/pkg/keycertbundle/watcher.go

    }
    
    // GetCABundle returns the CABundle.
    func (w *Watcher) GetCABundle() []byte {
    	w.mutex.RLock()
    	defer w.mutex.RUnlock()
    	return w.bundle.CABundle
    }
    
    // GetKeyCertBundle returns the bundle.
    func (w *Watcher) GetKeyCertBundle() KeyCertBundle {
    	w.mutex.RLock()
    	defer w.mutex.RUnlock()
    	return w.bundle
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 05 14:00:18 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. pilot/pkg/bootstrap/certcontroller.go

    	s.environment.AddMeshHandler(func() {
    		newCaBundle, _ := s.RA.GetRootCertFromMeshConfig(signerName)
    		if newCaBundle != nil && !bytes.Equal(newCaBundle, s.istiodCertBundleWatcher.GetKeyCertBundle().CABundle) {
    			newCertChain, newKeyPEM, _, err := chiron.GenKeyCertK8sCA(s.kubeClient.Kube(),
    				strings.Join(s.dnsNames, ","), "", signerName, true, SelfSignedCACertTTL.Get())
    			if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. pilot/pkg/bootstrap/server_test.go

    			var certRotated bool
    			var rotatedCertBytes []byte
    			err := retry.Until(func() bool {
    				rotatedCertBytes = s.istiodCertBundleWatcher.GetKeyCertBundle().CertPem
    				st := string(rotatedCertBytes)
    				certRotated = st != string(tt.certToWatch)
    				return certRotated == tt.certRotated
    			}, retry.Timeout(10*time.Second))
    
    			close(stop)
    			if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top