Merge pull request #5455 from bacongobbler/fix-list

fix(install): fix issue where chart metadata is not being saved on `helm install`
pull/5462/head
Matthew Fisher 5 years ago committed by GitHub
commit 8f37ab48ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save