keptn upgrade project

keptn upgrade project

Upgrades an existing Keptn project

Synopsis

Upgrades an existing Keptn project with the provided name.

This command will upgrade the shipyard of the project to the specified version

By executing the update project command, Keptn will fetch the current shipyard.yaml file of the project and convert it to the version specified in the ‘toVersion” flag.

For more information about upgrading projects, go to Manage Keptn

keptn upgrade project PROJECTNAME --shipyard --fromVersion=CURRENT_SHIPYARD_VERSION --toVersion=TARGET_SHIPYARD_VERSION [flags]

Examples

keptn upgrade project PROJECTNAME --shipyard --fromVersion=0.1.0 --toVersion=0.2.0

Options

      --dry-run              Output the upgraded shipyard but don't upload it to the project
      --fromVersion string   The current version of the shipyard
      --shipyard             Upgrade the shipyard file of the project
      --toVersion string     The new target version of the shipyard

Options inherited from parent commands

      --config-file string   Specify custom Keptn Config file path (default: ~/.keptn/config)
  -h, --help                 help
      --mock                 Disables communication to a Keptn endpoint
  -n, --namespace string     Specify the namespace where Keptn should be installed, used and uninstalled in (default "keptn")
  -q, --quiet                Suppresses debug and info messages
  -v, --verbose              Enables verbose logging to print debug messages
  -y, --yes                  Assume yes for all user prompts

SEE ALSO

  • keptn upgrade - Upgrades Keptn on a Kubernetes cluster and supports upgrading the shipyard of a project to a new specification.
Auto generated by spf13/cobra on 25-Nov-2021