1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 06:46:26 +01:00
Files
openshift-docs/modules/virt-deploying-tto.adoc
2022-11-21 21:05:41 +00:00

44 lines
1.3 KiB
Plaintext

// Module included in the following assemblies:
//
// * virt/virtual_machines/virt-managing-vms-openshift-pipelines.adoc
:_content-type: PROCEDURE
[id="virt-deploying-tto_{context}"]
= Deploying the Tekton Tasks Operator resources
The Tekton Tasks Operator (TTO) cluster tasks and example pipelines are not deployed by default when you install {VirtProductName}. To deploy TTO resources, enable the `deployTektonTaskResources` feature gate in the `HyperConverged` custom resource (CR).
.Procedure
. Open the `HyperConverged` CR in your default editor by running the following command:
+
[source,terminal]
----
$ oc edit hco -n openshift-cnv kubevirt-hyperconverged
----
. Set the `spec.featureGates.deployTektonTaskResources` field to `true`.
+
[source,yaml]
----
apiVersion: hco.kubevirt.io/v1beta1
kind: HyperConverged
metadata:
name: kubevirt-hyperconverged
namespace: kubevirt-hyperconverged
spec:
tektonPipelinesNamespace: <user_namespace> <1>
featureGates:
deployTektonTaskResources: true <2>
#...
----
<1> The namespace where the pipelines are to be run.
<2> The feature gate to be enabled to deploy TTO resources.
+
[NOTE]
====
The cluster tasks and example pipelines remain available even if you disable the feature gate later.
====
. Save your changes and exit the editor.