Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/command-reference/tanzu_apps_workload_apply.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ tanzu apps workload apply --file workload.yaml
--dry-run print kubernetes resources to stdout rather than apply them to the cluster, messages normally on stdout will be sent to stderr
-e, --env "key=value" pair environment variables represented as a "key=value" pair ("key-" to remove, flag can be used multiple times)
-f, --file file path file path containing the description of a single workload, other flags are layered on top of this resource. Use value "-" to read from stdin
--git-branch branch branch within the git repo to checkout
--git-commit SHA commit SHA within the git repo to checkout
--git-repo url git url to remote source code
--git-tag tag tag within the git repo to checkout
--git-branch branch branch within the git repo to checkout (to unset, pass empty string "")
--git-commit SHA commit SHA within the git repo to checkout (to unset, pass empty string "")
--git-repo url git url to remote source code (to unset, pass empty string "")
--git-tag tag tag within the git repo to checkout (to unset, pass empty string "")
-h, --help help for apply
-i, --image image pre-built image, skips the source resolution and build phases of the supply chain
-l, --label "key=value" pair label is represented as a "key=value" pair ("key-" to remove, flag can be used multiple times)
Expand Down
8 changes: 4 additions & 4 deletions docs/command-reference/tanzu_apps_workload_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ tanzu apps workload create --file workload.yaml
--dry-run print kubernetes resources to stdout rather than apply them to the cluster, messages normally on stdout will be sent to stderr
-e, --env "key=value" pair environment variables represented as a "key=value" pair ("key-" to remove, flag can be used multiple times)
-f, --file file path file path containing the description of a single workload, other flags are layered on top of this resource. Use value "-" to read from stdin
--git-branch branch branch within the git repo to checkout
--git-commit SHA commit SHA within the git repo to checkout
--git-repo url git url to remote source code
--git-tag tag tag within the git repo to checkout
--git-branch branch branch within the git repo to checkout (to unset, pass empty string "")
--git-commit SHA commit SHA within the git repo to checkout (to unset, pass empty string "")
--git-repo url git url to remote source code (to unset, pass empty string "")
--git-tag tag tag within the git repo to checkout (to unset, pass empty string "")
-h, --help help for create
-i, --image image pre-built image, skips the source resolution and build phases of the supply chain
-l, --label "key=value" pair label is represented as a "key=value" pair ("key-" to remove, flag can be used multiple times)
Expand Down
8 changes: 4 additions & 4 deletions docs/command-reference/tanzu_apps_workload_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ tanzu apps workload update --file workload.yaml
--dry-run print kubernetes resources to stdout rather than apply them to the cluster, messages normally on stdout will be sent to stderr
-e, --env "key=value" pair environment variables represented as a "key=value" pair ("key-" to remove, flag can be used multiple times)
-f, --file file path file path containing the description of a single workload, other flags are layered on top of this resource. Use value "-" to read from stdin
--git-branch branch branch within the git repo to checkout
--git-commit SHA commit SHA within the git repo to checkout
--git-repo url git url to remote source code
--git-tag tag tag within the git repo to checkout
--git-branch branch branch within the git repo to checkout (to unset, pass empty string "")
--git-commit SHA commit SHA within the git repo to checkout (to unset, pass empty string "")
--git-repo url git url to remote source code (to unset, pass empty string "")
--git-tag tag tag within the git repo to checkout (to unset, pass empty string "")
-h, --help help for update
-i, --image image pre-built image, skips the source resolution and build phases of the supply chain
-l, --label "key=value" pair label is represented as a "key=value" pair ("key-" to remove, flag can be used multiple times)
Expand Down
8 changes: 4 additions & 4 deletions pkg/commands/workload.go
Original file line number Diff line number Diff line change
Expand Up @@ -718,10 +718,10 @@ func (opts *WorkloadOptions) DefineFlags(ctx context.Context, c *cli.Config, cmd
cmd.Flags().StringArrayVar(&opts.ParamsYaml, cli.StripDash(flags.ParamYamlFlagName), []string{}, "specify nested parameters using YAML or JSON formatted values represented as a `\"key=value\" pair` (\"key-\" to remove, flag can be used multiple times)")
cmd.Flags().BoolVar(&opts.Debug, cli.StripDash(flags.DebugFlagName), false, "put the workload in debug mode ("+flags.DebugFlagName+"=false to deactivate)")
cmd.Flags().BoolVar(&opts.LiveUpdate, cli.StripDash(flags.LiveUpdateFlagName), false, "put the workload in live update mode ("+flags.LiveUpdateFlagName+"=false to deactivate)")
cmd.Flags().StringVar(&opts.GitRepo, cli.StripDash(flags.GitRepoFlagName), "", "git `url` to remote source code")
cmd.Flags().StringVar(&opts.GitBranch, cli.StripDash(flags.GitBranchFlagName), "", "`branch` within the git repo to checkout")
cmd.Flags().StringVar(&opts.GitCommit, cli.StripDash(flags.GitCommitFlagName), "", "commit `SHA` within the git repo to checkout")
cmd.Flags().StringVar(&opts.GitTag, cli.StripDash(flags.GitTagFlagName), "", "`tag` within the git repo to checkout")
cmd.Flags().StringVar(&opts.GitRepo, cli.StripDash(flags.GitRepoFlagName), "", "git `url` to remote source code (to unset, pass empty string \"\")")
cmd.Flags().StringVar(&opts.GitBranch, cli.StripDash(flags.GitBranchFlagName), "", "`branch` within the git repo to checkout (to unset, pass empty string \"\")")
cmd.Flags().StringVar(&opts.GitCommit, cli.StripDash(flags.GitCommitFlagName), "", "commit `SHA` within the git repo to checkout (to unset, pass empty string \"\")")
cmd.Flags().StringVar(&opts.GitTag, cli.StripDash(flags.GitTagFlagName), "", "`tag` within the git repo to checkout (to unset, pass empty string \"\")")
cmd.Flags().StringVarP(&opts.SourceImage, cli.StripDash(flags.SourceImageFlagName), "s", "", "destination `image` repository where source code is staged before being built")
cmd.Flags().StringVar(&opts.SubPath, cli.StripDash(flags.SubPathFlagName), "", "relative `path` inside the repo or image to treat as application root (to unset, pass empty string \"\")")
cmd.Flags().StringVar(&opts.LocalPath, cli.StripDash(flags.LocalPathFlagName), "", "`path` to a directory, .zip, .jar or .war file containing workload source code")
Expand Down