Promoting resources between contexts while using tanzu deploy
for GitOps.
CLI plugin: resource
| Target: global
| Primarily used for: Promoting resources between contexts | Release Notes
tanzu promote [flags]
--filter strings Filter in promote groups
--from-build string Set build output directory (format: /tmp/foo)
-h, --help help for promote
--to string Path to destination to promote to
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