Some minor fixes

This commit is contained in:
Nikolai Rodionov 2024-05-05 13:32:40 +02:00
parent c41158204a
commit 780cecea90
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
2 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,7 @@ func (app *Application) Create(ctx context.Context) error {
RepositoryKind: "oci", RepositoryKind: "oci",
RepositoryName: "softplayer", RepositoryName: "softplayer",
} }
goPath := os.TempDir() + "softplayer" goPath := os.TempDir() + "/softplayer"
if err := os.MkdirAll(goPath, 0777); err != nil { if err := os.MkdirAll(goPath, 0777); err != nil {
return err return err
} }

View File

@ -70,6 +70,7 @@ func (h *Helm) PullChart(workdirPath string, release *ReleaseData) (path string,
} }
client := action.NewPullWithOpts(action.WithConfig(config)) client := action.NewPullWithOpts(action.WithConfig(config))
client.InsecureSkipTLSverify = true
client.Untar = true client.Untar = true
client.UntarDir = workdirPath client.UntarDir = workdirPath
client.SetRegistryClient(registry) client.SetRegistryClient(registry)