Entando Upgrade CLI

Currently this app depends on some packages of upgrade-operator, that are referenced in the file go.mod using a relative file path (../upgrade-operator). Be sure to have put the two directories at the same level.

The spawn package has been copied from the entando-go-tools repo.

Environment variables

Following environment variables must be set:

  • ENTANDO_CLI_KUBECTL_COMMAND: base kubectl command; for testing purposes it can be set to kubectl -n entando
  • ENTANDO_CLI_APPNAME: name of the Entando app
  • ENTANDO_CLI_INGRESS_HOST_NAME: Entando ingress host name

These variable will be passed to the app by the ent wrapper.