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
= Installing the {pipelines-shortname} Operator using the CLI
6
+
= Installing the {pipelines-shortname} Operator by using the CLI
7
7
8
-
You can install {pipelines-title} Operator from the OperatorHub using the CLI.
8
+
You can install {pipelines-title} Operator from OperatorHub by using the command-line interface (CLI).
9
9
10
-
[discrete]
11
10
.Procedure
12
11
13
-
. Create a Subscription object YAML file to subscribe a namespace to the {pipelines-title} Operator,
12
+
. Create a `Subscription` object YAML file to subscribe a namespace to the {pipelines-title} Operator,
14
13
for example, `sub.yaml`:
15
14
+
16
-
.Example Subscription
15
+
.Example `Subscription` YAML
17
16
[source,yaml]
18
17
----
19
18
apiVersion: operators.coreos.com/v1alpha1
@@ -22,18 +21,19 @@ metadata:
22
21
name: openshift-pipelines-operator
23
22
namespace: openshift-operators
24
23
spec:
25
-
channel: <channelname> <1>
26
-
name: openshift-pipelines-operator-rh <2>
27
-
source: redhat-operators <3>
24
+
channel: <channel_name> # <1>
25
+
name: openshift-pipelines-operator-rh # <2>
26
+
source: redhat-operators # <3>
28
27
sourceNamespace: openshift-marketplace <4>
29
28
----
30
-
<1> The channel name of the Operator. The `pipelines-<version>` channel is the default channel. For example, the default channel for {pipelines-title} Operator version `1.7` is `pipelines-1.7`. The `latest` channel enables installation of the most recent stable version of the {pipelines-title} Operator.
29
+
<1> Name of the channel that you want to subscribe. The `pipelines-<version>` channel is the default channel. For example, the default channel for {pipelines-title} Operator version `1.7` is `pipelines-1.7`. The `latest` channel enables installation of the most recent stable version of the {pipelines-title} Operator.
31
30
<2> Name of the Operator to subscribe to.
32
-
<3> Name of the CatalogSource that provides the Operator.
33
-
<4> Namespace of the CatalogSource. Use `openshift-marketplace` for the default OperatorHub CatalogSources.
31
+
<3> Name of the `CatalogSource` object that provides the Operator.
32
+
<4> Namespace of the `CatalogSource` object. Use `openshift-marketplace` for the default OperatorHub catalog sources.
34
33
35
-
. Create the Subscription object:
34
+
. Create the `Subscription` object by running the following command:
0 commit comments