github.com/kubevela/workflow@v0.6.0/pkg/cue/testdata/traits/rollout.cue (about)

     1  outputs: rollout: {
     2  	apiVersion: "extend.oam.dev/v1alpha2"
     3  	kind:       "SimpleRolloutTrait"
     4  	spec: {
     5  		replica:        parameter.replica
     6  		maxUnavailable: parameter.maxUnavailable
     7  		batch:          parameter.batch
     8  	}
     9  }
    10  
    11  parameter: {
    12  	replica:        *3 | int
    13  	maxUnavailable: *1 | int
    14  	batch:          *2 | int
    15  }