odo icon indicating copy to clipboard operation
odo copied to clipboard

A new command to add K8s component to the Devfile from file

Open valaparthvi opened this issue 3 years ago • 4 comments

/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.

valaparthvi avatar Nov 23 '22 10:11 valaparthvi

cc: @mohitsuman I am opening this issue after my discussion with Tomas about his discussion with you. This command might help with your guides.

valaparthvi avatar Nov 23 '22 10:11 valaparthvi

A friendly reminder that this issue had no activity for 90 days. Stale issues will be closed after an additional 30 days of inactivity.

github-actions[bot] avatar Jul 16 '23 00:07 github-actions[bot]

This issue was closed because it has been inactive for 30 days since being marked as stale.

github-actions[bot] avatar Aug 17 '23 00:08 github-actions[bot]

/remove-lifecycle rotten /remove-lifecycle stale /lifecycle frozen /priority Low /reopen

Still relevant.

rm3l avatar Oct 30 '23 09:10 rm3l