AuthRegistration Lifecycle
Create / Update
When an AuthRegistration is created or changed, the controller:
- Converts spec into an internal registration model.
- Calls backend
Upsert. - Resolves the effective secret name.
- Reconciles secret data (
protocolplus backend-specific keys). - Updates status fields and conditions.
Delete
On deletion, the controller uses finalizers:
- Detects deletion timestamp.
- Calls backend
Delete. - Removes finalizer.
- Lets Kubernetes finish resource deletion.
For controller-managed credentials secrets, owner references allow automatic secret cleanup.
Idempotency
The secret and status reconcilers avoid unnecessary updates by comparing current and desired state before patch/update calls.
Last updated on 2/25/2026