mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-18 03:56:36 +00:00
Chore: refactor workflow from workflow engine (#4631)
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com> Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
This commit is contained in:
+4
-3
@@ -31,12 +31,13 @@ import (
|
||||
"k8s.io/klog/v2"
|
||||
"sigs.k8s.io/controller-runtime/pkg/client"
|
||||
|
||||
"github.com/kubevela/workflow/pkg/cue/model/value"
|
||||
|
||||
common2 "github.com/oam-dev/kubevela/apis/core.oam.dev/common"
|
||||
"github.com/oam-dev/kubevela/apis/core.oam.dev/v1alpha1"
|
||||
"github.com/oam-dev/kubevela/apis/core.oam.dev/v1beta1"
|
||||
"github.com/oam-dev/kubevela/apis/types"
|
||||
cuemodel "github.com/oam-dev/kubevela/pkg/cue/model"
|
||||
"github.com/oam-dev/kubevela/pkg/cue/model/value"
|
||||
"github.com/oam-dev/kubevela/pkg/cue/process"
|
||||
"github.com/oam-dev/kubevela/pkg/multicluster"
|
||||
"github.com/oam-dev/kubevela/pkg/oam"
|
||||
"github.com/oam-dev/kubevela/pkg/oam/util"
|
||||
@@ -65,7 +66,7 @@ func (a addonCueTemplateRender) formatContext() (string, error) {
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
paramFile := fmt.Sprintf("%s: %s", cuemodel.ParameterFieldName, string(bt))
|
||||
paramFile := fmt.Sprintf("%s: %s", process.ParameterFieldName, string(bt))
|
||||
|
||||
var contextFile = strings.Builder{}
|
||||
// user custom parameter but be the first data and generated data should be appended at last
|
||||
|
||||
Reference in New Issue
Block a user