diff --git a/controllers/helmchart_controller.go b/controllers/helmchart_controller.go index 398a8860..e5a14928 100644 --- a/controllers/helmchart_controller.go +++ b/controllers/helmchart_controller.go @@ -446,12 +446,6 @@ func (r *HelmChartReconciler) reconcileFromTarballArtifact(ctx context.Context, isDir := chartFileInfo.IsDir() switch { case isDir: - // Load dependencies - if err = chartutil.ProcessDependencies(helmChart, helmChart.Values); err != nil { - err = fmt.Errorf("failed to process chart dependencies: %w", err) - return sourcev1.HelmChartNotReady(chart, sourcev1.StorageOperationFailedReason, err.Error()), err - } - // Determine chart dependencies deps := helmChart.Dependencies() reqs := helmChart.Metadata.Dependencies diff --git a/controllers/testdata/charts/helmchartwithdeps/Chart.yaml b/controllers/testdata/charts/helmchartwithdeps/Chart.yaml index 68bfe8b0..99dac50b 100644 --- a/controllers/testdata/charts/helmchartwithdeps/Chart.yaml +++ b/controllers/testdata/charts/helmchartwithdeps/Chart.yaml @@ -24,6 +24,10 @@ dependencies: - name: helmchart version: "0.1.0" repository: "file://../helmchart" + - name: helmchart + alias: aliased + version: "0.1.0" + repository: "file://../helmchart" - name: grafana version: ">=5.7.0" repository: "https://grafana.github.io/helm-charts"