mirror of
				https://github.com/fluxcd/flux2.git
				synced 2025-11-04 11:56:11 +08:00 
			
		
		
		
	Fix: change v1.JSON for HelmRelease to pointer
This commit is contained in:
		@ -154,7 +154,7 @@ func createHelmReleaseCmdRun(cmd *cobra.Command, args []string) error {
 | 
				
			|||||||
			return fmt.Errorf("converting values to JSON from %s failed: %w", hrValuesFile, err)
 | 
								return fmt.Errorf("converting values to JSON from %s failed: %w", hrValuesFile, err)
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		helmRelease.Spec.Values = apiextensionsv1.JSON{Raw: json}
 | 
							helmRelease.Spec.Values = &apiextensionsv1.JSON{Raw: json}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if export {
 | 
						if export {
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user