You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See xref:../install_config/installing-restricted-networks-preparations.adoc#installation-restricted-network-samples_installing-restricted-networks-preparations[Using Cluster Samples Operator image streams with alternate or mirrored registries] for a detailed procedure.
59
+
60
+
61
+
56
62
== Next steps
57
63
58
64
//* TODO need to add the registry secret to the machines, which is different
= Removing deprecated image stream tags from the Cluster Samples Operator
8
+
9
+
The Cluster Samples Operator leaves deprecated image stream tags in an image stream because users can have deployments that use the deprecated image stream tags.
10
+
11
+
You can remove deprecated image stream tags by editing the image stream with the `oc tag` command.
12
+
13
+
[NOTE]
14
+
====
15
+
Deprecated image stream tags that the samples providers have removed from their image streams are not included on initial installations.
16
+
====
17
+
18
+
.Prerequisites
19
+
20
+
* You installed the `oc` CLI.
21
+
22
+
.Procedure
23
+
24
+
* Remove deprecated image stream tags by editing the image stream with the `oc tag` command.
25
+
+
26
+
[source,terminal]
27
+
----
28
+
$ oc tag -d <image_stream_name:tag>
29
+
----
30
+
+
31
+
.Example output
32
+
[source,terminal]
33
+
----
34
+
Deleted tag default/<image_stream_name:tag>.
35
+
----
36
+
37
+
//Similar procedure in images-imagestreams-remove-tag.adoc
= Cluster Samples Operator assistance for mirroring
9
+
10
+
During installation, {product-title} creates a config map named `imagestreamtag-to-image` in the `openshift-cluster-samples-operator` namespace. The `imagestreamtag-to-image` config map contains an entry, the populating image, for each image stream tag.
11
+
12
+
The format of the key for each entry in the data field in the config map is `<image_stream_name>_<image_stream_tag_name>`.
13
+
14
+
During a disconnected installation of {product-title}, the status of the Cluster Samples Operator is set to `Removed`. If you choose to change it to `Managed`, it installs samples.
15
+
16
+
You can use this config map as a reference for which images need to be mirrored for your image streams to import.
17
+
18
+
* While the Cluster Samples Operator is set to `Removed`, you can create your mirrored registry, or determine which existing mirrored registry you want to use.
19
+
* Mirror the samples you want to the mirrored registry using the new config map as your guide.
20
+
* Add any of the image streams you did not mirror to the `skippedImagestreams` list of the Cluster Samples Operator configuration object.
21
+
* Set `samplesRegistry` of the Cluster Samples Operator configuration object to the mirrored registry.
22
+
* Then set the Cluster Samples Operator to `Managed` to install the image streams you have mirrored.
The Cluster Samples Operator, which operates in the `openshift` namespace, installs and
8
-
updates the Red Hat Enterprise Linux (RHEL)-based {product-title} imagestreams
9
-
and {product-title} templates.
10
-
11
-
== Prerequisites
12
-
* Deploy an {product-title} cluster.
13
-
14
-
//Add any other prereqs that are always valid before you modify the CRD.
15
-
//If you must configure a different resource before you configure this one, point it out here.
7
+
The Cluster Samples Operator, which operates in the `openshift` namespace, installs and updates the {op-system-base-full}-based {product-title} image streams and {product-title} templates.
* If the Cluster Samples Operator is removed during installation, you can xref:../openshift_images/samples-operator-alt-registry.adoc#samples-operator-alt-registry[use the Cluster Samples Operator with an alternate registry].
22
-
* To ensure the Cluster Samples Operator bootstraps as `Removed` in a restricted network installation with initial network access in order to defer samples installation until you have decided which samples are desired, follow the instructions for xref:../openshift_images/samples-operator-alt-registry.adoc#samples-operator-alt-registry[using the Cluster Samples Operator with an alternate registry] and xref:../installing/install_config/installing-customizing.adoc#installing-customizing[Customizing nodes], to override the Cluster Samples Operator default configuration and initially come up as `Removed`.
14
+
* If the Cluster Samples Operator is removed during installation, you can xref:../openshift_images/samples-operator-alt-registry.adoc#samples-operator-alt-registry[use the Cluster Samples Operator with an alternate registry] so content can be imported, and then set the Cluster Samples Operator to `Managed` to get the samples.
15
+
* To ensure the Cluster Samples Operator bootstraps as `Removed` in a restricted network installation with initial network access to defer samples installation until you have decided which samples are desired, follow the instructions for xref:../installing/install_config/installing-customizing.adoc#installing-customizing[customizing nodes] to override the Cluster Samples Operator default configuration and initially come up as `Removed`.
16
+
** To host samples in your disconnected environment, follow the instructions for xref:../openshift_images/samples-operator-alt-registry.adoc#samples-operator-alt-registry[using the Cluster Samples Operator with an alternate registry].
See xref:../openshift_images/samples-operator-alt-registry.adoc#installation-restricted-network-samples_samples-operator-alt-registry[Using Cluster Samples Operator image streams with alternate or mirrored registries] for a detailed procedure.
See xref:../openshift_images/configuring-samples-operator.adoc#images-samples-operator-deprecated-image-stream_configuring-samples-operator[Removing deprecated image stream tags from the Cluster Samples Operator] for more information on how the Cluster Samples Operator handles deprecated image stream tags.
See xref:../openshift_images/samples-operator-alt-registry.adoc#installation-restricted-network-samples_samples-operator-alt-registry[Using Cluster Samples Operator image streams with alternate or mirrored registries] for a detailed procedure.
0 commit comments