update doccs/index.md about CLI ref (#264)
* update doccs/index.md about CLI ref Signed-off-by: yxxhero <aiopsclub@163.com> * update docs/index.md about Getting Started Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
		
							parent
							
								
									329ec766fe
								
							
						
					
					
						commit
						913a22e9aa
					
				|  | @ -456,6 +456,10 @@ Let's start with a simple `helmfile` and gradually improve it to fit your use-ca | ||||||
| Suppose the `helmfile.yaml` representing the desired state of your helm releases looks like: | Suppose the `helmfile.yaml` representing the desired state of your helm releases looks like: | ||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
|  | repositories: | ||||||
|  |  - name: prometheus-community | ||||||
|  |    url: https://prometheus-community.github.io/helm-charts | ||||||
|  | 
 | ||||||
| releases: | releases: | ||||||
| - name: prom-norbac-ubuntu | - name: prom-norbac-ubuntu | ||||||
|   namespace: prometheus |   namespace: prometheus | ||||||
|  | @ -489,7 +493,7 @@ USAGE: | ||||||
|    helmfile [global options] command [command options] [arguments...] |    helmfile [global options] command [command options] [arguments...] | ||||||
| 
 | 
 | ||||||
| VERSION: | VERSION: | ||||||
|    v0.138.6 |    0.145.2 | ||||||
| 
 | 
 | ||||||
| COMMANDS: | COMMANDS: | ||||||
|    deps          update charts based on their requirements |    deps          update charts based on their requirements | ||||||
|  | @ -499,6 +503,7 @@ COMMANDS: | ||||||
|    template      template releases from state file against env (helm template) |    template      template releases from state file against env (helm template) | ||||||
|    write-values  write values files for releases. Similar to `helmfile template`, write values files instead of manifests. |    write-values  write values files for releases. Similar to `helmfile template`, write values files instead of manifests. | ||||||
|    lint          lint charts from state file (helm lint) |    lint          lint charts from state file (helm lint) | ||||||
|  |    fetch         fetch charts from state file | ||||||
|    sync          sync all resources from state file (repos, releases and chart deps) |    sync          sync all resources from state file (repos, releases and chart deps) | ||||||
|    apply         apply all resources from state file only when there are changes |    apply         apply all resources from state file only when there are changes | ||||||
|    status        retrieve status of releases in state file |    status        retrieve status of releases in state file | ||||||
|  | @ -507,7 +512,7 @@ COMMANDS: | ||||||
|    test          test releases from state file (helm test) |    test          test releases from state file (helm test) | ||||||
|    build         output compiled helmfile state(s) as YAML |    build         output compiled helmfile state(s) as YAML | ||||||
|    list          list releases defined in state file |    list          list releases defined in state file | ||||||
|    fetch         fetch charts from state file |    cache         cache management | ||||||
|    version       Show the version for Helmfile. |    version       Show the version for Helmfile. | ||||||
|    help, h       Shows a list of commands or help for one command |    help, h       Shows a list of commands or help for one command | ||||||
| 
 | 
 | ||||||
|  | @ -520,9 +525,11 @@ GLOBAL OPTIONS: | ||||||
|    --quiet, -q                             Silence output. Equivalent to log-level warn |    --quiet, -q                             Silence output. Equivalent to log-level warn | ||||||
|    --kube-context value                    Set kubectl context. Uses current context by default |    --kube-context value                    Set kubectl context. Uses current context by default | ||||||
|    --debug                                 Enable verbose output for Helm and set log-level to debug, this disables --quiet/-q effect |    --debug                                 Enable verbose output for Helm and set log-level to debug, this disables --quiet/-q effect | ||||||
|  |    --color                                 Output with color | ||||||
|    --no-color                              Output without color |    --no-color                              Output without color | ||||||
|    --log-level value                       Set log level, default info |    --log-level value                       Set log level, default info | ||||||
|    --namespace value, -n value             Set namespace. Uses the namespace set in the context by default, and is available in templates as {{ .Namespace }} |    --namespace value, -n value             Set namespace. Uses the namespace set in the context by default, and is available in templates as {{ .Namespace }} | ||||||
|  |    --chart value, -c value                 Set chart. Uses the chart set in release by default, and is available in template as {{ .Chart }} | ||||||
|    --selector value, -l value              Only run using the releases that match labels. Labels can take the form of foo=bar or foo!=bar. |    --selector value, -l value              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. | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue