spacecloud-io / space-cloud

Open source Firebase + Heroku to develop, scale and secure serverless apps on Kubernetes
https://space-cloud.io
Apache License 2.0
3.94k stars 222 forks source link

Docs needs updating: space-cli add registry disappeared #1450

Open alichry opened 3 years ago

alichry commented 3 years ago

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 commented 3 years ago

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

YourTechBud commented 3 years ago

Thanks for pointing it out. Will update it