mirror of
https://github.com/kubevela/kubevela.git
synced 2026-03-06 03:31:12 +00:00
* first commit add more tests Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com> fix ci Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com> fix ci fix test Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com> * fetch only definitions from registry for lagacy addon app Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com> fix ci * fix error test Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
20 lines
378 B
CUE
20 lines
378 B
CUE
"my-trait": {
|
|
type: "trait"
|
|
annotations: {}
|
|
description: "Rollout the component."
|
|
attributes: {
|
|
manageWorkload: true
|
|
status: {
|
|
customStatus: #"""
|
|
message: context.outputs.rollout.status.rollingState
|
|
"""#
|
|
healthPolicy: #"""
|
|
isHealth: context.outputs.rollout.status.batchRollingState == "batchReady"
|
|
"""#
|
|
}
|
|
}
|
|
}
|
|
template: {
|
|
outputs: rollout: {}
|
|
}
|