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

List additional columns in Custom Resource view #473

Closed

Conversation

GarySmith
Copy link
Contributor

Custom Resource Definitions may additionalPrinterColumns that are
specific to a give api version. The CustomResourceHandler and
CustomResourceListHandler were only handling top-level
additionalPrinterColumns that apply to all columns regardless of
version. This change handles version-specific additionalPrinterColumns.
This change addresses #405

Custom Resource Definitions may additionalPrinterColumns that are
specific to a give api version.  The CustomResourceHandler and
CustomResourceListHandler were only handling top-level
additionalPrinterColumns that apply to all columns regardless of
version.  This change handles version-specific additionalPrinterColumns.
This change addresses vmware-archive#405

Signed-off-by: Gary Smith <garysmith123@gmail.com>
@GarySmith
Copy link
Contributor Author

Note that this is failing the unit test due to an unrelated bug in the internal representation of CRDs in octant, discussed here #405 (comment) . Wayne Witzel suggested in the octant slack channel that this is being addressed in another PR.

@wwitzel3 wwitzel3 requested a review from a team December 13, 2019 00:13
@bryanl
Copy link
Contributor

bryanl commented Dec 13, 2019

Hello, I'm going to close this PR because I want to fix a bigger problem around CRDs that will make this change redundant. Thanks for pointing this issue out, and we'll have a fix pretty soon.

@bryanl
Copy link
Contributor

bryanl commented Dec 18, 2019

I revamped the CRD system in #490. Should solve this problem and a couple of others. Please retest when you get a chance.

@wwitzel3 wwitzel3 closed this Dec 18, 2019
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

3 participants