Skip to content

[Discuss] Move sigs.k8s.io/testing_frameworks/integration to controller-runtime #676

@hoegaarden

Description

@hoegaarden

Proposal: Move testing_frameworks/integration into controller-runtime (& deprecate the former)

xref: kubernetes-retired/testing_frameworks#68 (comment)

Advantages:

  • Some configuration and implementation gets simpler; e.g. the equivalent of "kubebuilder assets"
  • Smaller change/PR overhead - changes that involve both testing_frameworks/integration and controller-runtime can be done in one place
  • Until now, testing_frameworks/integration has made the decision to not vendor any k/k packages. controller-runtime, on the other hand, is using k8s.io packages. That sometimes creates friction (e.g. Support rest config to talk to the control plane kubernetes-retired/testing_frameworks#68), which could be eliminated if the 2 lived in the same place.

Drawbacks:

  • Anyone who is using testing_frameworks/integration would be forced to vendor parts of k8s.io, which might not be desirable. In practice, we have only seen references to testing_frameworks/integration as part of controller-runtime, so that should be a pretty slim possibility.
  • The resulting codebase would not be able to be vendored into k/k (as is the case with controller-runtime today anyway).

Todos:

  • Move code to controller-runtime
  • Check on deprecation of repos with sig-contribex (or whoever is responsible for that)
  • Deprecate sigs.k8s.io/testing_frameworks

/cc @DirectXMan12 @mengqiy @apelisse
/sig testing
/kind cleanup

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.sig/testingCategorizes an issue or PR as relevant to SIG Testing.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions