Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for initIstiodCertLoader (0.15 sec)

  1. pilot/pkg/bootstrap/server.go

    						}: {},
    					},
    					Reason: model.NewReasonStats(model.SecretTrigger),
    				})
    			})
    		}
    	}
    }
    
    // initIstiodCertLoader will make sure istiodCertBundleWatcher is updating
    // the certs and updates Server.istiodCert - which is returned on all TLS requests.
    func (s *Server) initIstiodCertLoader() error {
    	if err := s.loadIstiodCert(); err != nil {
    		return fmt.Errorf("first time load IstiodCert failed: %v", err)
    	}
    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. pilot/pkg/bootstrap/server_test.go

    		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")
    	}
    
    	if err := s.server.Start(stop); err != nil {
    		t.Fatalf("Could not invoke startFuncs: %v", err)
    	}
    
    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