github.com/oam-dev/kubevela@v1.9.11/vela-templates/definitions/internal/policy/override.cue (about) 1 "override": { 2 annotations: {} 3 description: "Describe the configuration to override when deploying resources, it only works with specified `deploy` step in workflow." 4 labels: {} 5 attributes: {} 6 type: "policy" 7 } 8 9 template: { 10 11 #PatchParams: { 12 // +usage=Specify the name of the patch component, if empty, all components will be merged 13 name?: string 14 // +usage=Specify the type of the patch component. 15 type?: string 16 // +usage=Specify the properties to override. 17 properties?: {...} 18 // +usage=Specify the traits to override. 19 traits?: [...{ 20 // +usage=Specify the type of the trait to be patched. 21 type: string 22 // +usage=Specify the properties to override. 23 properties?: {...} 24 // +usage=Specify if the trait should be remove, default false 25 disable: *false | bool 26 }] 27 } 28 29 parameter: { 30 // +usage=Specify the overridden component configuration. 31 components: [...#PatchParams] 32 // +usage=Specify a list of component names to use, if empty, all components will be selected. 33 selector?: [...string] 34 } 35 }