gitops-engine/pkg/sync
Anand Francis Joseph b3a2ec15e6
fix(sync): ApplyOutOfSyncOnly=true sync option is not honoured for cluster scoped resources (#765)
* Using live obj to get the resource key if not nil

Signed-off-by: Anand Francis Joseph <anjoseph@redhat.com>

* Fixed failing unit tests

Signed-off-by: Anand Francis Joseph <anjoseph@redhat.com>

* Added test case for validating cluster scoped resources with ApplyOutOfSyncOnly=true

Signed-off-by: Anand Francis Joseph <anjoseph@redhat.com>

* Fixed gofumpt formatting errors

Signed-off-by: Anand Francis Joseph <anjoseph@redhat.com>

* Corrected unit tests for cluster scoped resources

Signed-off-by: Anand Francis Joseph <anjoseph@redhat.com>

* Removed unwanted code comments

Signed-off-by: Anand Francis Joseph <anjoseph@redhat.com>

* Added comments for explaining the reason why ns is set from live object

Signed-off-by: Anand Francis Joseph <anjoseph@redhat.com>

* Added comments in the unit test

Signed-off-by: Anand Francis Joseph <anjoseph@redhat.com>

---------

Signed-off-by: Anand Francis Joseph <anjoseph@redhat.com>
2025-09-05 08:06:30 -04:00
..
common added common disable sync otpion (#749) 2025-07-28 00:31:59 +03:00
hook
ignore
resource
syncwaves
doc.go
reconcile.go
reconcile_test.go
sync_context.go fix(hooks): always remove finalizers on create if hook exists (#770) 2025-09-02 15:51:53 -04:00
sync_context_test.go fix(sync): ApplyOutOfSyncOnly=true sync option is not honoured for cluster scoped resources (#765) 2025-09-05 08:06:30 -04:00
sync_phase.go
sync_phase_test.go
sync_task.go fix(sync): ApplyOutOfSyncOnly=true sync option is not honoured for cluster scoped resources (#765) 2025-09-05 08:06:30 -04:00
sync_task_test.go
sync_tasks.go
sync_tasks_test.go