Expand description
The Repository CRD — a namespaced kopia repository. ADR-0003 §3.1.
Structs§
- Bootstrap
Spec - Tuning for the bootstrap/discovery mover Job, shared by
RepositoryandClusterRepository. Bootstrap connects (or, withcreate, creates) an object-store repository the operator cannot reach in-process. - Catalog
Status - Status of catalog materialization for
origin: discoveredSnapshotCRs. - Epoch
Parameters - kopia epoch-manager parameters. Absent fields are left at whatever the repository already has (kopia’s defaults, noted per field).
- Observed
Epoch Parameters - The epoch parameters the repository ACTUALLY reports, mirrored into
statusfromkopia repository statusat the last bootstrap. - Observed
Repository Parameters - Observed kopia repository parameters, mirrored into
status. - Repository
- Auto-generated derived type for RepositorySpec via
CustomResource - Repository
Health Probe Spec - Opt-in backend health probe, shared by
RepositoryandClusterRepository. - Repository
Health Spec - Repository health thresholds, shared by
RepositoryandClusterRepository. - Repository
Health Status - Backend health-probe state, shared by
RepositoryandClusterRepository. Pinned by the reconciler whenspec.health.probeis enabled so the next reconcile can tell whether a probe is due and how many consecutive failures have accrued (the debounce that keeps a transient blip from raising the loudRepositoryVanished/BackendReachable=Falsecondition). - Repository
Parameters - Mutable kopia repository parameters (
kopia repository set-parameters), shared byRepositoryandClusterRepository. - Repository
Spec - A kopia repository owned by one namespace, referenced by
SnapshotPolicys andRestores. - Repository
Status - Observed state of a
Repository, carrying resolved values pinned by the reconciler. - Storage
Stats - Aggregate repository storage figures from the last catalog scan.
Enums§
- Repository
Phase - Lifecycle phase of a repository. A freshly admitted CR starts in
Pending.
Functions§
- resolve_
index_ blob_ warn_ threshold - Resolve the effective index-blob warning threshold from an optional
spec.health. Pure, so it’s shared by the admission webhook, the controller, and tests without forking the default/disable semantics: