wf deploy appcomponent
wf deploy appcomponent
Deploys a single component to an application environment
Synopsis
Generates kubernetes manifests for the given component and deploys them to an application environment.
This command is equivalent to running 'wf deploy app --only component'.
Optionally opt to return the generate manifests to stdout (--dry-run) or to disk (--out) without applying them.
wf deploy appcomponent [flags]
Examples
# General usage:
$ wf deploy component APP APPENV --component COMPONENT_NAME
For full usage, see wf help deploy app
Options
-a, --application string the application to deploy to
--component string component to deploy
--container-image strings override the full image for a component in the format CONTAINERNAME=IMAGE, can be specified multiple times for multiple containers, e.g. ui=ghcr.io/org/project/image:v1.2.3
--container-tag strings override the image tags for a component in the format CONTAINERNAME=TAG, can be specified multiple times for multiple containers, e.g. ui=v1.2.3
--deploy-role string role to assume before deploying (default unless using a access token: namespace.edit)
--dry-run outputs manifests for the application to stdout without applying them (default: false)
--eject returns base manifests, kustomize.yaml, and patches (default: false)
-e, --env string the environment to deploy to
--force force override in the case of ownership conflicts when patching resources on deployment (default: false)
-h, --help help for appcomponent
--image string optional image to use to deploy (for a container component) e.g. ghcr.io/org/project/image:v1.2.3 or ghcr.io/org/project/image
--image-tag string optional image tag to use to deploy (for a container component) e.g. v1.2.3
--no-role deploys without first assuming a deployment role (default if using a access token, unless --deploy-role specified)
--only strings return only the specified components from the command
-O, --out string the dir to output to
-p, --path string the dir to output to (deprecated: use --out or -O)
--remove removes the objects represented by this application from the environment (default: false)
--wait-for-ready duration Wait for up to the supplied duration for all resources to have a ready status after applying, e.g. 30s
--wait-for-remove duration Time to wait for all resources to be removed when using --remove. Set to 0 to disable waiting. (default 1m0s)
--wait-for-role-ready duration Time to wait for the deployment role to be ready before giving up (default 30s)
Options inherited from parent commands
--debug Debug / trace logging (default: false)
--no-wait Do not wait for resources to provision
-o, --output string Output format of the resource (json,yaml,table) (default "table")
--profile string Use a profile other than your current - to change current: wf use profile NAME
--show-headers Display headers on table out (default true)
--verbose Verbose logging (default: false)
-w, --workspace string Workspace to use - to change default: wf use workspace NAME
SEE ALSO
- wf deploy - Deploys a resource to Wayfinder