Skip to content

Commit d7701c5

Browse files
authored
Merge pull request #71724 from amolnar-rh/OCPBUGS-24557
OCPBUGS-24557: Explain spec.clusterImageSetNameRef and spec.clusters.clusterImageSetNameRef in SiteConfig CR
2 parents 776143e + 9977c4f commit d7701c5

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

modules/ztp-precaching-ztp-config.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ spec:
2525
baseDomain: "example.domain.redhat.com"
2626
pullSecretRef:
2727
name: "assisted-deployment-pull-secret"
28-
clusterImageSetNameRef: "img4.9.10-x86-64-appsub"
28+
clusterImageSetNameRef: "img4.9.10-x86-64-appsub" <1>
2929
sshPublicKey: "ssh-rsa ..."
3030
clusters:
3131
- clusterName: "sno-worker-0"
32-
clusterImageSetNameRef: "eko4-img4.11.5-x86-64-appsub"
32+
clusterImageSetNameRef: "eko4-img4.11.5-x86-64-appsub" <2>
3333
clusterLabels:
3434
group-du-sno: ""
3535
common-411: true
@@ -75,6 +75,8 @@ spec:
7575
- name: "ens1f0"
7676
macAddress: "AA:BB:CC:11:22:33"
7777
----
78+
<1> Specifies the cluster image set used for deployment, unless you specify a different image set in the `spec.clusters.clusterImageSetNameRef` field.
79+
<2> Specifies the cluster image set used to deploy an individual cluster. If defined, it overrides the `spec.clusterImageSetNameRef` at the site level.
7880

7981
[id="ztp-pre-caching-config-clusters-ignitionconfigoverride_{context}"]
8082
== Understanding the clusters.ignitionConfigOverride field

modules/ztp-sno-siteconfig-config-reference.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ Configuring workload partitioning by using the `cpuPartitioningMode` field in th
2424
|`metadata.name`
2525
|Set `name` to `assisted-deployment-pull-secret` and create the `assisted-deployment-pull-secret` CR in the same namespace as the `SiteConfig` CR.
2626

27-
|`clusterImageSetNameRef`
28-
|Configure the image set available on the hub cluster.
27+
|`spec.clusterImageSetNameRef`
28+
|Configure the image set available on the hub cluster for all the clusters in the site.
2929
To see the list of supported versions on your hub cluster, run `oc get clusterimagesets`.
3030

3131
|`installConfigOverrides`
@@ -36,6 +36,9 @@ Use the reference configuration as specified in the example `SiteConfig` CR.
3636
Adding additional components back into the system might require additional reserved CPU capacity.
3737
====
3838

39+
|`spec.clusters.clusterImageSetNameRef`
40+
|Specifies the cluster image set used to deploy an individual cluster. If defined, it overrides the `spec.clusterImageSetNameRef` at site level.
41+
3942
|`spec.clusters.clusterLabels`
4043
|Configure cluster labels to correspond to the `bindingRules` field in the `PolicyGenTemplate` CRs that you define.
4144
For example, `policygentemplates/common-ranGen.yaml` applies to all clusters with `common: true` set, `policygentemplates/group-du-sno-ranGen.yaml` applies to all clusters with `group-du-sno: ""` set.

0 commit comments

Comments
 (0)