Drift detected on sylvactl reconcile annotations
Summary
The issue was observed in https://gitlab.com/sylva-projects/sylva-core/-/jobs/10772746875#L97
Drift detection of annotations should be disabled in sylva units.
🔹 sylva-units
🔄 [2025-07-22T15:53:26.068Z] Kustomization/rke2-capm3-virt/root-dependency-1 changed (2 additions, 0 changes, 0 removals)","type":"Warning","object":{"kind":"HelmRelease","namespace":"rke2-capm3-virt","name":"sylva-units","uid":"6af96002-778d-4bc8-8626-1ba78530aaff","apiVersion":"helm.toolkit.fluxcd.io/v2","resourceVersion":"58100"},"reason":"DriftDetected}
🔧 Patches applied:
- [2025-07-22T15:53:26.068Z] Kustomization/rke2-capm3-virt/root-dependency-1 ->
[
{
"value": "2025-07-22T15:53:25",
"op": "add",
"path": "/metadata/annotations/reconcile.fluxcd.io~1requestedAt"
},
{
"value": "2025-07-22T15:53:25",
"op": "add",
"path": "/metadata/annotations/sylvactl~1reconcileStartedAt.1.sAzi4v"
}
]
❌ Unexpected drift detected in:
🔹 sylva-units
Action: [2025-07-22T15:53:26.068Z] Kustomization/rke2-capm3-virt/root-dependency-1 changed (2 additions, 0 changes, 0 removals)","type":"Warning","object":{"kind":"HelmRelease","namespace":"rke2-capm3-virt","name":"sylva-units","uid":"6af96002-778d-4bc8-8626-1ba78530aaff","apiVersion":"helm.toolkit.fluxcd.io/v2","resourceVersion":"58100"},"reason":"DriftDetected}
We shouldn't detect drift on annotations of resources produced by sylva-units, as they are likely to be managed by other tools like sylvactl or flux cli.