Skip to content

Strict validation for unrecognized +kubebuilder markers in controller-gen #887

@ahmetb

Description

@ahmetb

I am recently hurt by a lowercase-uppercase mistake in +kubebuilder:validation:enum vs +kubebuilder:validation:Enum marker (which is not even a misspelling).

So I'm proposing that controller-gen should try to do something with every single +kubebuilder:* marker and fail if it does not recognize the marker.

Metadata

Metadata

Assignees

No one assigned

    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