controller-util icon indicating copy to clipboard operation
controller-util copied to clipboard

add cluster update in the syncer

Open charlesld opened this issue 5 years ago • 0 comments

Hi In the NewObjectSyncer it needs pass the cluster, but end of sync, only obj meta is update.
Some time , cluster meta may be changed , so I should update cluster at the end of reconclie.

code like this

return syncer.NewObjectSyncer("StatefulSet", cluster.Unwrap(), obj, c, scheme, func() error {
		return sync.SyncFn(c, obj)
	})

So cloud add this update in the syncer?

charlesld avatar Apr 17 '20 06:04 charlesld