diff --git a/utils.sh b/utils.sh index fac376066..a372b6706 100755 --- a/utils.sh +++ b/utils.sh @@ -304,13 +304,20 @@ EOF } function node_map_to_install_config_fencing_credentials() { + TNF_ENABLED_RELEASE=4.19 + + # If we didn't support TNF in this release, we skip rendering the fencing block + if is_lower_version "$(openshift_version "${OCP_DIR}")" "$TNF_ENABLED_RELEASE"; then + return 0 + fi + if [[ -z "${ENABLE_ARBITER:-}" ]] && [[ "${NUM_MASTERS}" -eq 2 ]]; then cat <