Skip to content

Update opm package, channel, bundle name validation #1437

Closed as not planned
Closed as not planned
@everettraven

Description

@everettraven

Package

We should move to DNS 1123 Subdomain in opm validate (ideally moved into the model.go validations) to align with ClusterExtension validation which discovered a few other package names that are invalid with our current validation.

Channel

We should add (or move to) DNS 1123 Subdomain in opm validate (ideally moved into the model.go validations) to align with ClusterExtension validation which discovered a few other channel names that are invalid with our current validation.

Bundle

TBD - need to find a spec or pattern that matches all currently known bundle names. Given most bundle names are <packageName>.v<version>, we likely can use DNS 1123 subdomain validation for bundle names here as well.

https://gist.github.com/everettraven/4691c8cc6181f28b129f46cceeb602b5

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions