diff --git a/plugins/scheduler-k3s/helm.go b/plugins/scheduler-k3s/helm.go index 098bf3ad1..719346d45 100644 --- a/plugins/scheduler-k3s/helm.go +++ b/plugins/scheduler-k3s/helm.go @@ -334,7 +334,8 @@ func (h *HelmAgent) UpgradeChart(ctx context.Context, input ChartInput) error { client.RepoURL = input.RepoURL } - chart, err := client.ChartPathOptions.LocateChart(input.ChartPath, nil) + settings := cli.New() + chart, err := client.ChartPathOptions.LocateChart(input.ChartPath, settings) if err != nil { return fmt.Errorf("Error locating chart: %w", err) }