Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Commit

Permalink
fix: prevent chart from changing name on upgrade (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
emosbaugh authored Aug 15, 2024
1 parent 3952c50 commit 0d01c34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/charts/charts.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ func patchExtensionsForAirGap(config *v1beta1.Helm) *v1beta1.Helm {
config.Repositories = nil
for idx, chart := range config.Charts {
chartName := fmt.Sprintf("%s-%s.tgz", chart.Name, chart.Version)
chartPath := filepath.Join("var", "lib", "embedded-cluster", "charts", chartName)
chartPath := filepath.Join("/var/lib/embedded-cluster/charts", chartName)
config.Charts[idx].ChartName = chartPath
}
return config
Expand Down

0 comments on commit 0d01c34

Please sign in to comment.