Skip to content

Commit c8b2b99

Browse files
committed
docs!: upgrade of API version for Tekton Pipelines to v1
1 parent 30e2197 commit c8b2b99

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

release-notes/tekton-v1.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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+

0 commit comments

Comments
 (0)