|
4 | 4 | [id="op-installing-pipelines-operator-in-web-console_{context}"] |
5 | 5 | = Installing the {pipelines-title} Operator in web console |
6 | 6 |
|
7 | | -You can install {pipelines-title} using the Operator listed in the {product-title} OperatorHub. When you install the {pipelines-title} Operator, the Custom Resources (CRs) required for the Pipelines configuration are automatically installed along with the Operator. |
| 7 | +You can install {pipelines-title} using the Operator listed in the {product-title} OperatorHub. When you install the {pipelines-title} Operator, the custom resources (CRs) required for the pipelines configuration are automatically installed along with the Operator. |
| 8 | + |
| 9 | +The default Operator custom resource definition (CRD) `config.operator.tekton.dev` is now replaced by `tektonconfigs.operator.tekton.dev`. In addition, the Operator provides the following additional CRDs to individually manage OpenShift Pipelines components: |
| 10 | + `tektonpipelines.operator.tekton.dev`, `tektontriggers.operator.tekton.dev` and `tektonaddons.operator.tekton.dev`. |
| 11 | + |
| 12 | +If you have OpenShift Pipelines already installed on your cluster, the existing installation is seamlessly upgraded. The Operator will replace the instance of `config.operator.tekton.dev` on your cluster with an instance of `tektonconfigs.operator.tekton.dev` and additional objects of the other CRDs as necessary. |
| 13 | + |
| 14 | +[WARNING] |
| 15 | +==== |
| 16 | +If you manually changed your existing installation, such as, changing the target namespace in the `config.operator.tekton.dev` CRD instance by making changes to the `resource name - cluster` field, then the upgrade path is not smooth. In such cases, the recommended workflow is to uninstall your installation and reinstall the {pipelines-title} Operator. |
| 17 | +==== |
| 18 | + |
| 19 | +The {pipelines-title} Operator now provides the option to choose the components that you want to install by specifying profiles as part of the `TektonConfig` CR. The `TektonConfig` CR is automatically installed when the Operator is installed. |
| 20 | +The supported profiles are: |
| 21 | + |
| 22 | +* Basic: This installs only Tekton pipelines. |
| 23 | +* Default: This installs Tekton pipeline and Tekton triggers. |
| 24 | +* All: This is the default profile used when the `TektonConfig` CR is installed. This profile installs all of the Tekton components: Tekton Pipelines, Tekton Triggers, Tekton Addons(which include `ClusterTasks`, `ClusterTriggerBindings`, `ConsoleCLIDownload`, `ConsoleQuickStart` and `ConsoleYAMLSample` resources). |
8 | 25 |
|
9 | 26 | [discrete] |
10 | 27 | .Procedure |
11 | 28 |
|
12 | 29 | . In the *Administrator* perspective of the web console, navigate to *Operators* -> *OperatorHub*. |
13 | 30 |
|
14 | | -. Use the *Filter by keyword* box to search for `{pipelines-title} Operator` in the catalog. Click the *OpenShift Pipelines Operator* tile. |
15 | | -+ |
16 | | -[NOTE] |
17 | | -==== |
18 | | -Ensure that you do not select the *Community* version of the *OpenShift Pipelines Operator*. |
19 | | -==== |
20 | | -+ |
21 | | -//image::op-installed-tile.png[] |
22 | | -//Remove the note below once the community operator is removed from OperatorHub |
| 31 | +. Use the *Filter by keyword* box to search for `{pipelines-title}` Operator in the catalog. Click the *{pipelines-title}* Operator tile. |
23 | 32 |
|
24 | | -. Read the brief description about the Operator on the *{pipelines-title} Operator* page. Click *Install*. |
25 | | -+ |
26 | | -//image::op-install-subscription.png[] |
| 33 | +. Read the brief description about the Operator on the *{pipelines-title}* Operator page. Click *Install*. |
27 | 34 |
|
28 | 35 | . On the *Install Operator* page: |
| 36 | ++ |
| 37 | +.. Select *All namespaces on the cluster (default)* for the *Installation Mode*. This mode installs the Operator in the default `openshift-operators` namespace, which enables the Operator to watch and be made available to all namespaces in the cluster. |
29 | 38 |
|
30 | | - .. Select *All namespaces on the cluster (default)* for the *Installation Mode*. This mode installs the Operator in the default `openshift-operators` namespace, which enables the Operator to watch and be made available to all namespaces in the cluster. |
| 39 | +.. Select *Automatic* for the *Approval Strategy*. This ensures that the future upgrades to the Operator are handled automatically by the Operator Lifecycle Manager (OLM). If you select the *Manual* approval strategy, OLM creates an update request. As a cluster administrator, you must then manually approve the OLM update request to update the Operator to the new version. |
31 | 40 |
|
32 | | - .. Select *Automatic* for the *Approval Strategy*. This ensures that the future upgrades to the Operator are handled automatically by the Operator Lifecycle Manager (OLM). If you select the *Manual* approval strategy, OLM creates an update request. As a cluster administrator, you must then manually approve the OLM update request to update the Operator to the new version. |
33 | | - .. Select an *Update Channel*. |
34 | | - *** The *ocp-<4.x>* channel enables installation of the latest stable release of the {pipelines-title} Operator. |
35 | | - *** The *preview* channel enables installation of the latest preview version of the {pipelines-title} Operator, which may contain features that are not yet available from the 4.x update channel. |
36 | | -+ |
37 | | - . Click *Install*. You will see the Operator listed on the *Installed Operators* page. |
| 41 | +.. Select an *Update Channel*. |
| 42 | + |
| 43 | +*** The *Stable* channel enables installation of the latest stable release of the {pipelines-title} Operator. |
| 44 | +*** The *preview* channel enables installation of the latest preview version of the {pipelines-title} Operator, which may contain features that are not yet available from the *Stable* channel. |
| 45 | + |
| 46 | +. Click *Install*. You will see the Operator listed on the *Installed Operators* page. |
38 | 47 | + |
39 | 48 | [NOTE] |
40 | 49 | ==== |
41 | 50 | The Operator is installed automatically into the `openshift-operators` namespace. |
42 | 51 | ==== |
43 | | - |
| 52 | ++ |
44 | 53 | . Verify that the *Status* is set to *Succeeded Up to date* to confirm successful installation of {pipelines-title} Operator. |
0 commit comments