1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00

BZ2054801: Changed agentLabelSelector instances to agentLabels

This commit is contained in:
Alexandra Molnar
2022-02-24 10:12:34 +00:00
committed by openshift-cherrypick-robot
parent daddb86fd5
commit 30dcd2945b
2 changed files with 6 additions and 6 deletions

View File

@@ -79,12 +79,12 @@ spec:
name: <cluster_name>
namespace: <cluster_name>
sshAuthorizedKey: <public_key>
agentLabelSelector:
matchLabels:
cluster-name: <cluster_name>
agentLabels: <1>
location: "<label-name>"
pullSecretRef:
name: assisted-deployment-pull-secret
nmStateConfigLabelSelector:
matchLabels:
sno-cluster-<cluster-name>: <cluster_name> # Match this label
----
<1> Sets a label to match. The labels apply when the agents boot.

View File

@@ -245,13 +245,13 @@ spec:
name: <cluster_name>
namespace: <cluster_name>
sshAuthorizedKey: <public_key> <1>
agentLabelSelector:
matchLabels:
cluster-name: <cluster_name>
agentLabels: <2>
location: "<label-name>"
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:
+