Open questions for testing:
- We don't currently have a mock/fixture interface for a k8s cluster to test, for example,
data.ClusterIDFromPersistentStorage.Get() against. We should consider some way to achieve a functional test of business logic which depends on a k8s abstraction.
- Same for the "Versions" API that contains authoritative deis component version data. Consider standing up a mock API so we can test code that depends on that API.
Open questions for testing:
data.ClusterIDFromPersistentStorage.Get()against. We should consider some way to achieve a functional test of business logic which depends on a k8s abstraction.