Skip to content

Fix Workload API handling of SVID renewal interval#56626

Merged
strideynet merged 1 commit intomasterfrom
strideynet/tweak-renewal-timer-behaviour
Jul 10, 2025
Merged

Fix Workload API handling of SVID renewal interval#56626
strideynet merged 1 commit intomasterfrom
strideynet/tweak-renewal-timer-behaviour

Conversation

@strideynet
Copy link
Copy Markdown
Contributor

When I introduced the CRL functionality, I introduced a bug where the broadcasting of a new CRL would reset the timer for renewing the SVIDs. In cases where the CRL renewal interval was shorter than the SVID renewal interval, this would lead to the SVIDs never being renewed.

I've resolved this bug by using a proper time.Timer instead of using time.After on each iteration.

changelog: Fix tbot SPIFFE Workload API failing to renew SPIFFE SVIDs

@strideynet strideynet added this pull request to the merge queue Jul 10, 2025
Merged via the queue into master with commit a9f53d6 Jul 10, 2025
45 checks passed
@strideynet strideynet deleted the strideynet/tweak-renewal-timer-behaviour branch July 10, 2025 09:45
@backport-bot-workflows
Copy link
Copy Markdown
Contributor

@strideynet See the table below for backport results.

Branch Result
branch/v16 Failed
branch/v17 Create PR
branch/v18 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants