github.com/oam-dev/kubevela@v1.9.11/vela-templates/definitions/internal/component/k8s-objects.cue (about) 1 "k8s-objects": { 2 type: "component" 3 annotations: {} 4 labels: {} 5 description: "K8s-objects allow users to specify raw K8s objects in properties" 6 attributes: workload: type: "autodetects.core.oam.dev" 7 } 8 template: { 9 output: parameter.objects[0] 10 11 outputs: { 12 for i, v in parameter.objects { 13 if i > 0 { 14 "objects-\(i)": v 15 } 16 } 17 } 18 parameter: { 19 objects: [...{}] 20 } 21 }