github.com/oam-dev/kubevela@v1.9.11/vela-templates/definitions/deprecated/envbinding.cue (about) 1 "envbinding": { 2 annotations: {} 3 description: "Determining the destination where components should be deployed to, and support override configuration" 4 labels: { 5 "deprecated": "true" 6 } 7 attributes: {} 8 type: "policy" 9 } 10 11 template: { 12 13 #PatchParams: { 14 // +usage=Specify the name of the patch component, if empty, all components will be merged 15 name?: string 16 // +usage=Specify the type of the patch component. 17 type?: string 18 properties?: {...} 19 traits?: [...{ 20 type: string 21 properties?: {...} 22 // +usage=Specify if the trait should be remove, default false 23 disable: *false | bool 24 }] 25 } 26 27 parameter: { 28 envs: [...{ 29 name: string 30 placement?: { 31 clusterSelector?: { 32 // +usage=Specify cluster name, defualt local 33 name: *"local" | string 34 labels?: [string]: string 35 } 36 namespaceSelector?: { 37 // +usage=Specify namespace name. 38 name?: string 39 labels?: [string]: string 40 } 41 } 42 selector?: { 43 components: [...string] 44 } 45 patch?: { 46 components: [...#PatchParams] 47 } 48 }] 49 } 50 }