Skip to content

crd-generation: field annotated with @PrinterColumn of type enum defined as object in the genrated CRD  #3011

@lburgazzoli

Description

@lburgazzoli

If a field of a CR is an enum and annotated with @PrinterColumn, the resulting CRD definition reports it as an object which is invalid.

additionalPrinterColumns:
  - JSONPath: .status.phase
    name: PHASE
    type: object

kubernetes-client: 5.3.0
reproducer: https://github.com/lburgazzoli/fabric8-kubernetes-client-crdgen

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions