kubernetes-client / kubernetes-client/javascript
CustomObjectsApi.deleteCollectionNamespacedCustomObject does not support several OpenAPI query parameters
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 568
- Avg merge
- 17h 57m
- Merged PRs (30d)
- 41
Description
**Describe the bug**
The OpenAPI specification generated for CRDs declares verb `delete` on the path `/apis/{group}/{version}/namespaces/{namespace}/{plural}`.
However, the `CustomObjectsApi.deleteCollectionNamespacedCustomObject` does not support several of those query parameters; `allowWatchBookmarks, continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, timeoutSeconds & watch`
** Client Version **
`0.20.0` (although the same is still true in HEAD of the master branch)
** Server Version **
e.g. `1.19.1`
**To Reproduce**
Use the API!
**Expected behavior**
The missing parameters could be classified into groups:
- filtering: `fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch`
- watching: `allowWatchBookmarks, continue, timeoutSeconds, watch`
Supporting the filtering parameters would be the minimal fix that I would expect.
Contributor guide
Assessment
This issue has not been assessed yet.