Merge pull request #350 from stek29/list-skip-charts-docs

docs: add docs for helmfile list
This commit is contained in:
yxxhero 2022-09-06 20:41:31 +08:00 committed by GitHub
commit d8ec42c48f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 20 deletions

View File

@ -527,12 +527,12 @@ Flags:
-n, --namespace string Set namespace. Uses the namespace set in the context by default, and is available in templates as {{ .Namespace }} -n, --namespace string Set namespace. Uses the namespace set in the context by default, and is available in templates as {{ .Namespace }}
--no-color Output without color --no-color Output without color
-q, --quiet Silence output. Equivalent to log-level warn -q, --quiet Silence output. Equivalent to log-level warn
-l, --selector strings Only run using the releases that match labels. Labels can take the form of foo=bar or foo!=bar. -l, --selector stringArray Only run using the releases that match labels. Labels can take the form of foo=bar or foo!=bar.
A release must match all labels in a group in order to be used. Multiple groups can be specified at once. A release must match all labels in a group in order to be used. Multiple groups can be specified at once.
--selector tier=frontend,tier!=proxy --selector tier=backend. Will match all frontend, non-proxy releases AND all backend releases. --selector tier=frontend,tier!=proxy --selector tier=backend. Will match all frontend, non-proxy releases AND all backend releases.
The name of a release can be used as a label. --selector name=myrelease The name of a release can be used as a label. --selector name=myrelease
--state-values-file strings specify state values in a YAML file --state-values-file stringArray specify state values in a YAML file
--state-values-set strings set state values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) --state-values-set stringArray set state values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
-v, --version version for helmfile -v, --version version for helmfile
Use "helmfile [command] --help" for more information about a command. Use "helmfile [command] --help" for more information about a command.
@ -615,6 +615,12 @@ The `helmfile lint` sub-command runs a `helm lint` across all of the charts/rele
The `helmfile fetch` sub-command downloads or copies local charts to a local directory for debug purpose. The local directory The `helmfile fetch` sub-command downloads or copies local charts to a local directory for debug purpose. The local directory
must be specified with `--output-dir`. must be specified with `--output-dir`.
### list
The `helmfile list` sub-command lists releases defined in the manifest. Optional `--output` flag accepts `json` to output releases in JSON format.
If `--skip-charts` flag is not set, list would prepare all releases, by fetching charts and templating them.
## Paths Overview ## Paths Overview
Using manifest files in conjunction with command line argument can be a bit confusing. Using manifest files in conjunction with command line argument can be a bit confusing.