diff --git a/ci-operator/step-registry/openshift-qe/workers-infra-workload/openshift-qe-workers-infra-workload-commands.sh b/ci-operator/step-registry/openshift-qe/workers-infra-workload/openshift-qe-workers-infra-workload-commands.sh index 80f782ed3d0c..62fbffbb5f7e 100755 --- a/ci-operator/step-registry/openshift-qe/workers-infra-workload/openshift-qe-workers-infra-workload-commands.sh +++ b/ci-operator/step-registry/openshift-qe/workers-infra-workload/openshift-qe-workers-infra-workload-commands.sh @@ -708,8 +708,10 @@ esac #Create infra and workload machineconfigpool create_machineconfigpool infra -create_machineconfigpool workload +if [[ $IF_CREATE_WORKLOAD_NODE == "true" ]];then + create_machineconfigpool workload +fi #Set default value to none if no specified value, using cpu and ram of worker nodes to create machineset #This also used for some property don't exist in a certain cloud provider, but need to pass correct parameter for create_machineset OPENSHIFT_INFRA_NODE_INSTANCE_TYPE=${OPENSHIFT_INFRA_NODE_INSTANCE_TYPE:-none} diff --git a/ci-operator/step-registry/openshift-qe/workers-infra-workload/openshift-qe-workers-infra-workload-ref.yaml b/ci-operator/step-registry/openshift-qe/workers-infra-workload/openshift-qe-workers-infra-workload-ref.yaml index 2769be5c9af1..0d4826433808 100644 --- a/ci-operator/step-registry/openshift-qe/workers-infra-workload/openshift-qe-workers-infra-workload-ref.yaml +++ b/ci-operator/step-registry/openshift-qe/workers-infra-workload/openshift-qe-workers-infra-workload-ref.yaml @@ -45,7 +45,7 @@ ref: - name: IF_CREATE_WORKLOAD_NODE default: "false" documentation: |- - Default is true, which means openshift-qe-workers-infra-workload-commands.sh will create workload node. You can set it to false to disable creating workload node + Default is false, set it to true to let openshift-qe-workers-infra-workload-commands.sh to create workload node. set it to false to disable creating workload node - name: OPENSHIFT_INFRA_NODE_CPU_COUNT default: "" documentation: |-