File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 9090 - name : nested-virt
9191 description : Use cloud instance that has nested virtualization support
9292 default : ' false'
93- - name : vmsize
94- description : size for the machine
93+ - name : compute-sizes
94+ description : Comma separated list of sizes for the machine
9595 default : " ''"
9696 - name : spot
9797 description : in case spot is set to true it will check for best spot price and create the VM on the target region
@@ -213,7 +213,7 @@ spec:
213213 cmd+="--cpus $(params.cpus) "
214214 cmd+="--memory $(params.memory) "
215215 if [[ $(params.nested-virt) == "true" ]]; then cmd+="--nested-virt "; fi
216- if [[ -z $(params.vmsize ) ]]; then cmd+="--vmsize $(params.vmsize ) "; fi
216+ if [[ -n $(params.compute-sizes ) ]]; then cmd+="--compute-sizes $(params.compute-sizes ) "; fi
217217 if [[ $(params.spot) == "true" ]]; then
218218 cmd+="--spot --spot-eviction-tolerance $(params.spot-eviction-tolerance) --spot-increase-rate $(params.spot-increase-rate) "
219219 fi
Original file line number Diff line number Diff line change 9090 - name : nested-virt
9191 description : Use cloud instance that has nested virtualization support
9292 default : ' false'
93- - name : vmsize
94- description : size for the machine
93+ - name : compute-sizes
94+ description : Comma separated list of sizes for the machine
9595 default : " ''"
9696 - name : spot
9797 description : in case spot is set to true it will check for best spot price and create the VM on the target region
@@ -213,7 +213,7 @@ spec:
213213 cmd+="--cpus $(params.cpus) "
214214 cmd+="--memory $(params.memory) "
215215 if [[ $(params.nested-virt) == "true" ]]; then cmd+="--nested-virt "; fi
216- if [[ -z $(params.vmsize ) ]]; then cmd+="--vmsize $(params.vmsize ) "; fi
216+ if [[ -n $(params.compute-sizes ) ]]; then cmd+="--compute-sizes $(params.compute-sizes ) "; fi
217217 if [[ $(params.spot) == "true" ]]; then
218218 cmd+="--spot --spot-eviction-tolerance $(params.spot-eviction-tolerance) --spot-increase-rate $(params.spot-increase-rate) "
219219 fi
You can’t perform that action at this time.
0 commit comments