Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 7b5e4f6

Browse files
author
Matthieu Nottale
committed
helm: Fix directory name when working on a compressed app.
Signed-off-by: Matthieu Nottale <[email protected]>
1 parent 39c9863 commit 7b5e4f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

renderer/helm.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ func toHelmMeta(meta *types.AppMetadata) (*helmMeta, error) {
3838

3939
// Helm renders an app as an Helm Chart
4040
func Helm(appname string, composeFiles []string, settingsFile []string, env map[string]string) error {
41+
oAppname := appname
4142
appname, cleanup, err := packager.Extract(appname)
4243
if err != nil {
4344
return err
@@ -57,7 +58,7 @@ func Helm(appname string, composeFiles []string, settingsFile []string, env map[
5758
if err != nil {
5859
return err
5960
}
60-
targetDir := utils.AppNameFromDir(appname) + ".helm"
61+
targetDir := utils.AppNameFromDir(oAppname) + ".helm"
6162
os.Mkdir(targetDir, 0755)
6263
hmeta, err := toHelmMeta(&meta)
6364
if err != nil {

0 commit comments

Comments
 (0)