space-cloud icon indicating copy to clipboard operation
space-cloud copied to clipboard

Docs needs updating: space-cli add registry disappeared

Open alichry opened this issue 5 years ago • 2 comments

Version: 0.20.0

Add a add-on to the environment

Usage:
  space-cli add [command]

Available Commands:
  database    Add a database

Flags:
  -h, --help   help for add

Global Flags:
      --log-level string   Sets the log level of the command (default "info")
      --project string     The project id to perform the options in

Use "space-cli add [command] --help" for more information about a command.

Version 0.19.5:

Add a add-on to the environment

Usage:
  space-cli add [command]

Available Commands:
  database    Add a database
  registry    Add a docker registry

Flags:
  -h, --help   help for add

Global Flags:
      --log-level string   Sets the log level of the command (default "info")
      --project string     The project id to perform the options in

Use "space-cli add [command] --help" for more information about a command.

What's a temporary fix for this.. I need it as soon as possible... The docs are a bit inconsistent with these changes.

alichry avatar Dec 18 '20 08:12 alichry

See https://docs.spaceuptech.com/microservices/deployments/deploy-custom-code/

Before we can deploy our service, we need to make sure that you have configured your Space Cloud project for which container registry to publish the docker images to.
If you are using the Docker setup of Space Cloud, then space-cli has a built-in command to spin up a container registry at localhost:5000 for you and configure Space Cloud to publish images to this registry. Here’s the command to do it: space-cli --project <project-id> add registry

alichry avatar Dec 20 '20 09:12 alichry

Thanks for pointing it out. Will update it

YourTechBud avatar Jan 01 '21 07:01 YourTechBud