github.com/oam-dev/kubevela@v1.9.11/vela-templates/definitions/internal/policy/replication.cue (about)

     1  "replication": {
     2  	annotations: {}
     3  	description: "Describe the configuration to replicate components when deploying resources, it only works with specified `deploy` step in workflow."
     4  	labels: {}
     5  	attributes: {}
     6  	type: "policy"
     7  }
     8  
     9  template: {
    10  	parameter: {
    11  		// +usage=Spicify the keys of replication. Every key coresponds to a replication components
    12  		keys: [...string]
    13  		// +usage=Specify the components which will be replicated.
    14  		selector?: [...string]
    15  	}
    16  }