Skip to content

Many devfiles fail to validate under v0.14.0 #816

@amisevsk

Description

@amisevsk

Description

Due to changes in the upstream devfile/api dependency around validating endpoints, DevWorkspaces that reference the standard Theia devfile fail to start in DWO due to validation issues:

2 errors occurred:\n\t* devfile contains multiple endpoint entries with
    same TargetPort: 3100\n\t* devfile contains multiple endpoint entries with same
    TargetPort: 3100\n\n

See devfile/api#821 for details.

How To Reproduce

  1. Deploy DWO v0.14.0
  2. Apply samples/theia-next.yaml from this repo.

Expected behavior

Previous validation behavior (endpoints can reuse ports if they are attached to the same container) should be used.

Additional context

devfile/api issue: devfile/api#821
devfile/api PR with fix: devfile/api#822

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions