Skip to content

Commit

Permalink
Add BMH annotation keys to docs (openshift#5444)
Browse files Browse the repository at this point in the history
Previously we said which fields could be set using annotations, but
didn't document the annotation keys
  • Loading branch information
carbonin authored and CrystalChun committed Aug 25, 2023
1 parent 18f31b0 commit 82fdde8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/hive-integration/README.md
Expand Up @@ -160,10 +160,17 @@ In case that the Bare Metal Operator is installed, the Baremetal Agent Controlle
- Find the right pairs of BMH/Agent using their MAC addresses
- Set the Image.URL in the BMH copying it from the InfraEnv's status.
- Reconcile the Agent's spec by copying the following attributes from the BMH's annotations:
- Reconcile the Agent's spec by copying the following fields from the BMH's annotations:
- Role: master/worker
- `bmac.agent-install.openshift.io/role`
- Hostname (optional for user to set)
- `bmac.agent-install.openshift.io/hostname`
- MachineConfigPool (optional for user to set)
- `bmac.agent-install.openshift.io/machine-config-pool`
- InstallerArgs (optional for user to set)
- `bmac.agent-install.openshift.io/installer-args`
- IgnitionConfigOverrides (optional for user to set)
- `bmac.agent-install.openshift.io/ignition-config-overrides`
- Reconcile the BareMetalHost hardware details by copying the Agent's inventory data to the BMH's `hardwaredetails` annotation.
- Disable ironic inspection

Expand Down

0 comments on commit 82fdde8

Please sign in to comment.