Skip to content

add support for command field in container components #5648

@kadel

Description

@kadel

devfile/registry#102 (comment)

Odo is not able to use devfiles that have container component with a custom command. Problem is that in the current odo implementation it overrides the default process in deployment which means that supervisord is not started. When supervisord is not running, odo is not able to execute any commands in the container.

A quick fix is for odo to ignore command and args fields in container components.
This has been done in #5620

The proper fix is going to be to keep using supervisord as pid1, and execute the commmand with args "on the side" as a separate process.

/kind bug
/priority high

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.priority/HighImportant issue; should be worked on before any other issues (except priority/Critical issue(s)).

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions