Skip to content

Commit

Permalink
Fix Helm values path value
Browse files Browse the repository at this point in the history
Signed-off-by: Atanas Dinov <[email protected]>
  • Loading branch information
atanasdinov committed Jun 7, 2024
1 parent 798bcd7 commit 84dace7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/registry/helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ func (r *Registry) helmChartImages() ([]string, error) {
var containerImages []string

for _, chart := range r.helmCharts {
valuesPath := filepath.Join(r.helmValuesDir, chart.ValuesFile)
var valuesPath string
if chart.ValuesFile != "" {
valuesPath = filepath.Join(r.helmValuesDir, chart.ValuesFile)
}

images, err := r.getChartContainerImages(&chart.HelmChart, chart.localPath, valuesPath, r.kubeVersion)
if err != nil {
return nil, err
Expand Down

0 comments on commit 84dace7

Please sign in to comment.