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

     1  "topology": {
     2  	annotations: {}
     3  	description: "Describe the destination where components should be deployed to."
     4  	labels: {}
     5  	attributes: {}
     6  	type: "policy"
     7  }
     8  
     9  template: {
    10  	parameter: {
    11  		// +usage=Specify the names of the clusters to select.
    12  		clusters?: [...string]
    13  		// +usage=Specify the label selector for clusters
    14  		clusterLabelSelector?: [string]: string
    15  		// +usage=Ignore empty cluster error
    16  		allowEmpty?: bool
    17  		// +usage=Deprecated: Use clusterLabelSelector instead.
    18  		clusterSelector?: [string]: string
    19  		// +usage=Specify the target namespace to deploy in the selected clusters, default inherit the original namespace.
    20  		namespace?: string
    21  	}
    22  }