update Readme.md for execEnvs
Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
		
							parent
							
								
									1258c9ed10
								
							
						
					
					
						commit
						ba5bea17d7
					
				
							
								
								
									
										10
									
								
								README.md
								
								
								
								
							
							
						
						
									
										10
									
								
								README.md
								
								
								
								
							|  | @ -1126,6 +1126,16 @@ mysetting: | | ||||||
| 
 | 
 | ||||||
| The possibility is endless. Try importing values from your golang app, bash script, jsonnet, or anything! | The possibility is endless. Try importing values from your golang app, bash script, jsonnet, or anything! | ||||||
| 
 | 
 | ||||||
|  | Then `execEnvs` same as `exec`, but it can receive a dict as the envs.   | ||||||
|  | 
 | ||||||
|  | A usual usage of `execEnvs` would look like this:   | ||||||
|  | 
 | ||||||
|  | ```yaml | ||||||
|  | mysetting: | | ||||||
|  | {{ execEnvs (dict "envkey" "envValue") "./mycmd" (list "arg1" "arg2" "--flag1") | indent 2 }} | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| ## Hooks | ## Hooks | ||||||
| 
 | 
 | ||||||
| A Helmfile hook is a per-release extension point that is composed of: | A Helmfile hook is a per-release extension point that is composed of: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue