From 30dcd2945b46802dc5680851ae89b01c6b641cb7 Mon Sep 17 00:00:00 2001 From: Alexandra Molnar Date: Thu, 24 Feb 2022 10:12:34 +0000 Subject: [PATCH] BZ2054801: Changed agentLabelSelector instances to agentLabels --- modules/ztp-configuring-a-static-ip.adoc | 6 +++--- modules/ztp-creating-siteconfig-custom-resources.adoc | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/ztp-configuring-a-static-ip.adoc b/modules/ztp-configuring-a-static-ip.adoc index 70c9999a08..3e470dcfa1 100644 --- a/modules/ztp-configuring-a-static-ip.adoc +++ b/modules/ztp-configuring-a-static-ip.adoc @@ -79,12 +79,12 @@ spec: name: namespace: sshAuthorizedKey: - agentLabelSelector: - matchLabels: - cluster-name: + agentLabels: <1> + location: "" pullSecretRef: name: assisted-deployment-pull-secret nmStateConfigLabelSelector: matchLabels: sno-cluster-: # Match this label ---- +<1> Sets a label to match. The labels apply when the agents boot. \ No newline at end of file diff --git a/modules/ztp-creating-siteconfig-custom-resources.adoc b/modules/ztp-creating-siteconfig-custom-resources.adoc index ce9a49eb19..22a04ac2d9 100644 --- a/modules/ztp-creating-siteconfig-custom-resources.adoc +++ b/modules/ztp-creating-siteconfig-custom-resources.adoc @@ -245,13 +245,13 @@ spec: name: namespace: sshAuthorizedKey: <1> - agentLabelSelector: - matchLabels: - cluster-name: + agentLabels: <2> + location: "" pullSecretRef: name: assisted-deployment-pull-secret ---- <1> Entered as plain text. You can use the public key to SSH into the target bare-metal host when it boots from the ISO. +<2> Sets a label to match. The labels apply when the agents boot. . Create the `BareMetalHost` custom resource: +