mirror of
https://github.com/kubevela/kubevela.git
synced 2026-03-05 03:01:21 +00:00
* Fix: address failure when rendering addon API schemas Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> * Fix: address failure when rendering addon API schemas Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> * Test: add tests Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> * Test: fix tests Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> * Test: fix tests Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com>
28 lines
508 B
CUE
28 lines
508 B
CUE
output: {
|
|
apiVersion: "core.oam.dev/v1beta1"
|
|
kind: "Application"
|
|
metadata: {
|
|
name: "example"
|
|
namespace: "vela-system"
|
|
}
|
|
spec: {
|
|
workflow: steps: [{
|
|
name: "apply-ns"
|
|
type: "apply-component"
|
|
properties: component: "ns-example-system"
|
|
}, {
|
|
name: "apply-resources"
|
|
type: "apply-remaining"
|
|
}]
|
|
components: [{
|
|
name: "ns-example-system"
|
|
type: "raw"
|
|
properties: {
|
|
apiVersion: "v1"
|
|
kind: "Namespace"
|
|
metadata: name: "example-system"
|
|
}
|
|
}]
|
|
}
|
|
}
|