Open
Description
Overview
How can we tell that an exported k8s object is correct? For instance:
The best bet we have today is to check the Spec
field against the golden object's Spec
:
Possible solution
Unit test approach
- Since both of those files are both "golden" files they can be statically analyzed after the fact with a unit test. This can be parallelized and could be pretty fast.
At e2e runtime check
- We could also add a check in the unified_test for this need but we can probably get more value out of the unit test approach.
Metadata
Metadata
Assignees
Labels
No labels