Skip to content

opm validate should enforce RFC1123 label requirements on olm.package.name #1306

@grokspawn

Description

@grokspawn

to provide the capability for olm.package.name to be used as a unique identifier in clusters, we need to ensure that it is usable in all cases, including as metadata.name for related objects.

To make it easy to help authors contribute to catalogs consistently, opm validate should fail validation for the case where any olm.package.name violates RFC1123 label constraints.

As a stretch goal, it should also emit a warning if olm.package.name violates RFC1035 label constraints.

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