Skip to content

Add tests that kube types added as CRDs show the expected columns #1003

@ncdc

Description

@ncdc

We have custom code that makes sure that when CRDs are added for built-in kube types (deployments, services, pods, etc.), kubectl get <resource> returns the same columns as the user expects, by replacing the CRD table converter with the go code for the printers for the internal built-in types. We should add tests that ensure we don't regress.

Example - deployments - if we regress:

NAME    AGE
kuard   104m

This is what's expected:

NAME    READY   UP-TO-DATE   AVAILABLE   AGE
kuard   0/1     1            0           3s

These can be both API and CLI tests.

cc @kasturinarra

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/kubernetesIssues or changes for Kubernetes as it relates to kcpgood first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions