Skip to content

What are valid name values? #201

@kadel

Description

@kadel

Currently the components.container.enpoinds.name is defined as an ordinary string without any additional restrictions.
I'm not sure that this is what we want.
This field also serves as a unique identifier for referencing this field in other places (like in plugins or parents).
Shouldn't there be some restriction name value?
I'm not sure if we want people to create an endpoint with names like my super awesome endpoint.

This is not just for endpoints, but also for any other name or id field. We probably should put more restrictions on the name fields.

Metadata

Metadata

Assignees

Labels

area/apiEnhancement or issue related to the api/devfile specificationkind/enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions