We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
UpdateFunc部分应该是Service对象,不是Application吧
Owns(&corev1.Service{}, builder.WithPredicates(predicate.Funcs{ ... UpdateFunc: func(event event.UpdateEvent) bool { if event.ObjectNew.GetResourceVersion() == event.ObjectOld.GetResourceVersion() { return false } if reflect.DeepEqual(event.ObjectNew.(*v1.Application).Spec, event.ObjectOld.(*v1.Application).Spec) { return false } return true }, })).
Owns(&corev1.Service{}, builder.WithPredicates(predicate.Funcs{ ... UpdateFunc: func(event event.UpdateEvent) bool { if event.ObjectNew.GetResourceVersion() == event.ObjectOld.GetResourceVersion() { return false } if reflect.DeepEqual(event.ObjectNew.(*corev1.Service).Spec, event.ObjectOld.(*corev1.Service).Spec) { return false } return true }, })).
The text was updated successfully, but these errors were encountered:
我也觉得是,按照你这个修改了就不报错了!
Sorry, something went wrong.
No branches or pull requests
UpdateFunc部分应该是Service对象,不是Application吧
The text was updated successfully, but these errors were encountered: