File tree 1 file changed +28
-0
lines changed
1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Upgrade of API version for Tekton Pipelines to v1
2
+
3
+ With this upgrade the API version of Tekton Pipeline resources (like pipeline runs) are updated from tekton.dev/v1beta1
4
+ to tekton.dev/v1.
5
+
6
+ ## Potential problems with conversion
7
+
8
+ In the Jenkins X cluster upgrade process any changes to custome resource definitions are done first. In this case
9
+ this will trigger the Kubernetes cluster to ask tekton-pipelines-webhook to convert existing tekton pipeline
10
+ resources in the cluster. At this time the tekton-pipelines-webhook deployment is the old version which include bugs
11
+ that can cause old pipeline runs to run again. This can cause confusion especially if a release pipeline for an aold
12
+ versio of an application is run again.
13
+
14
+ The simplest way to avoid this is to manually delete existing pipeline runs before doing this upgrade. This can be
15
+ done by running
16
+
17
+ ```
18
+ kubectl delete piplinerun --all -namespace jx
19
+ ```
20
+
21
+ ## Existing pipelines in application repositories
22
+
23
+ So far the supported API version of the pipelines in the .ligthouse directory of your application respositories have
24
+ been tekton.dev/v1beta1. From now on tekton.dev/v1 is also supported. Any pipelines with version tekton.dev/v1beta1
25
+ will be automatically converted to tekton.dev/v1 when read by lighthouse. After the Tekton Pipelines project remove
26
+ support for this conversion it will be removed from lighthouse as well. But before that tools to convert the
27
+ piplines in .lighthouse will be made available.
28
+
You can’t perform that action at this time.
0 commit comments