Skip to content

Ability to obtain RESTClient for given type #680

@chemikadze

Description

@chemikadze

While trying to use controller-runtime client (outside of controller context), I have faced the need to create watches on objects. Doing that via utilities provided in client-go requires RESTClient to be acquired, which is not exposed by controller-runtime client, and handling creation of RESTClient just for single API call feels a bit redundant. Also, exposing RESTClient would unlock things like #452 in cases, when typed client is available.

Metadata

Metadata

Labels

good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/designCategorizes issue or PR as related to design.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.priority/awaiting-more-evidenceLowest priority. Possibly useful, but not yet enough support to actually get it done.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions