wf validate package
wf validate package
Validate (test) a package definition
Synopsis
Lets you iteratively validate packages before promoting them.
wf validate package [flags]
Examples
# Full validation of a package from file
# - The file must contain the YAML of a package you wish to test
# - This will release the package defined in the file to the specified cluster
$ wf validate package -f cert-manager.yaml -c clustername
# Full validation of an existing package version
# - This will release the package version to the specified cluster
$ wf validate package --name cert-manager --version 1.14.5-1 -c clustername
Options
--allow-update Allow the package to be updated if already deployed to cluster
--cluster string Cluster to deploy package to
--delete Delete package release after validation
-f, --file PATH Path to file containing package definition/s ('-' for stdin) PATH
-h, --help help for package
--name NAME Name of existing package to validate (requires --version) NAME
--timeout duration Timeout for the package to go to success - set this longer than any timeout specified in the package spec.helm.helmTimeout (default 3m0s)
--version VERSION Version of existing package to validate (requires --name) VERSION
Options inherited from parent commands
--debug Debug / trace logging (default: false)
--force Force operation to happen (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 validate - Validates Wayfinder objects