|
8 | 8 | [discrete] |
9 | 9 | == Purpose |
10 | 10 |
|
11 | | -The Cluster Samples Operator manages the sample imagestreams and templates stored in the `openshift` namespace. |
| 11 | +The Cluster Samples Operator manages the sample image streams and templates stored in the `openshift` namespace. |
12 | 12 |
|
13 | | -On initial start up, the Operator creates the default samples configuration resource to initiate the creation of the imagestreams and templates. The configuration object |
14 | | -is a cluster scoped object with the key `cluster` and type `configs.samples`. |
| 13 | +On initial start up, the Operator creates the default samples configuration resource to initiate the creation of the image streams and templates. The configuration object is a cluster scoped object with the key `cluster` and type `configs.samples`. |
15 | 14 |
|
16 | | -The imagestreams are the {op-system-first}-based {product-title} imagestreams pointing to images on `registry.redhat.io`. Similarly, the templates are those categorized as {product-title} templates. |
| 15 | +The image streams are the {op-system-first}-based {product-title} image streams pointing to images on `registry.redhat.io`. Similarly, the templates are those categorized as {product-title} templates. |
17 | 16 |
|
18 | | -The Cluster Samples Operator deployment is contained within the `openshift-cluster-samples-operator` namespace. On start up, the install pull secret is used by the imagestream import logic in the internal registry and API server to authenticate with `registry.redhat.io`. An administrator can create any additional secrets in the `openshift` namespace if they change the registry used for the sample imagestreams. If created, those secrets contain the content of a Docker `config.json` needed to facilitate image import. |
| 17 | +The Cluster Samples Operator deployment is contained within the `openshift-cluster-samples-operator` namespace. On start up, the install pull secret is used by the image stream import logic in the internal registry and API server to authenticate with `registry.redhat.io`. An administrator can create any additional secrets in the `openshift` namespace if they change the registry used for the sample image streams. If created, those secrets contain the content of a `config.json` for `docker` needed to facilitate image import. |
19 | 18 |
|
20 | | -The image for the Cluster Samples Operator contains imagestream and template definitions for the associated {product-title} release. After the Cluster Samples Operator creates a sample, it adds an annotation that denotes the {product-title} version that it is compatible with. The Operator uses this annotation to ensure that each sample matches it's release version. Samples outside of its inventory are ignored, as are skipped samples. Modifications to any samples that are managed by the Operator are allowed as long as the version annotation is not modified or deleted. However, on an upgrade, as the version annotation will change, those modifications can get replaced as the sample will be updated with the newer version. The Jenkins images are part of the image payload from the installation and are tagged into the imagestreams directly. |
| 19 | +The image for the Cluster Samples Operator contains image stream and template definitions for the associated {product-title} release. After the Cluster Samples Operator creates a sample, it adds an annotation that denotes the {product-title} version that it is compatible with. The Operator uses this annotation to ensure that each sample matches the compatible release version. Samples outside of its inventory are ignored, as are skipped samples. |
| 20 | + |
| 21 | +Modifications to any samples that are managed by the Operator are allowed as long as the version annotation is not modified or deleted. However, on an upgrade, as the version annotation will change, those modifications can get replaced as the sample will be updated with the newer version. The Jenkins images are part of the image payload from the installation and are tagged into the image streams directly. |
21 | 22 |
|
22 | 23 | The samples resource includes a finalizer, which cleans up the following upon its deletion: |
23 | 24 |
|
24 | | -* Operator-managed imagestreams |
| 25 | +* Operator-managed image streams |
25 | 26 | * Operator-managed templates |
26 | 27 | * Operator-generated configuration resources |
27 | 28 | * Cluster status resources |
|
0 commit comments