Skip to content

Commit 1cf62c7

Browse files
authored
Merge pull request #44804 from sounix000/3946-Pipelines-Tutorial-1-7
RHDEVDOCS-3946 Pipelines 1.7 Tutorial + RHDEVDOCS-3977 Delete optional CRs before uninstalling Operator
2 parents 1beec7c + c84e3b5 commit 1cf62c7

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

cicd/pipelines/uninstalling-pipelines.adoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ include::_attributes/common-attributes.adoc[]
66

77
toc::[]
88

9-
Uninstalling the {pipelines-title} Operator is a two-step process:
9+
Cluster administrators can uninstall the {pipelines-title} Operator by performing the following steps:
1010

1111
. Delete the Custom Resources (CRs) that were added by default when you installed the {pipelines-title} Operator.
12+
. Delete the CRs of the optional components, such as {tekton-chains}, that are dependent on the Operator.
13+
+
14+
[CAUTION]
15+
====
16+
If you uninstall the Operator without removing the CRs of optional components, you cannot remove them later.
17+
====
1218
. Uninstall the {pipelines-title} Operator.
1319

1420
Uninstalling only the Operator will not remove the {pipelines-title} components created by default when the Operator is installed.

modules/op-adding-triggers.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ spec:
7777
- name: git-revision
7878
value: $(tt.params.git-revision)
7979
- name: IMAGE
80-
value: image-registry.openshift-image-registry.svc:5000/pipelines-tutorial/$(tt.params.git-repo-name)
80+
value: image-registry.openshift-image-registry.svc:5000/$(context.pipelineRun.namespace)/$(tt.params.git-repo-name)
8181
workspaces:
8282
- name: shared-workspace
8383
volumeClaimTemplate:

modules/op-deleting-the-pipelines-component-and-custom-resources.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,8 @@ Deleting the CRs will delete the {pipelines-title} components, and all the Tasks
2525
====
2626

2727
. Click *Delete* to confirm the deletion of the CRs.
28+
29+
[IMPORTANT]
30+
====
31+
Repeat the procedure to find and remove CRs of optional components such as {tekton-chains}, before uninstalling the Operator. If you uninstall the Operator without removing the CRs of optional components, you cannot remove them later.
32+
====

modules/op-running-a-pipeline.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $ tkn pipeline start build-and-deploy \
1919
-w name=shared-workspace,volumeClaimTemplateFile=https://raw.githubusercontent.com/openshift/pipelines-tutorial/{pipelines-ver}/01_pipeline/03_persistent_volume_claim.yaml \
2020
-p deployment-name=pipelines-vote-api \
2121
-p git-url=https://github.com/openshift/pipelines-vote-api.git \
22-
-p IMAGE=image-registry.openshift-image-registry.svc:5000/pipelines-tutorial/pipelines-vote-api \
22+
-p IMAGE=image-registry.openshift-image-registry.svc:5000/$(context.pipelineRun.namespace)/pipelines-vote-api \
2323
--use-param-defaults
2424
----
2525
+
@@ -42,7 +42,7 @@ $ tkn pipeline start build-and-deploy \
4242
-w name=shared-workspace,volumeClaimTemplateFile=https://raw.githubusercontent.com/openshift/pipelines-tutorial/{pipelines-ver}/01_pipeline/03_persistent_volume_claim.yaml \
4343
-p deployment-name=pipelines-vote-ui \
4444
-p git-url=https://github.com/openshift/pipelines-vote-ui.git \
45-
-p IMAGE=image-registry.openshift-image-registry.svc:5000/pipelines-tutorial/pipelines-vote-ui \
45+
-p IMAGE=image-registry.openshift-image-registry.svc:5000/$(context.pipelineRun.namespace)/pipelines-vote-ui \
4646
--use-param-defaults
4747
----
4848

0 commit comments

Comments
 (0)