1package kube 2 3import "encoding/yaml" 4 5command: create: { 6 task: kube: { 7 kind: "exec" 8 cmd: "kubectl create --dry-run -f -" 9 stdin: yaml.MarshalStream(objects) 10 stdout: string 11 } 12 task: display: { 13 kind: "print" 14 text: task.kube.stdout 15 } 16}