mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * openshift_pipelines/installing-pipelines.adoc
|
|
|
|
[id="op-installing-pipelines-operator-using-the-cli_{context}"]
|
|
= Installing the OpenShift Pipelines Operator using the CLI
|
|
|
|
You can install {pipelines-title} Operator from the OperatorHub using the CLI.
|
|
|
|
[discrete]
|
|
.Procedure
|
|
|
|
. Create a Subscription object YAML file to subscribe a namespace to the {pipelines-title} Operator,
|
|
for example, `sub.yaml`:
|
|
+
|
|
.Example Subscription
|
|
[source,yaml]
|
|
----
|
|
apiVersion: operators.coreos.com/v1alpha1
|
|
kind: Subscription
|
|
metadata:
|
|
name: openshift-pipelines-operator
|
|
namespace: openshift-operators
|
|
spec:
|
|
channel: <channel name> <1>
|
|
name: openshift-pipelines-operator <2>
|
|
source: redhat-operators <3>
|
|
sourceNamespace: openshift-marketplace <4>
|
|
----
|
|
<1> Specify the channel name from where you want to subscribe the Operator
|
|
<2> Name of the Operator to subscribe to.
|
|
<3> Name of the CatalogSource that provides the Operator.
|
|
<4> Namespace of the CatalogSource. Use `openshift-marketplace` for the default OperatorHub CatalogSources.
|
|
|
|
. Create the Subscription object:
|
|
+
|
|
----
|
|
$ oc apply -f sub.yaml
|
|
----
|
|
+
|
|
The {pipelines-title} Operator is now installed in the default target namespace `openshift-operators`.
|