Skip to content

Commit

Permalink
[INF-911] Use repoNameForChart. (#10)
Browse files Browse the repository at this point in the history
	modified:   helm/helm.go
  • Loading branch information
jmatt authored Jun 30, 2021
1 parent d16eddc commit 15a2e9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helm/helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (h *Helm) PushRepos(ctx context.Context) error {
if err := pipe.NewPiped("helm", "s3", "push", "--ignore-if-exists", filepath.Join("charts", c, existingTgz[0]), h.repoNameForChart(c)).Run(ctx); err != nil {
return fmt.Errorf("unable to push helm chart: %w", err)
}
if err := pipe.NewPiped("helm", "s3", "reindex", h.repoNamePrefix()).
if err := pipe.NewPiped("helm", "s3", "reindex", h.repoNameForChart(c)).
WithEnv(h.Env.AddEnv("HELM_S3_MODE=3")).Run(ctx); err != nil {
return fmt.Errorf("unable to reindex helm chart: %w", err)
}
Expand Down

0 comments on commit 15a2e9a

Please sign in to comment.