Closed jacobtomlinson closed 2 months ago
Attention: Patch coverage is 97.91667%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 95.19%. Comparing base (
87063fc
) to head (0987ff5
). Report is 110 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
kr8s/_data_utils.py | 96.29% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Fixes #482
This PR reads all API versions for each group instead of just reading the latest. This should fix the issue from #482 where a CRD has been dropped from the latest version but you still want to use it.
I've also implemented a version sorting utility so that we can ensure the list of resources is sorted correctly. This means that if you try and create a new class for an object that has multiple versions the latest version will be chosen automatically.