Skip to content

Commit ae54ff0

Browse files
committed
feat: Remove tekton code
Removed all code related to tekton. The tekton cleanup code is no longer needed, because it was released in the previous version. We expect that users update sequentially, so the cleanup code has already removed old tekton resources from their cluster. Signed-off-by: Andrej Krejcir <[email protected]>
1 parent a1b0d80 commit ae54ff0

File tree

612 files changed

+2
-123068
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

612 files changed

+2
-123068
lines changed

automation/common/deploy-kubevirt-and-cdi.sh

-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ metadata:
1212
name: ${NAMESPACE}
1313
EOF
1414

15-
# Deploy Tekton
16-
oc apply -f "https://github.com/tektoncd/operator/releases/download/${TEKTON_VERSION}/openshift-release.yaml"
17-
1815
# Deploying kubevirt
1916
oc apply -n $NAMESPACE -f "https://github.com/kubevirt/kubevirt/releases/download/${KUBEVIRT_VERSION}/kubevirt-operator.yaml"
2017

automation/common/versions.sh

-3
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,3 @@ KUBEVIRT_VERSION=$(latest_version "kubevirt" "kubevirt")
5959

6060
# Latest released CDI version
6161
CDI_VERSION=$(latest_version "kubevirt" "containerized-data-importer")
62-
63-
# Using LTS tekton version v0.67
64-
TEKTON_VERSION=$(latest_patch_version "tektoncd" "operator" "v0.67")

config/rbac/role.yaml

+1-58
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ rules:
2020
- endpoints
2121
- persistentvolumeclaims/status
2222
- persistentvolumes
23+
- pods
2324
verbs:
2425
- get
2526
- list
@@ -49,24 +50,6 @@ rules:
4950
- patch
5051
- update
5152
- watch
52-
- apiGroups:
53-
- ""
54-
resources:
55-
- pods
56-
verbs:
57-
- create
58-
- get
59-
- list
60-
- watch
61-
- apiGroups:
62-
- ""
63-
resources:
64-
- secrets
65-
verbs:
66-
- create
67-
- get
68-
- list
69-
- patch
7053
- apiGroups:
7154
- ""
7255
resources:
@@ -160,18 +143,9 @@ rules:
160143
- virtualmachineinstances
161144
- virtualmachines
162145
verbs:
163-
- create
164-
- delete
165146
- get
166147
- list
167-
- update
168148
- watch
169-
- apiGroups:
170-
- kubevirt.io
171-
resources:
172-
- virtualmachines/finalizers
173-
verbs:
174-
- get
175149
- apiGroups:
176150
- monitoring.coreos.com
177151
resources:
@@ -235,37 +209,6 @@ rules:
235209
- virtualmachineinstances/vnc
236210
verbs:
237211
- get
238-
- apiGroups:
239-
- subresources.kubevirt.io
240-
resources:
241-
- virtualmachines/restart
242-
- virtualmachines/start
243-
- virtualmachines/stop
244-
verbs:
245-
- update
246-
- apiGroups:
247-
- tekton.dev
248-
resources:
249-
- pipelines
250-
verbs:
251-
- create
252-
- list
253-
- update
254-
- watch
255-
- apiGroups:
256-
- tekton.dev
257-
resources:
258-
- tasks
259-
verbs:
260-
- list
261-
- update
262-
- watch
263-
- apiGroups:
264-
- template.openshift.io
265-
resources:
266-
- processedtemplates
267-
verbs:
268-
- create
269212
- apiGroups:
270213
- template.openshift.io
271214
resources:

data/olm-catalog/ssp-operator.clusterserviceversion.yaml

+1-58
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ spec:
8888
- endpoints
8989
- persistentvolumeclaims/status
9090
- persistentvolumes
91+
- pods
9192
verbs:
9293
- get
9394
- list
@@ -117,24 +118,6 @@ spec:
117118
- patch
118119
- update
119120
- watch
120-
- apiGroups:
121-
- ""
122-
resources:
123-
- pods
124-
verbs:
125-
- create
126-
- get
127-
- list
128-
- watch
129-
- apiGroups:
130-
- ""
131-
resources:
132-
- secrets
133-
verbs:
134-
- create
135-
- get
136-
- list
137-
- patch
138121
- apiGroups:
139122
- ""
140123
resources:
@@ -228,18 +211,9 @@ spec:
228211
- virtualmachineinstances
229212
- virtualmachines
230213
verbs:
231-
- create
232-
- delete
233214
- get
234215
- list
235-
- update
236216
- watch
237-
- apiGroups:
238-
- kubevirt.io
239-
resources:
240-
- virtualmachines/finalizers
241-
verbs:
242-
- get
243217
- apiGroups:
244218
- monitoring.coreos.com
245219
resources:
@@ -303,37 +277,6 @@ spec:
303277
- virtualmachineinstances/vnc
304278
verbs:
305279
- get
306-
- apiGroups:
307-
- subresources.kubevirt.io
308-
resources:
309-
- virtualmachines/restart
310-
- virtualmachines/start
311-
- virtualmachines/stop
312-
verbs:
313-
- update
314-
- apiGroups:
315-
- tekton.dev
316-
resources:
317-
- pipelines
318-
verbs:
319-
- create
320-
- list
321-
- update
322-
- watch
323-
- apiGroups:
324-
- tekton.dev
325-
resources:
326-
- tasks
327-
verbs:
328-
- list
329-
- update
330-
- watch
331-
- apiGroups:
332-
- template.openshift.io
333-
resources:
334-
- processedtemplates
335-
verbs:
336-
- create
337280
- apiGroups:
338281
- template.openshift.io
339282
resources:

