diff --git a/pkg/agent/manager/cache/lru_cache.go b/pkg/agent/manager/cache/lru_cache.go index 57e5a77e6d..49d6bc5e32 100644 --- a/pkg/agent/manager/cache/lru_cache.go +++ b/pkg/agent/manager/cache/lru_cache.go @@ -38,6 +38,12 @@ type UpdateEntries struct { // Bundles is a set of ALL trust bundles available to the agent, keyed by trust domain Bundles map[spiffeid.TrustDomain]*spiffebundle.Bundle + // TaintedX509Authorities is a set of all tainted X.509 authorities notified by the server. + TaintedX509Authorities []string + + // TaintedJWTAuthorities is a set of all tainted JWT authorities notified by the server. + TaintedJWTAuthorities []string + // RegistrationEntries is a set of all registration entries available to the // agent, keyed by registration entry id. RegistrationEntries map[string]*common.RegistrationEntry diff --git a/pkg/agent/manager/cache/lru_cache_test.go b/pkg/agent/manager/cache/lru_cache_test.go index e86671acc9..d1c1e62543 100644 --- a/pkg/agent/manager/cache/lru_cache_test.go +++ b/pkg/agent/manager/cache/lru_cache_test.go @@ -979,7 +979,7 @@ func TestTaintX509SVIDs(t *testing.T) { batchProcessedCh := make(chan struct{}, 1) // Initialize cache with configuration - cache := newTestLRUCacheWithConfig(10, clk) + cache := newTestLRUCacheWithConfig(clk) cache.processingBatchSize = 4 cache.log = log cache.taintedBatchProcessedCh = batchProcessedCh