diff --git a/pkg/models/openpitrix/release.go b/pkg/models/openpitrix/release.go index 03a3b677e..022965fd3 100644 --- a/pkg/models/openpitrix/release.go +++ b/pkg/models/openpitrix/release.go @@ -171,6 +171,7 @@ func (c *releaseOperator) CreateApplication(workspace, clusterName, namespace st }, Spec: v1alpha1.HelmReleaseSpec{ Name: request.Name, + Description: stringutils.ShortenString(request.Description, v1alpha1.MsgLen), Version: 1, Values: strfmt.Base64(request.Conf), ApplicationId: strings.TrimSuffix(request.AppId, v1alpha1.HelmApplicationAppStoreSuffix), diff --git a/pkg/models/openpitrix/types.go b/pkg/models/openpitrix/types.go index a3bf6a8de..3e4c7cd4a 100644 --- a/pkg/models/openpitrix/types.go +++ b/pkg/models/openpitrix/types.go @@ -738,6 +738,9 @@ type CreateClusterRequest struct { // release name Name string `json:"name"` + // release install description + Description string `json:"description"` + // advanced param AdvancedParam []string `json:"advanced_param"`