Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 25, 2020 09:52
Show Gist options
  • Save velotiotech/61bf2d0c6e3d929d39525058f288ed5e to your computer and use it in GitHub Desktop.
Save velotiotech/61bf2d0c6e3d929d39525058f288ed5e to your computer and use it in GitHub Desktop.
// Watch for changes to primary resource BookStore
err = c.Watch(&source.Kind{Type: &blogv1alpha1.BookStore{}}, &handler.EnqueueRequestForObject{})
if err != nil {
return err
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment