Skip to content

Lagoon update environment

lagoon update environment#

Update an environment

lagoon update environment [flags]

Options#

  -a, --auto-idle uint            Auto idle setting of the environment (default 1)
      --deploy-base-ref string    Updates the deploy base ref for the selected environment
      --deploy-head-ref string    Updates the deploy head ref for the selected environment
  -d, --deploy-target uint        Reference to OpenShift Object this Environment should be deployed to
      --deploy-title string       Updates the deploy title for the selected environment
      --deploy-type string        Update the deploy type - branch | pullrequest | promote
      --environment-type string   Update the environment type - production | development
  -h, --help                      help for environment
      --namespace string          Update the namespace for the selected environment
      --route string              Update the route for the selected environment
      --routes string             Update the routes for the selected environment

Options inherited from parent commands#

      --config-file string   Path to the config file to use (must be *.yml or *.yaml)
      --debug                Enable debugging output (if supported)
  -e, --environment string   Specify an environment to use
      --force                Force yes on prompts (if supported)
  -l, --lagoon string        The Lagoon instance to interact with
      --no-header            No header on table (if supported)
      --output-csv           Output as CSV (if supported)
      --output-json          Output as JSON (if supported)
      --pretty               Make JSON pretty (if supported)
  -p, --project string       Specify a project to use
      --skip-update-check    Skip checking for updates
  -i, --ssh-key string       Specify path to a specific SSH key to use for lagoon authentication

SEE ALSO#