Fix: save description when install release
Signed-off-by: LiHui <andrewli@yunify.com>
This commit is contained in:
@@ -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),
|
||||
|
||||
@@ -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"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user