mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
fix(install): fix issue where chart metadata is not being saved on helm install
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
This commit is contained in:
parent
e5094169d7
commit
5c2f235b6c
2 changed files with 4 additions and 1 deletions
|
|
@ -53,6 +53,9 @@ func newStatusCmd(cfg *action.Configuration, out io.Writer) *cobra.Command {
|
|||
return err
|
||||
}
|
||||
|
||||
// strip chart metadata from the output
|
||||
rel.Chart = nil
|
||||
|
||||
outfmt, err := action.ParseOutputFormat(client.OutputFormat)
|
||||
// We treat an invalid format type as the default
|
||||
if err != nil && err != action.ErrInvalidFormatType {
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ type Release struct {
|
|||
// Info provides information about a release
|
||||
Info *Info `json:"info,omitempty"`
|
||||
// Chart is the chart that was released.
|
||||
Chart *chart.Chart `json:"-"`
|
||||
Chart *chart.Chart `json:"chart,omitempty"`
|
||||
// Config is the set of extra Values added to the chart.
|
||||
// These values override the default values inside of the chart.
|
||||
Config map[string]interface{} `json:"config,omitempty"`
|
||||
|
|
|
|||
Loading…
Reference in a new issue