github.com/oam-dev/kubevela@v1.9.11/charts/vela-core/templates/defwithtemplate/replication.yaml (about) 1 # Code generated by KubeVela templates. DO NOT EDIT. Please edit the original cue file. 2 # Definition source cue file: vela-templates/definitions/internal/replication.cue 3 apiVersion: core.oam.dev/v1beta1 4 kind: PolicyDefinition 5 metadata: 6 annotations: 7 definition.oam.dev/description: Describe the configuration to replicate components when deploying resources, it only works with specified `deploy` step in workflow. 8 name: replication 9 namespace: {{ include "systemDefinitionNamespace" . }} 10 spec: 11 schematic: 12 cue: 13 template: | 14 parameter: { 15 // +usage=Spicify the keys of replication. Every key coresponds to a replication components 16 keys: [...string] 17 // +usage=Specify the components which will be replicated. 18 selector?: [...string] 19 } 20