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

field_selector for custom objects missing #62

Closed
HaraldGustafsson opened this issue Feb 27, 2019 · 2 comments
Closed

field_selector for custom objects missing #62

HaraldGustafsson opened this issue Feb 27, 2019 · 2 comments
Assignees

Comments

@HaraldGustafsson
Copy link

HaraldGustafsson commented Feb 27, 2019

Noticed that the field_selector parameter is missing for listing custom objects list_cluster_custom_object and list_namespaced_custom_object in custom_objects_api. See this issue for when it was added to Kubernetes.
kubernetes/kubernetes#51046

It should support field selector for name and namespace (potentially more later)

Don't know if it is missing from all OpenAPI generated clients.

It works from kubectl:
kubectl -v=7 get customobjname --field-selector "metadata.name=myname" -o yaml
lists CRDs of customobjname kind.

@tomplus tomplus self-assigned this Feb 27, 2019
@tomplus
Copy link
Owner

tomplus commented Feb 28, 2019

Thanks for spotting this. All clients are affected and I've just added a PR kubernetes-client/gen#106 to add the parameter.

@tomplus
Copy link
Owner

tomplus commented Mar 24, 2019

It's been fixed in the version v9.0.0.

@tomplus tomplus closed this as completed Mar 24, 2019
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

No branches or pull requests

2 participants