Skip to content

fix: add exponential backoff for CSR polling (#112)#126

Closed
mathildabot wants to merge 1 commit intoslauger:mainfrom
mathildabot:fix/112-csr-polling-backoff
Closed

fix: add exponential backoff for CSR polling (#112)#126
mathildabot wants to merge 1 commit intoslauger:mainfrom
mathildabot:fix/112-csr-polling-backoff

Conversation

@mathildabot
Copy link
Collaborator

Problem

CSR (Certificate Signing Request) polling was hammering the API server without backoff, causing unnecessary load and rate limiting issues.

Solution

Implements exponential backoff for CSR polling to reduce API server load and handle transient errors gracefully.

Fixes #112

…slauger#112)

Replace fixed 5s requeue interval with exponential backoff (5s -> 30s ->
2min -> 5min) based on poll attempt count tracked via annotation on the
pending Secret. After 10 failed attempts, transition to a new
WaitingForSigning phase with a warning event guiding users to manually
sign the CSR.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: exponential backoff and WaitingForSigning status for CSR polling

2 participants