kpt icon indicating copy to clipboard operation
kpt copied to clipboard

rollouts: delete old root/reposync objects when synctemplate type changes

Open natasha41575 opened this issue 1 year ago • 1 comments

This is a followup item for https://github.com/GoogleContainerTools/kpt/pull/3850, which adds RepoSync support to the rollouts api.

However, with that PR, changing the syncTemplate type from rootSync to repoSync (or the other way around) will result in the new sync object being created in the target repo, but the controller does not currently clean up the old sync object. The task here is to ensure that the controller cleans up the old sync object.

natasha41575 avatar Mar 06 '23 21:03 natasha41575

Assigning a lower priority since this is an edge case and very unlikely to occur.

droot avatar Mar 08 '23 19:03 droot