Skip to content

Use imageName in Image component as selector #6565

@kadel

Description

@kadel

/kind user-story

User Story

As an odo user, I don't want to hardcode the registry for the image components or kubernetes manifest in the devfile, because it will make devfiles not portable.

Two users should be able to reuse exactly the same devfile but the images should be pushed to their own registry.

Acceptance Criteria

  • odo should have a preference that allows users to globally configure image registry
  • odo dev and odo deploy commands should have a flag that allows users to specify image registry, this overrides the global configuration (preference)

(it would be nice to be able to store image registry on the per-devfile basis, this is something that we can consider later once we get some feedback about how this is being used)

Links

Explanation of how the image selector should work.
devfile/api#985 (comment)

Sub-stories/tasks:

/kind user-story

Metadata

Metadata

Assignees

Labels

area/devfile-specIssues or PRs related to the Devfile specification and how odo handles and interprets it.kind/user-storyAn issue of user-story kindpriority/HighImportant issue; should be worked on before any other issues (except priority/Critical issue(s)).sprint demoIndicates an issue for which a demo should be recorded and presented at the end of the sprint.

Type

No type

Projects

Status

Done ✅

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions