|
|
|
@ -53,6 +53,9 @@ func newGetManifestCmd(client helm.Interface, out io.Writer) *cobra.Command {
|
|
|
|
|
return errReleaseRequired
|
|
|
|
|
}
|
|
|
|
|
get.release = args[0]
|
|
|
|
|
if get.client == nil {
|
|
|
|
|
get.client = helm.NewClient(helm.HelmHost(helm.Config.ServAddr))
|
|
|
|
|
}
|
|
|
|
|
return get.run()
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
@ -61,7 +64,7 @@ func newGetManifestCmd(client helm.Interface, out io.Writer) *cobra.Command {
|
|
|
|
|
|
|
|
|
|
// getManifest implements 'helm get manifest'
|
|
|
|
|
func (g *getManifestCmd) run() error {
|
|
|
|
|
res, err := helm.GetReleaseContent(g.release)
|
|
|
|
|
res, err := g.client.ReleaseContent(g.release)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return prettyError(err)
|
|
|
|
|
}
|
|
|
|
|