Skip to content

Commit f516e77

Browse files
author
Audrey Spaulding
committed
CNV-52383
1 parent 404e934 commit f516e77

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

modules/virt-managing-auto-update-all-system-boot-sources.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
Disabling automatic boot source imports and updates can lower resource usage. In disconnected environments, disabling automatic boot source updates prevents `CDIDataImportCronOutdated` alerts from filling up logs.
1111

12-
To disable automatic updates for all system-defined boot sources, turn off the `enableCommonBootImageImport` feature gate by setting the value to `false`. Setting this value to `true` re-enables the feature gate and turns automatic updates back on.
12+
To disable automatic updates for all system-defined boot sources, set the `enableCommonBootImageImport` field value to `false`. Setting this value to `true` turns automatic updates back on.
1313

1414
[NOTE]
1515
====
@@ -22,24 +22,24 @@ Custom boot sources are not affected by this setting.
2222
2323
.Procedure
2424

25-
* Toggle the feature gate for automatic boot source updates by editing the `HyperConverged` custom resource (CR).
25+
* Enable or disable automatic boot source updates by editing the `HyperConverged` custom resource (CR).
2626
27-
** To disable automatic boot source updates, set the `spec.featureGates.enableCommonBootImageImport` field in the `HyperConverged` CR to `false`. For example:
27+
** To disable automatic boot source updates, set the `spec.enableCommonBootImageImport` field value in the `HyperConverged` CR to `false`. For example:
2828
+
2929
[source,terminal,subs="attributes+"]
3030
----
3131
$ oc patch hyperconverged kubevirt-hyperconverged -n {CNVNamespace} \
3232
--type json -p '[{"op": "replace", "path": \
33-
"/spec/featureGates/enableCommonBootImageImport", \
33+
"/spec/enableCommonBootImageImport", \
3434
"value": false}]'
3535
----
3636

37-
** To re-enable automatic boot source updates, set the `spec.featureGates.enableCommonBootImageImport` field in the `HyperConverged` CR to `true`. For example:
37+
** To re-enable automatic boot source updates, set the `spec.enableCommonBootImageImport` field value in the `HyperConverged` CR to `true`. For example:
3838
+
3939
[source,terminal,subs="attributes+"]
4040
----
4141
$ oc patch hyperconverged kubevirt-hyperconverged -n {CNVNamespace} \
4242
--type json -p '[{"op": "replace", "path": \
43-
"/spec/featureGates/enableCommonBootImageImport", \
43+
"/spec/enableCommonBootImageImport", \
4444
"value": true}]'
4545
----

virt/storage/virt-automatic-bootsource-updates.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ Boot sources can make virtual machine (VM) creation more accessible and efficien
1717
[id="managing-rh-boot-source-updates_virt-automatic-bootsource-updates"]
1818
== Managing Red Hat boot source updates
1919

20-
You can opt out of automatic updates for all system-defined boot sources by disabling the `enableCommonBootImageImport` feature gate. If you disable this feature gate, all `DataImportCron` objects are deleted. This does not remove previously imported boot source objects that store operating system images, though administrators can delete them manually.
20+
You can opt out of automatic updates for all system-defined boot sources by setting the `enableCommonBootImageImport` field value to `false`. If you set the value to `false`, all `DataImportCron` objects are deleted. This does not, however, remove previously imported boot source objects that store operating system images, though administrators can delete them manually.
2121

22-
When the `enableCommonBootImageImport` feature gate is disabled, `DataSource` objects are reset so that they no longer point to the original boot source. An administrator can manually provide a boot source by creating a new persistent volume claim (PVC) or volume snapshot for the `DataSource` object, then populating it with an operating system image.
22+
When the `enableCommonBootImageImport` field value is set to `false`, `DataSource` objects are reset so that they no longer point to the original boot source. An administrator can manually provide a boot source by creating a new persistent volume claim (PVC) or volume snapshot for the `DataSource` object, and then populating it with an operating system image.
2323

2424
include::modules/virt-managing-auto-update-all-system-boot-sources.adoc[leveloffset=+2]
2525

@@ -31,7 +31,7 @@ _Custom_ boot sources that are not provided by {VirtProductName} are not control
3131
ifndef::openshift-rosa,openshift-dedicated,openshift-rosa-hcp[]
3232
[IMPORTANT]
3333
====
34-
You must configure a storage class. Otherwise, the cluster cannot receive automated updates for custom boot sources. See xref:../../storage/dynamic-provisioning.adoc#defining-storage-classes_dynamic-provisioning[Defining a storage class] for details.
34+
You must configure a storage class. Otherwise, the cluster cannot receive automated updates for custom boot sources. See xref:../../storage/dynamic-provisioning.adoc#defining-storage-classes_dynamic-provisioning[Defining a storage class] for details.
3535
====
3636
endif::openshift-rosa,openshift-dedicated,openshift-rosa-hcp[]
3737
ifdef::openshift-rosa,openshift-dedicated,openshift-rosa-hcp[]

0 commit comments

Comments
 (0)