- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for UpdateTrustAnchor (0.16 sec)
-
pilot/pkg/trustbundle/trustbundle.go
mergeCerts = append(mergeCerts, cert) } } } tb.mergedCerts = mergeCerts sort.Strings(tb.mergedCerts) } // UpdateTrustAnchor : External Function to merge a TrustAnchor config with the existing TrustBundle func (tb *TrustBundle) UpdateTrustAnchor(anchorConfig *TrustAnchorUpdate) error { var ok bool var err error tb.mutex.RLock() cachedConfig, ok := tb.sourceConfig[anchorConfig.Source]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 7.8K bytes - Viewed (0) -
pilot/pkg/trustbundle/trustbundle_test.go
} // Finally, remove all certs and ensure trustBundle is clean err = tb.UpdateTrustAnchor(&TrustAnchorUpdate{ TrustAnchorConfig: TrustAnchorConfig{Certs: []string{}}, Source: SourceIstioCA, }) if err != nil { t.Errorf("clear cert update failed. Error: %v", err) } err = tb.UpdateTrustAnchor(&TrustAnchorUpdate{ TrustAnchorConfig: TrustAnchorConfig{Certs: []string{}},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 13.1K bytes - Viewed (0) -
pilot/pkg/bootstrap/certcontroller.go
return err } if features.MultiRootMesh { // Trigger trust anchor update, this will send PCDS to all sidecars. log.Infof("Update trust anchor with new root cert") err = s.workloadTrustBundle.UpdateTrustAnchor(&tb.TrustAnchorUpdate{ TrustAnchorConfig: tb.TrustAnchorConfig{Certs: []string{string(caBundle)}}, Source: tb.SourceIstioCA, }) 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) -
pilot/pkg/bootstrap/server.go
var err error if s.CA != nil { // If IstioCA is setup, derive trustAnchor directly from CA rootCerts := []string{string(s.CA.GetCAKeyCertBundle().GetRootCertPem())} err = s.workloadTrustBundle.UpdateTrustAnchor(&tb.TrustAnchorUpdate{ TrustAnchorConfig: tb.TrustAnchorConfig{Certs: rootCerts}, Source: tb.SourceIstioCA, }) 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)