Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add cluster update in the syncer #27

Open
charlesld opened this issue Apr 17, 2020 · 0 comments
Open

add cluster update in the syncer #27

charlesld opened this issue Apr 17, 2020 · 0 comments

Comments

@charlesld
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant