-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Document where to use versioned struct and where not #289
Comments
FYI, I got the error also on 1.7 k8s cluster (1.7.2) |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
/lifecycle frozen |
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 errorexpected 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.
The text was updated successfully, but these errors were encountered: