-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added -o json
for storage creation / deletion / waiting
#2055
Comments
This has actually already been implemented for github.com/openshift/odo add-service-listing-json ✔ 2d
▶ ./odo storage create mystorage --path=/opt/app-root/src/storage/ --size=1Gi -o json --context ~/nodejs-ex
{"kind":"storage","apiVersion":"odo.openshift.io/v1alpha1","metadata":{"name":"mystorage","creationTimestamp":null},"spec":{"size":"1Gi"},"status":{"path":"/opt/app-root/src/storage/"}} |
/unassign @cdrage |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[kind/Enhancement]
Which functionality do you think we should update/improve?
Currently we use the below commands for VSCode for storage creation / deletion / waiting:
createStorage
deleteStorage
waitForStorageToBeGone
We need to implement the
-o json
parameter for each command's output.Why is this needed?
Needed for json output / VSCode to consume said output.
The text was updated successfully, but these errors were encountered: