Architecture Overview
Main components
AuthRegistrationControllerHandles reconcile flow, finalizer handling, and orchestration.serviceRegistrationBackendAbstract backend interface (Upsert,Delete) for connecting the actual service registration (e.g. CAS).authRegistrationSecretReconcilerCreates or updates credentialsSecretobjects.authRegistrationStatusPatcherPatchesstatus.resolvedSecretRefand status conditions.
Reconcile flow (high-level)
- Load
AuthRegistration. - If deleting: call backend delete and remove finalizer.
- Ensure finalizer exists.
- Upsert backend registration.
- Resolve secret name:
- default:
<authRegistration-name>-credentials - or explicit
spec.secretRef
- default:
- Patch
status.resolvedSecretRef. - Reconcile credentials secret.
- Patch status conditions (
CredentialsPublished,Completed).
Secret ownership behavior
- If
spec.secretRefis omitted: Controller-managed secret with owner reference +k8s.cloudogu.com/generated-secret: "true"annotation. - If
spec.secretRefis set: Secret is still reconciled, but without owner reference management.
Last updated on 3/3/2026