Skip to content

Lagoon update environment

lagoon update environment#

Update an environment

lagoon update environment [flags]

Options#

  -a, --auto-idle                 Auto idle setting of the environment. Set to enable, --auto-idle=false to disable
      --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
      --deploy-title string       Updates the deploy title for the selected environment
      --deploy-type string        Update the deploy type - branch | pullrequest | promote
  -d, --deploytarget uint         Reference to Deploytarget(Kubernetes) this Environment should be deployed to
      --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
      --ssh-publickey string              Specify path to a specific SSH public key to use for lagoon authentication using ssh-agent.
                                          This will override any public key identities defined in configuration
      --strict-host-key-checking string   Similar to SSH StrictHostKeyChecking (accept-new, no, ignore) (default "accept-new")
  -v, --verbose                           Enable verbose output to stderr (if supported)

SEE ALSO#