docs/development.md

-4
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,6 @@ from being deleted when protection is enabled. To enable the delete protection,
146146
`kubevirt.io/vm-delete-protection: "True"` has to be added to the VM object. The generated VAP resources can
147147
be found in `internal/operands/vm-delete-protection/resources.go`.
148148

149-
#### `tekton-cleanup`
150-
151-
Sets a deprecation annotation on old tekton resources created by a previous version of this operator.
152-
153149
#### `template-validator`
154150

155151
The main `template-validator` runs in at least one separate container than the

go.mod

-14
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ require (
2222
github.com/prometheus/common v0.62.0
2323
github.com/spf13/cobra v1.8.1
2424
github.com/spf13/pflag v1.0.6
25-
github.com/tektoncd/pipeline v0.66.0
2625
gomodules.xyz/jsonpatch/v2 v2.4.0
2726
k8s.io/api v0.32.2
2827
k8s.io/apiextensions-apiserver v0.32.2
@@ -41,12 +40,8 @@ require (
4140

4241
require (
4342
cel.dev/expr v0.20.0 // indirect
44-
contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d // indirect
45-
contrib.go.opencensus.io/exporter/prometheus v0.4.2 // indirect
4643
github.com/antlr4-go/antlr/v4 v4.13.1 // indirect
4744
github.com/beorn7/perks v1.0.1 // indirect
48-
github.com/blendle/zapdriver v1.3.1 // indirect
49-
github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect
5045
github.com/cespare/xxhash/v2 v2.3.0 // indirect
5146
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
5247
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
@@ -59,7 +54,6 @@ require (
5954
github.com/go-openapi/swag v0.23.0 // indirect
6055
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
6156
github.com/gogo/protobuf v1.3.2 // indirect
62-
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
6357
github.com/golang/protobuf v1.5.4 // indirect
6458
github.com/google/btree v1.1.3 // indirect
6559
github.com/google/gnostic-models v0.6.9 // indirect
@@ -69,9 +63,6 @@ require (
6963
github.com/google/uuid v1.6.0 // indirect
7064
github.com/gorilla/websocket v1.5.3 // indirect
7165
github.com/grafana/regexp v0.0.0-20221122212121-6b5c0a4cb7fd // indirect
72-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.1 // indirect
73-
github.com/hashicorp/errwrap v1.1.0 // indirect
74-
github.com/hashicorp/go-multierror v1.1.1 // indirect
7566
github.com/inconshreveable/mousetrap v1.1.0 // indirect
7667
github.com/josharian/intern v1.0.0 // indirect
7768
github.com/jpillora/backoff v1.0.0 // indirect
@@ -86,11 +77,9 @@ require (
8677
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
8778
github.com/pkg/errors v0.9.1 // indirect
8879
github.com/prometheus/procfs v0.15.1 // indirect
89-
github.com/prometheus/statsd_exporter v0.28.0 // indirect
9080
github.com/sirupsen/logrus v1.9.3 // indirect
9181
github.com/stoewer/go-strcase v1.3.0 // indirect
9282
github.com/x448/float16 v0.8.4 // indirect
93-
go.opencensus.io v0.24.0 // indirect
9483
go.uber.org/multierr v1.11.0 // indirect
9584
go.uber.org/zap v1.27.0 // indirect
9685
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
@@ -102,10 +91,8 @@ require (
10291
golang.org/x/text v0.22.0 // indirect
10392
golang.org/x/time v0.10.0 // indirect
10493
golang.org/x/tools v0.30.0 // indirect
105-
google.golang.org/api v0.221.0 // indirect
10694
google.golang.org/genproto/googleapis/api v0.0.0-20250204164813-702378808489 // indirect
10795
google.golang.org/genproto/googleapis/rpc v0.0.0-20250207221924-e9438ea467c6 // indirect
108-
google.golang.org/grpc v1.70.0 // indirect
10996
google.golang.org/protobuf v1.36.5 // indirect
11097
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
11198
gopkg.in/inf.v0 v0.9.1 // indirect
@@ -114,7 +101,6 @@ require (
114101
k8s.io/apiserver v0.32.2 // indirect
115102
k8s.io/klog/v2 v2.130.1 // indirect
116103
k8s.io/kube-openapi v0.0.0-20241105132330-32ad38e42d3f // indirect
117-
knative.dev/pkg v0.0.0-20240416145024-0f34a8815650 // indirect
118104
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
119105
sigs.k8s.io/structured-merge-diff/v4 v4.5.0 // indirect
120106
)

0 commit comments

Comments
 (0)