Open
Description
Hi,
I'm using client-go's NewSharedInformer to access ingresses but I'm not sure which expectedType to use.
I've started out using (k8s.io/client-go/pkg/apis/)extensions.Ingress
which worked on my 1.7 clusters but another user reported their got the error expected type *extensions.Ingress, but watch event object had type *v1beta1.Ingress" component
. If I use (k8s.io/client-go/pkg/apis/extensions/)v1beta1.Ingress
it seems to work on all cluster but I couldn't find any authoritative information about The Right Way.
Please document which structs to use with NewSharedInformer, preferably in a way that still works when Ingress get moved out of beta.