Skip to content

Add support for devfile 2.0 variables #508

@amisevsk

Description

@amisevsk

Description

The devfile 2.0 spec includes global variables, which define key-value pairs, e.g.

variables:
  my-var: "some value"

These variables can be referenced in non-key string fields within the devfile using {{my-var}} to template different versions of a devfile by setting only the variable field.

We should add support for this in DWO.

See issue devfile/api#239 and PR devfile/api#352 for details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    sprint/currentIs assigned to issues which are planned to work on in the current team sprint

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions