{"action":"opened","issue":{"url":"https://api.github.com/repos/kubernetes-sigs/kubebuilder/issues/422","repository_url":"https://api.github.com/repos/kubernetes-sigs/kubebuilder","labels_url":"https://api.github.com/repos/kubernetes-sigs/kubebuilder/issues/422/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes-sigs/kubebuilder/issues/422/comments","events_url":"https://api.github.com/repos/kubernetes-sigs/kubebuilder/issues/422/events","html_url":"https://github.com/kubernetes-sigs/kubebuilder/issues/422","id":368387127,"node_id":"MDU6SXNzdWUzNjgzODcxMjc=","number":422,"title":"Watcher does not support Unstructured objects [high priority]","user":{"login":"crimsonfaith91","id":13921630,"node_id":"MDQ6VXNlcjEzOTIxNjMw","avatar_url":"https://avatars0.githubusercontent.com/u/13921630?v=4","gravatar_id":"","url":"https://api.github.com/users/crimsonfaith91","html_url":"https://github.com/crimsonfaith91","followers_url":"https://api.github.com/users/crimsonfaith91/followers","following_url":"https://api.github.com/users/crimsonfaith91/following{/other_user}","gists_url":"https://api.github.com/users/crimsonfaith91/gists{/gist_id}","starred_url":"https://api.github.com/users/crimsonfaith91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crimsonfaith91/subscriptions","organizations_url":"https://api.github.com/users/crimsonfaith91/orgs","repos_url":"https://api.github.com/users/crimsonfaith91/repos","events_url":"https://api.github.com/users/crimsonfaith91/events{/privacy}","received_events_url":"https://api.github.com/users/crimsonfaith91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-09T20:38:30Z","updated_at":"2018-10-09T20:38:30Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I spent a full day working on getting the watcher works for Unstructured objects, but failed to do any progress.\r\n\r\nFor example,\r\n```\r\nerr = controller.Watch(&source.Kind{Type: someUnstructuredResource.DeepCopyObject()}, &handler.EnqueueRequestForOwner{\r\n\tIsController: true,\r\n\tOwnerType:    &operatorv1alpha1.SomeOwnerResource{},\r\n})\r\n```\r\n\r\n`.DeepCopyObject()` is a generated function returning a `runtime.Object`. When I modify an instance of `someUnstructuredResource`, the sync loop is not triggered.\r\n\r\nTo verify watcher does not work, I change `someUnstructuredResource.DeepCopyObject()` to `&corev1.Pod{}` and modify the pod. The sync loop is triggered.\r\n\r\n@pwittrock \r\n@droot "}}
{"actor":{"display_login":"crimsonfaith91"}}