Skip to content

Commit 4dca2c3

Browse files
committed
Fix flag
Signed-off-by: Francisco Herrera <fjglira@gmail.com>
1 parent e78e43e commit 4dca2c3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ci-operator/step-registry/servicemesh/mapt/create/servicemesh-mapt-create-commands.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ TEST_NAME=${TEST_NAME:-"servicemesh-mapt"}
1717
OCP_VERSION=${OCP_VERSION:-"4.20.0"}
1818
MAPT_TAGS=${MAPT_TAGS:-"ci=true,repo=openshift-servicemesh"}
1919
SPOT=${SPOT:-"true"}
20-
SPOT_INCREASE_RATIO=${SPOT_INCREASE_RATIO:-"40"}
20+
SPOT_INCREASE_RATE=${SPOT_INCREASE_RATE:-"40"}
2121
CPU=${CPU:-16}
2222
MEMORY=${MEMORY:-128}
2323
TIMEOUT=${TIMEOUT:-10m}
@@ -96,7 +96,7 @@ mapt_cluster_creation() {
9696

9797
# Add --spot option if SPOT is set to true
9898
if [ "${SPOT}" = "true" ]; then
99-
MAPT_COMMAND="${MAPT_COMMAND} --spot --spot-increase-ratio ${SPOT_INCREASE_RATIO}"
99+
MAPT_COMMAND="${MAPT_COMMAND} --spot --spot-increase-rate ${SPOT_INCREASE_RATE}"
100100
fi
101101

102102
echo "Executing: ${MAPT_COMMAND}"

ci-operator/step-registry/servicemesh/mapt/create/servicemesh-mapt-create-ref.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ref:
2121
- name: SPOT
2222
default: "true"
2323
documentation: "Use AWS spot instances for cost savings"
24-
- name: SPOT_INCREASE_RATIO
24+
- name: SPOT_INCREASE_RATE
2525
default: "40"
2626
documentation: "Percentage to increase the spot price over the on-demand price"
2727
- name: CPU

0 commit comments

Comments
 (0)