This adds a framework for integration tests that run against a bare kube-apiserver with no other Kubernetes components (i.e. no kubelets). Unlike the end-to-end tests in examples/, these integration tests don't require an actual Kubernetes cluster. This allows efficient testing of Metacontroller behavior at the level of its interaction with Kubernetes API objects, after which the respective implementations of those APIs are assumed to work.
This also includes the first sample test, which exercises a simple CompositeController sync webhook scenario to validate the test framework. Additional tests will be added in separate PRs.
This adds a framework for integration tests that run against a bare kube-apiserver with no other Kubernetes components (i.e. no kubelets). Unlike the end-to-end tests in
examples/
, these integration tests don't require an actual Kubernetes cluster. This allows efficient testing of Metacontroller behavior at the level of its interaction with Kubernetes API objects, after which the respective implementations of those APIs are assumed to work.This also includes the first sample test, which exercises a simple CompositeController sync webhook scenario to validate the test framework. Additional tests will be added in separate PRs.