@@ -40,13 +40,14 @@ type HelmChartSummary struct {
4040}
4141
4242type HelmReleaseSummary struct {
43- Name string `json:"name"`
44- Namespace string `json:"namespace"`
45- Revision string `json:"revision"`
46- Updated string `json:"updated"`
47- Status string `json:"status"`
48- Chart string `json:"chart"`
49- AppVersion string `json:"app_version"`
43+ Name string `json:"name"`
44+ Namespace string `json:"namespace"`
45+ Revision string `json:"revision"`
46+ Updated string `json:"updated"`
47+ Status string `json:"status"`
48+ Chart string `json:"chart"`
49+ AppVersion string `json:"app_version"`
50+ Description string `json:"description"`
5051}
5152
5253type HelmReleaseHistory struct {
@@ -263,13 +264,14 @@ func relToSummary(r *release.Release) HelmReleaseSummary {
263264 appVersion = r .Chart .Metadata .AppVersion
264265 }
265266 return HelmReleaseSummary {
266- Name : r .Name ,
267- Namespace : r .Namespace ,
268- Revision : fmt .Sprintf ("%d" , r .Version ),
269- Updated : r .Info .LastDeployed .UTC ().Format (time .RFC3339 ),
270- Status : string (r .Info .Status ),
271- Chart : chartStr ,
272- AppVersion : appVersion ,
267+ Name : r .Name ,
268+ Namespace : r .Namespace ,
269+ Revision : fmt .Sprintf ("%d" , r .Version ),
270+ Updated : r .Info .LastDeployed .UTC ().Format (time .RFC3339 ),
271+ Status : string (r .Info .Status ),
272+ Chart : chartStr ,
273+ AppVersion : appVersion ,
274+ Description : r .Info .Description ,
273275 }
274276}
275277
0 commit comments