@@ -381,20 +381,21 @@ func (c *NelmClient) Render(releaseName, modulePath string, valuesPaths, setValu
381381 }
382382
383383 chartRenderResult , err := c .actions .ChartRender (context .TODO (), action.ChartRenderOptions {
384- OutputFilePath : "/dev/null" , // No output file, we want to return the manifest as a string
385- Chart : modulePath ,
386- DefaultChartName : releaseName ,
387- DefaultChartVersion : "0.2.0" ,
388- ExtraLabels : c .labels ,
389- ExtraAnnotations : extraAnnotations ,
390- KubeContext : c .opts .KubeContext ,
391- ReleaseName : releaseName ,
392- ReleaseNamespace : namespace ,
393- ReleaseStorageDriver : c .opts .HelmDriver ,
394- Remote : true ,
395- ValuesFilesPaths : valuesPaths ,
396- ValuesSets : setValues ,
397- ForceAdoption : true ,
384+ OutputFilePath : "/dev/null" , // No output file, we want to return the manifest as a string
385+ Chart : modulePath ,
386+ DefaultChartName : releaseName ,
387+ DefaultChartVersion : "0.2.0" ,
388+ DefaultChartAPIVersion : "v2" ,
389+ ExtraLabels : c .labels ,
390+ ExtraAnnotations : extraAnnotations ,
391+ KubeContext : c .opts .KubeContext ,
392+ ReleaseName : releaseName ,
393+ ReleaseNamespace : namespace ,
394+ ReleaseStorageDriver : c .opts .HelmDriver ,
395+ Remote : true ,
396+ ValuesFilesPaths : valuesPaths ,
397+ ValuesSets : setValues ,
398+ ForceAdoption : true ,
398399 })
399400 if err != nil {
400401 if ! debug {
0 commit comments