Skip to content
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

Unbreak minion watch on kubelet #6401

Merged
merged 1 commit into from
Apr 3, 2015

Conversation

bprashanth
Copy link
Contributor

Even though we watch against a minion/ endpoint, registering field selectors needs to happen against the kind of the resource, which is the name go reports for it's type (the type returned by the New function of its storage). In the case of minions, the storage is minion/etcd and the type is api.Node, so the kind is Node not Minion.

@bprashanth
Copy link
Contributor Author

@smarterclayton @lavalamp

@bprashanth
Copy link
Contributor Author

Haven't run e2e yet, addresses #6395

@smarterclayton
Copy link
Contributor

LGTM, merging to fix the break

@smarterclayton
Copy link
Contributor

As a follow up, we should add a test case to catch it.

smarterclayton added a commit that referenced this pull request Apr 3, 2015
Unbreak minion watch on kubelet
@smarterclayton smarterclayton merged commit e912d52 into kubernetes:master Apr 3, 2015
@wojtek-t
Copy link
Member

wojtek-t commented Apr 3, 2015

Thanks for fixing it @bprashanth !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants