Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

regression: find the correct custom resource version #1215

Merged
merged 1 commit into from Aug 8, 2020

Conversation

bryanl
Copy link
Contributor

@bryanl bryanl commented Aug 8, 2020

What this PR does / why we need it:

This change updates Octant to allow it to be able to detect the exact custom resource version to load when generating content. Previously, it used the first version which could be incorrect.

This change also:

  • extracts custom resource loading to a new interface
  • ensures the CRD is valid when trying to find the GVK for a CRD
  • adds helpers to make generating CRD/CR easier

Release note:

Find the correct custom resource version when generating content

@bryanl bryanl requested a review from wwitzel3 August 8, 2020 14:42
This change updates Octant to allow it to be able to detect the extact custom resource version to load when generating content. Previously, it used the first version which could be incorrect.

This change also:
* extracts custom resource loading to a new interface
* ensures the CRD is valid when trying to find the GVK for a CRD
* adds helpers to make generating CRD/CR easier

Signed-off-by: bryanl <bryanliles@gmail.com>
@wwitzel3 wwitzel3 merged commit 326311e into vmware-archive:master Aug 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants