Some minor fixes
This commit is contained in:
parent
c41158204a
commit
780cecea90
@ -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
|
||||||
}
|
}
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user