Registry builder (the leader's core) #3
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lab/authz-bridge#3
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
On any change to any of the three CRDs, the leader lists all
OauthClient/OidcPolicy/TokenExchangePolicycluster-wide, structurally validates them, resolves each valid App, and writes the managed Registry Secret with the full nested per-App entry; it sets each App's CRDAvailable/Degradedstatus andobservedGeneration. A structurally-invalid App is excluded from the Registry and marked Degraded. The three existing per-kind reconcilers become thin triggers into one idempotent, cluster-wide builder.Acceptance criteria
clientRefdoes not resolve, or whoseclientSecretRefis malformed; the excluded App's CRD is marked Degraded.Available/DegradedandobservedGenerationare set for each App.clientRef→ that App excluded + Degraded.Blocked by