Skip to content

Strategy to deal with transitive depencencies on client-go <1.18  #88472

@ibuildthecloud

Description

@ibuildthecloud

v1.18.0-beta.0 introduces an API change in the generated client-go code where ctx is required now as the first parameter. As a mitigation strategy a deprecated client has been created for people unable/unwilling to change to the new API. This works fine for code that one controls, but it does not work for transitive dependencies. Is there a strategy to handle transitive dependencies that are expecting the old style of API? I'm not sure how to deal with this short of forking all dependencies. Has this scenario been considered?

Metadata

Metadata

Assignees

Labels

kind/supportCategorizes issue or PR as a support question.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.sig/api-machineryCategorizes an issue or PR as relevant to SIG API Machinery.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions