Skip to content

Extend ack-generate to override kubebuilder:printcolumn default priority #821

@a-hilaly

Description

@a-hilaly

Is your feature request related to a problem?
Currently we can configure ack-generate to generate Go comment markers for kubebuilder that specifies whether a field is kubectl get-printable and the column name for that field.

Describe the solution you'd like
I would like to be able to specify that field is only printable when passing the -o wide argument.

e.g:

k get tables
NAME   STATUS   TABLE
tbb    ACTIVE   tbb
k get tables -o wide
NAME   CREATIONDATE   STATUS   TABLE
tbb    3d20h          ACTIVE   tbb

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/code-generationIssues or PRs as related to controllers or docs code generationkind/enhancementCategorizes issue or PR as related to existing feature enhancements.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions