This document explains the relationship between all the Custom Resources (CRs) required to create the target Kubernetes cluster on bare metal machine and how they reference to each other. To see the example CRs check cluster-api-provider-baremetal
The user is required to set the following environment variables before applying the CRs
CLUSTER_NAME
IMAGE_CHECKSUM
IMAGE_URL
KUBERNETES_VERSION
SSH_PUB_KEY_CONTENT
This diagram describes object's relationship based on CAPI v1alpha2 and how they reference to each other.