mirror of
https://github.com/helm/helm.git
synced 2026-08-07 00:21:27 +00: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:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user