Leader freshness (runtime-secret tracking + JWKS refresh) #5
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lab/authz-bridge#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Spec: Shared in-memory state model (Registry + Snapshot) — #1
What to build
The leader also (a) watches referenced-Secret add/delete and updates the Registry
secretReadyflag (forkubectlobservability) plus the CRDDegradedstatus — the leader/observability side of the failure model, distinct from the replica's per-replica behaviour side; and (b) refreshes the JWKS on a TTL and on any CRD change (re-fetching via the resolve step, keeping last-good on failure) and re-writes the Registry.Acceptance criteria
secretReadyflips false and the App's CRD is marked Degraded; on recreation,secretReadyflips true.Blocked by