A new command to add K8s component to the Devfile from file
/kind feature
Which functionality do you think we should add?
Add a new command to odo that will add K8s component to the Devfile from a file.
odo add component --type k8s --from-file <file>
Why is this needed?
This command might be helpful in cases where you need to modify the Devfile to add a K8s resource without doing so manually. For e.g., defining a DB microservice inside Devfile that the application can connect to via ServiceBinding; odo will ensure the microservice is created for a successful bind. Using the command will avoid having to use kubectl or oc client to create the service as well.
cc: @mohitsuman I am opening this issue after my discussion with Tomas about his discussion with you. This command might help with your guides.
A friendly reminder that this issue had no activity for 90 days. Stale issues will be closed after an additional 30 days of inactivity.
This issue was closed because it has been inactive for 30 days since being marked as stale.
/remove-lifecycle rotten /remove-lifecycle stale /lifecycle frozen /priority Low /reopen
Still relevant.