github.com/oam-dev/kubevela@v1.9.11/vela-templates/definitions/deprecated/deploy2env.cue (about) 1 import ( 2 "vela/op" 3 ) 4 5 "deploy2env": { 6 type: "workflow-step" 7 annotations: {} 8 labels: { 9 "ui-hidden": "true" 10 "deprecated": "true" 11 "scope": "Application" 12 } 13 description: "Deploy env binding component to target env" 14 } 15 template: { 16 app: op.#ApplyEnvBindApp & { 17 env: parameter.env 18 policy: parameter.policy 19 parallel: parameter.parallel 20 app: context.name 21 // context.namespace indicates the namespace of the app 22 namespace: context.namespace 23 } 24 25 parameter: { 26 // +usage=Declare the name of the env-binding policy, if empty, the first env-binding policy will be used 27 policy: *"" | string 28 // +usage=Declare the name of the env in policy 29 env: string 30 // +usage=components are applied in parallel 31 parallel: *false | bool 32 } 33 }