Skip to content

Commit b1e596b

Browse files
authored
Merge pull request #92128 from amolnar-rh/TELCODOCS-2195
TELCODOCS-2195#Add note about correct sync-wave for optional override BMH in SiteConfig
2 parents dbdd763 + 22014c0 commit b1e596b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

modules/ztp-deploying-a-site.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ include::snippets/ztp_example-sno.yaml[]
7777
====
7878
For more information about BMC addressing, see the "Additional resources" section. The `installConfigOverrides` and `ignitionConfigOverride` fields are expanded in the example for ease of readability.
7979
====
80+
+
81+
[NOTE]
82+
====
83+
To override the default `BareMetalHost` CR for a node, you can reference the override CR in the node-level `crTemplates` field in the `SiteConfig` CR. Ensure that you set the `argocd.argoproj.io/sync-wave: "3"` annotation in your override `BareMetalHost` CR.
84+
====
8085
8186
.. You can inspect the default set of extra-manifest `MachineConfig` CRs in `out/argocd/extra-manifest`. It is automatically applied to the cluster when it is installed.
8287

snippets/ztp_example-sno.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ spec:
7676
bootMode: "UEFISecureBoot"
7777
rootDeviceHints:
7878
deviceName: "/dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:0:0"
79+
#crTemplates:
80+
# BareMetalHost: "bmhOverride.yaml"
7981
# disk partition at `/var/lib/containers` with ignitionConfigOverride. Some values must be updated. See DiskPartitionContainer.md for more details
8082
ignitionConfigOverride: |
8183
{

0 commit comments

Comments
 (0)