Skip to content

Drop dependency on k8s.io/kubernetes #2030

@howardjohn

Description

@howardjohn

Kubernetes intentionally ships a broken go.mod file to discourage people from depending on k8s.io/kubernetes (see kubernetes/kubernetes#79384). As a result, in order to depend on operator-sdk, we must go through major hacks to get go modules working.

Is it feasible to drop this dependency?

kubernetes/kubernetes#79384 (comment) indicates it may be possible to move the controller library out of k8s.io/kubernetes, and I think the only other usage is kubectl which can already use k8s.io/api and k8s.io/kubectl

Metadata

Metadata

Labels

area/dependencyIssues or PRs related to dependency changeslanguage/helmIssue is related to a Helm operator projecttriage/needs-informationIndicates an issue needs more information in order to work on it.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions