This is a backport issue for #4878, automatically created via [GitHub Actions workflow](https://github.com/rancher/fleet/actions/runs/24071189940) initiated by @0xavi0 Original issue body: ### Is there an existing issue for this? - [x] I have searched the existing issues ### Current Behavior Correctdrift is not working in `0.15.0` Deploy repo with https://github.com/rancher/fleet-test-data/tree/master/qa-test-apps/nginx-app ```yaml apiVersion: apps/v1 kind: Deployment metadata: name: nginx-keep labels: app: nginx spec: replicas: 1 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:1.14.2 ports: - containerPort: 80 ``` with ``` correctDrift: enabled: true ``` Result: replicas are not restored to value `1` https://github.com/user-attachments/assets/2ecddd97-fbaf-4c07-a652-07306bfc0279 Workaround, use `force: true` ``` correctDrift: enabled: true force: true ``` ### Expected Behavior _No response_ ### Steps To Reproduce _No response_ ### Environment ```markdown - Architecture: - Fleet Version: - Cluster: - Provider: - Options: - Kubernetes Version: ``` ### Logs ```markdown ``` ### Anything else? _No response_
This is a backport issue for #4878, automatically created via GitHub Actions workflow initiated by @0xavi0
Original issue body:
Is there an existing issue for this?
Current Behavior
Correctdrift is not working in
0.15.0Deploy repo with https://github.com/rancher/fleet-test-data/tree/master/qa-test-apps/nginx-app
with
Result: replicas are not restored to value
1Screencast.from.2026-03-20.14-41-30.webm
Workaround, use
force: trueExpected Behavior
No response
Steps To Reproduce
No response
Environment
Logs
Anything else?
No response