NOTE: This is an unofficial procedure. Do NOT use this outside a lab environment. The official procedure is described in the official OCP documentation -- https://docs.openshift.com/container-platform/4.3/machine_management/adding-rhel-compute.html
copy kubeconfig to /root/.kube/config
copy pull secret to /tmp/pull.json
export MC_NAME=`oc get machineconfigpool worker --output=jsonpath='{.status.configuration.name}'`
oc get machineconfig $MC_NAME --output=json > /tmp/worker.json