Azure / service-catalog-cli

See the upstream repository ->
https://github.com/kubernetes-incubator/service-catalog
MIT License
33 stars 14 forks source link

Add commands to provision, bind, deprovision and unbind #40

Closed arschles closed 6 years ago

arschles commented 6 years ago

maybe svc-cat provision <class name> <plan name> and similar.

thoughts @carolynvs ?

carolynvs commented 6 years ago

The verbs are good. I'm voting for --class and --plan instead of positional arguments though. I can guarantee I would perpetually forget the order. 😀

Maybe something like this?

svc-cat provision <instance_name> --class <class_name> --plan <plan_name> [--param "foo=bar" --param "baz=qux"] [--context "org-guid=abc-1232" --context "space-guid=def-456"]

Can we just use context or do we need the soon to be deprecated org and space from the spec?

(I will look at the other verbs when we are happy with provision)

arschles commented 6 years ago

the flags work for me @carolynvs

I don't think we need to include the org or space, since those are not required in the ServiceInstance (here is an example)

carolynvs commented 6 years ago

Closing this in favor of splitting out each command into a separate issue.

79 - provision

80 - deprovision

81 - bind

82 - unbind