Add comment withPreparedCharts (#1704)
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
This commit is contained in:
		
							parent
							
								
									18529ab7c5
								
							
						
					
					
						commit
						abff903d0c
					
				|  | @ -100,6 +100,11 @@ func (r *Run) withPreparedCharts(helmfileCommand string, opts state.ChartPrepare | |||
| 			KubeContext: rel.KubeContext, | ||||
| 		} | ||||
| 		if chart := releaseToChart[key]; chart != rel.Chart { | ||||
| 			// The chart has been downloaded and modified by Helmfile (and chartify under the hood).
 | ||||
| 			// We let the later step use the modified version of the chart, located under the `chart` variable,
 | ||||
| 			// instead of the original chart path.
 | ||||
| 			// This way, the later step can use the modified chart without knowing
 | ||||
| 			// if it has been modified or not.
 | ||||
| 			rel.ChartPath = chart | ||||
| 		} | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue