Open AObuchow opened 1 month ago
https://github.com/devfile/devworkspace-operator/pull/1307 & https://github.com/devfile/devworkspace-operator/pull/1329 added commands to devworkspaces with the name format init-ssh-agent-command-x. These commands are meant to be run automatically as postStart commands, rather than being invoked by users manually.
init-ssh-agent-command-x
Currently, in Che we are [filtering out](https://github.com/che-incubator/che-code/pull/445 these specific commands in the editor so that they are not displayed in the commands list.
However, a better approach would be to add an attribute to all DWO-injected commands that should not be displayed to the user. For example, controller.devfile.io/internal-command: true.
controller.devfile.io/internal-command: true
Thank you for the suggestion @RomanNikitenko :)
Description
https://github.com/devfile/devworkspace-operator/pull/1307 & https://github.com/devfile/devworkspace-operator/pull/1329 added commands to devworkspaces with the name format
init-ssh-agent-command-x
. These commands are meant to be run automatically as postStart commands, rather than being invoked by users manually.Currently, in Che we are [filtering out](https://github.com/che-incubator/che-code/pull/445 these specific commands in the editor so that they are not displayed in the commands list.
However, a better approach would be to add an attribute to all DWO-injected commands that should not be displayed to the user. For example,
controller.devfile.io/internal-command: true
.Additional context
Thank you for the suggestion @RomanNikitenko :)