diff --git a/pkg/simple/client/openpitrix/helmrepoindex/load_package.go b/pkg/simple/client/openpitrix/helmrepoindex/load_package.go index c188e3c78..4774fb5e5 100644 --- a/pkg/simple/client/openpitrix/helmrepoindex/load_package.go +++ b/pkg/simple/client/openpitrix/helmrepoindex/load_package.go @@ -74,6 +74,10 @@ func (h HelmVersionWrapper) GetKeywords() string { return strings.Join(h.ChartVersion.Keywords, ",") } +func (h HelmVersionWrapper) GetRawKeywords() []string { + return h.ChartVersion.Keywords +} + func (h HelmVersionWrapper) GetRawMaintainers() []*v1alpha1.Maintainer { mt := make([]*v1alpha1.Maintainer, 0, len(h.Maintainers)) for _, value := range h.Maintainers { diff --git a/pkg/utils/reposcache/repo_cahes.go b/pkg/utils/reposcache/repo_cahes.go index bcc49d3fb..e23f3d9ec 100644 --- a/pkg/utils/reposcache/repo_cahes.go +++ b/pkg/utils/reposcache/repo_cahes.go @@ -269,9 +269,15 @@ func (c *cachedRepos) addRepo(repo *v1alpha1.HelmRepo, builtin bool) error { }, Spec: v1alpha1.HelmApplicationVersionSpec{ Metadata: &v1alpha1.Metadata{ - Name: hvw.GetName(), - AppVersion: hvw.GetAppVersion(), - Version: hvw.GetVersion(), + Name: hvw.GetName(), + AppVersion: hvw.GetAppVersion(), + Version: hvw.GetVersion(), + Description: hvw.GetDescription(), + Home: hvw.GetHome(), + Icon: hvw.GetIcon(), + Maintainers: hvw.GetRawMaintainers(), + Sources: hvw.GetRawSources(), + Keywords: hvw.GetRawKeywords(), }, URLs: chartVersion.URLs, Digest: chartVersion.Digest,