@@ -2066,6 +2066,37 @@ configuration issue in the Kustomization spec. When a reconciliation fails, the
20662066` Reconciling` Condition `reason` would be `ProgressingWithRetry`. When the
20672067reconciliation is performed again after the failure, the `reason` is updated to `Progressing`.
20682068
2069+ # ## History
2070+
2071+ The kustomize-controller maintains a history of the last 5 reconciliations
2072+ in `.status.history`, including the digest of the applied manifests, the
2073+ source and origin revision, the timestamps and the duration of the reconciliations,
2074+ the status and the total number of times a specific digest was reconciled.
2075+
2076+ ` ` ` yaml
2077+ status:
2078+ history:
2079+ - digest: sha256:43ad78c94b2655429d84f21488f29d7cca9cd45b7f54d2b27e16bbec8eff9228
2080+ firstReconciled: "2025-08-15T10:11:00Z"
2081+ lastReconciled: "2025-08-15T11:12:00Z"
2082+ lastReconciledDuration: 2.818583s
2083+ lastReconciledStatus: ReconciliationSucceeded
2084+ totalReconciliations: 2
2085+ metadata:
2086+ revision: "v1.0.1@sha1:450796ddb2ab6724ee1cc32a4be56da032d1cca0"
2087+ - digest: sha256:ec8dbfe61777b65001190260cf873ffe454451bd2e464bd6f9a154cffcdcd7e5
2088+ firstReconciled: "2025-07-14T13:10:00Z"
2089+ lastReconciled: "2025-08-15T10:00:00Z"
2090+ lastReconciledDuration: 49.813292s
2091+ lastReconciledStatus: HealthCheckFailed
2092+ totalReconciliations: 120
2093+ metadata:
2094+ revision: "v1.0.0@sha1:67e2c98a60dc92283531412a9e604dd4bae005a9"
2095+ ` ` `
2096+
2097+ The kustomize-controller deduplicates entries based on the digest and status, with the
2098+ most recent reconciliation being the first entry in the list.
2099+
20692100# ## Inventory
20702101
20712102In order to perform operations such as drift detection, garbage collection, etc.
0 commit comments