Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v16] Workload Identity: SPIFFE Federation Syncer (#46060)
* Start hacking on implementation * Add new proto field * More resilient change detection * Calculate next synce time for https-web bundles * Add validation of spiffesyncer paramaters * Flesh out events watcher mechanism * Start putting together test for SPIFFEFederationSyncer * Add UpdateSPIFFEFederation to service * Flesh out test for UpdateSPIFFEFederation * Working test "TestSPIFFEFederationSyncer_syncFederation" for basic functionality * Add additional validation for SPIFFEFederation * Add more cases to TestSPIFFEFederationSyncer_syncFederation * Add retry mechanism to syncery * Tidy up logging * Add SPIFFEFederationSyncer to lib/service init * Use buffered channel for firstrun * Fix potential deadlock with syncing * Tidying up logging/naming * Tidy up retry calculation * Expand test suite * Appease linter * Use `GetStatus` for nil safety * switch `UpdateResource` -> `ConditionalUpdateResource` * Fix unprotected map access * Add seleect condition for w.Done * Correct comment * Fix nil panic * Fix TestSPIFFEFederationService_UpdateSPIFFEFederation * Tidy up logging of refresh hint adjustment
- Loading branch information