tanzu promote (Tanzu Platform for Kubernetes)

Promoting resources between contexts while using tanzu deploy for GitOps.

Usage

CLI plugin: resource | Target: global | Primarily used for: Promoting resources between contexts | Release Notes

  tanzu promote [flags]

Flags

      --filter strings      Filter in promote groups
      --from-build string   Set build output directory (format: /tmp/foo)
  -h, --help                help for promote
      --registry string     OCI registry that artifacts should be promoted to
      --to string           Path to destination to promote to

Examples

Promote build output to a space

$ tanzu promote --from-build /tmp/build-output --to ~/gitops-project/spaces/space-dev

Promote applications from one space to another:

$ cd ~/gitops-project/spaces/space-dev
$ tanzu promote --to ../space-prod

Promote particular applications from one space to another:

$ tanzu promote --to ../space-prod --filter ContainerApp/where-for-dinner-crawler

Promote applications to a new OCI registry used by the destination space, when it differs from the registry used by the source:

$ tanzu promote --to ../space-prod --registry registry.somecorp.com/project/application
check-circle-line exclamation-circle-line close-line
Scroll to top icon