Azure / service-catalog-cli

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

Provision command #83

Closed carolynvs closed 6 years ago

carolynvs commented 6 years ago
$ svcat provision --help
Create a new instance of a service

Usage:
  svcat provision NAME --plan PLAN --class CLASS [flags]

Examples:

  svcat provision wordpress-mysql-instance --class azure-mysqldb --plan standard800 -p location=eastus -p sslEnforcement=disabled
  svcat provision wordpress-mysql-instance --class azure-mysqldb --plan standard800 -s mysecret[dbparams]

Flags:
      --class string         The class name (Required)
  -h, --help                 help for provision
  -n, --namespace string     The namespace in which to create the instance (default "default")
  -p, --param stringArray    Additional parameter to use when provisioning the service, format: NAME=VALUE
      --plan string          The plan name (Required)
  -s, --secret stringArray   Additional parameter, whose value is stored in a secret, to use when provisioning the service, format: SECRET[KEY]

Closes #79

carolynvs commented 6 years ago

@arschles I'm going to split out the wait behavior into a separate issue. For now the commands can return immediately. We can make it do awesome things in a separate sweep and all the commands will be consistent.

See https://github.com/Azure/service-catalog-cli/issues/89

arschles commented 6 years ago

Looks good @carolynvs , just waiting for CI