Skip to content

Commit e4473e5

Browse files
authored
Merge pull request #42342 from amolnar-rh/BZ2054801
BZ2054801: Changed agentLabelSelector instances to agentLabels
2 parents 0018b8c + 480f9b3 commit e4473e5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

modules/ztp-configuring-a-static-ip.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ spec:
7979
name: <cluster_name>
8080
namespace: <cluster_name>
8181
sshAuthorizedKey: <public_key>
82-
agentLabelSelector:
83-
matchLabels:
84-
cluster-name: <cluster_name>
82+
agentLabels: <1>
83+
location: "<label-name>"
8584
pullSecretRef:
8685
name: assisted-deployment-pull-secret
8786
nmStateConfigLabelSelector:
8887
matchLabels:
8988
sno-cluster-<cluster-name>: <cluster_name> # Match this label
9089
----
90+
<1> Sets a label to match. The labels apply when the agents boot.

modules/ztp-creating-siteconfig-custom-resources.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,13 +245,13 @@ spec:
245245
name: <cluster_name>
246246
namespace: <cluster_name>
247247
sshAuthorizedKey: <public_key> <1>
248-
agentLabelSelector:
249-
matchLabels:
250-
cluster-name: <cluster_name>
248+
agentLabels: <2>
249+
location: "<label-name>"
251250
pullSecretRef:
252251
name: assisted-deployment-pull-secret
253252
----
254253
<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.
254+
<2> Sets a label to match. The labels apply when the agents boot.
255255

256256
. Create the `BareMetalHost` custom resource:
257257
+

0 commit comments

Comments
 (0)