Skip to content

Commit e4d8a69

Browse files
Merge pull request #260 from shipwright-io/qu1queee/v0.16.0
Update to Shipwright Build v0.16.0
2 parents 7c692d8 + 1f537f6 commit e4d8a69

File tree

2,458 files changed

+119373
-84119
lines changed

Some content is hidden

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

2,458 files changed

+119373
-84119
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# To re-generate a bundle for another specific version without changing the standard setup, you can:
44
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
55
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
6-
VERSION ?= 0.15.2
6+
VERSION ?= 0.16.0
77

88
# CHANNELS define the bundle channels used in the bundle.
99
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")

bundle/manifests/shipwright-operator.clusterserviceversion.yaml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ metadata:
2424
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
2525
repository: https://github.com/shipwright-io/operator
2626
support: The Shipwright Contributors
27-
name: shipwright-operator.v0.15.2
27+
name: shipwright-operator.v0.16.0
2828
namespace: placeholder
2929
spec:
3030
apiservicedefinitions: {}
@@ -131,6 +131,7 @@ spec:
131131
- watch
132132
- update
133133
- delete
134+
- patch
134135
- apiGroups:
135136
- shipwright.io
136137
resources:
@@ -151,6 +152,7 @@ spec:
151152
- get
152153
- list
153154
- watch
155+
- patch
154156
- apiGroups:
155157
- shipwright.io
156158
resources:
@@ -171,6 +173,7 @@ spec:
171173
- get
172174
- list
173175
- watch
176+
- patch
174177
- apiGroups:
175178
- shipwright.io
176179
resources:
@@ -179,6 +182,7 @@ spec:
179182
- get
180183
- list
181184
- watch
185+
- patch
182186
- apiGroups:
183187
- tekton.dev
184188
resources:
@@ -223,14 +227,6 @@ spec:
223227
- create
224228
- update
225229
- delete
226-
- apiGroups:
227-
- apiextensions.k8s.io
228-
resources:
229-
- customresourcedefinitions
230-
- customresourcedefinitions/status
231-
verbs:
232-
- get
233-
- patch
234230
- apiGroups:
235231
- ""
236232
resources:
@@ -785,4 +781,4 @@ spec:
785781
provider:
786782
name: The Shipwright Contributors
787783
url: https://shipwright.io
788-
version: 0.15.2
784+
version: 0.16.0

config/rbac/shipwright_build_controller_role.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ rules:
77
resources: ['buildruns']
88
# The build-run-deletion annotation sets an owner ref on BuildRun objects.
99
# With the OwnerReferencesPermissionEnforcement admission controller enabled, controllers need the "delete" permission on objects that they set owner references on.
10-
verbs: ['get', 'list', 'watch', 'update', 'delete']
10+
verbs: ['get', 'list', 'watch', 'update', 'delete', 'patch']
1111
- apiGroups: ['shipwright.io']
1212
# BuildRuns are set as the owners of Tekton TaskRuns.
1313
# With the OwnerReferencesPermissionEnforcement admission controller enabled, controllers need the "update" permission on the finalizer of the parent object in the owner reference.
@@ -18,7 +18,7 @@ rules:
1818
verbs: ['update']
1919
- apiGroups: ['shipwright.io']
2020
resources: ['builds']
21-
verbs: ['get', 'list', 'watch']
21+
verbs: ['get', 'list', 'watch', 'patch']
2222
- apiGroups: ['shipwright.io']
2323
# The build-run-deletion annotation makes Builds an owner of BuildRun objects.
2424
# With the OwnerReferencesPermissionEnforcement admission controller enabled, controllers need the "update" permission on the finalizer of the parent object in the owner reference.
@@ -29,10 +29,10 @@ rules:
2929
verbs: ['update']
3030
- apiGroups: ['shipwright.io']
3131
resources: ['buildstrategies']
32-
verbs: ['get', 'list', 'watch']
32+
verbs: ['get', 'list', 'watch', 'patch']
3333
- apiGroups: ['shipwright.io']
3434
resources: ['clusterbuildstrategies']
35-
verbs: ['get', 'list', 'watch']
35+
verbs: ['get', 'list', 'watch', 'patch']
3636
- apiGroups: ['tekton.dev']
3737
resources: ['taskruns']
3838
# BuildRuns are set as the owners of Tekton TaskRuns.
@@ -50,6 +50,3 @@ rules:
5050
- apiGroups: ['']
5151
resources: ['serviceaccounts']
5252
verbs: ['get', 'list', 'watch', 'create', 'update', 'delete']
53-
- apiGroups: ['apiextensions.k8s.io']
54-
resources: ['customresourcedefinitions', 'customresourcedefinitions/status']
55-
verbs: ['get', 'patch']

go.mod

Lines changed: 54 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
module github.com/shipwright-io/operator
22

3-
go 1.23.4
3+
go 1.24.0
44

55
require (
66
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2
7-
github.com/go-logr/logr v1.4.2
7+
github.com/go-logr/logr v1.4.3
88
github.com/manifestival/controller-runtime-client v0.4.0
99
github.com/manifestival/manifestival v0.7.2
10-
github.com/onsi/ginkgo/v2 v2.22.2
11-
github.com/onsi/gomega v1.36.2
12-
github.com/shipwright-io/build v0.15.0
13-
github.com/tektoncd/operator v0.75.0
10+
github.com/onsi/ginkgo/v2 v2.23.4
11+
github.com/onsi/gomega v1.37.0
12+
github.com/shipwright-io/build v0.16.0
13+
github.com/tektoncd/operator v0.76.0
1414
gopkg.in/yaml.v2 v2.4.0
15-
k8s.io/api v0.30.9
16-
k8s.io/apiextensions-apiserver v0.30.9
17-
k8s.io/apimachinery v0.30.9
15+
k8s.io/api v0.32.5
16+
k8s.io/apiextensions-apiserver v0.32.5
17+
k8s.io/apimachinery v0.33.0
1818
// go mod tidy forces this to v1.5.2
1919
k8s.io/client-go v1.5.2
20-
sigs.k8s.io/controller-runtime v0.18.7
20+
sigs.k8s.io/controller-runtime v0.20.4
2121
)
2222

2323
require (
@@ -28,75 +28,80 @@ require (
2828
github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect
2929
github.com/cespare/xxhash/v2 v2.3.0 // indirect
3030
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
31-
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
32-
github.com/evanphx/json-patch v5.9.11+incompatible // indirect
31+
github.com/emicklei/go-restful/v3 v3.12.2 // indirect
3332
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
3433
github.com/fsnotify/fsnotify v1.8.0 // indirect
3534
github.com/go-logr/zapr v1.3.0 // indirect
36-
github.com/go-openapi/jsonpointer v0.21.0 // indirect
35+
github.com/go-openapi/jsonpointer v0.21.1 // indirect
3736
github.com/go-openapi/jsonreference v0.21.0 // indirect
38-
github.com/go-openapi/swag v0.23.0 // indirect
37+
github.com/go-openapi/swag v0.23.1 // indirect
3938
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
4039
github.com/gogo/protobuf v1.3.2 // indirect
41-
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
40+
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
4241
github.com/golang/protobuf v1.5.4 // indirect
4342
github.com/google/gnostic-models v0.6.9 // indirect
44-
github.com/google/go-cmp v0.6.0 // indirect
45-
github.com/google/gofuzz v1.2.0 // indirect
46-
github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad // indirect
43+
github.com/google/go-cmp v0.7.0 // indirect
44+
github.com/google/pprof v0.0.0-20250403155104-27863c87afa6 // indirect
4745
github.com/google/uuid v1.6.0 // indirect
48-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.0 // indirect
46+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3 // indirect
4947
github.com/hashicorp/golang-lru v1.0.2 // indirect
50-
github.com/imdario/mergo v0.3.16 // indirect; indirecthttps://github.com/kubernetes/kubernetes/tree/v1.30.8
5148
github.com/josharian/intern v1.0.0 // indirect
5249
github.com/json-iterator/go v1.1.12 // indirect
5350
github.com/kelseyhightower/envconfig v1.4.0 // indirect
54-
github.com/klauspost/compress v1.17.11 // indirect
5551
github.com/mailru/easyjson v0.9.0 // indirect
5652
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
5753
github.com/modern-go/reflect2 v1.0.2 // indirect
5854
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
59-
github.com/openshift-pipelines/pipelines-as-code v0.27.2 // indirect
55+
github.com/openshift-pipelines/pipelines-as-code v0.35.0 // indirect
6056
github.com/openshift/api v0.0.0-20240521185306-0314f31e7774 // indirect
6157
github.com/openshift/apiserver-library-go v0.0.0-20230816171015-6bfafa975bfb // indirect
6258
github.com/openshift/client-go v0.0.0-20240523113335-452272e0496d // indirect
63-
github.com/prometheus/client_golang v1.21.0 // indirect
64-
github.com/prometheus/client_model v0.6.1 // indirect
65-
github.com/prometheus/common v0.62.0 // indirect
66-
github.com/prometheus/procfs v0.15.1 // indirect
59+
github.com/prometheus/client_golang v1.22.0 // indirect
60+
github.com/prometheus/client_model v0.6.2 // indirect
61+
github.com/prometheus/common v0.63.0 // indirect
62+
github.com/prometheus/procfs v0.16.1 // indirect
6763
github.com/prometheus/statsd_exporter v0.28.0 // indirect
6864
github.com/spf13/pflag v1.0.6 // indirect
69-
github.com/tektoncd/pipeline v0.68.0 // indirect
70-
github.com/tektoncd/triggers v0.31.0 // indirect
65+
github.com/tektoncd/pipeline v1.0.0 // indirect
66+
github.com/tektoncd/triggers v0.32.0 // indirect
7167
go.opencensus.io v0.24.0 // indirect
7268
go.uber.org/multierr v1.11.0 // indirect
7369
go.uber.org/zap v1.27.0 // indirect
74-
golang.org/x/exp v0.0.0-20250128182459-e0ece0dbea4c // indirect
75-
golang.org/x/net v0.34.0 // indirect
76-
golang.org/x/oauth2 v0.26.0 // indirect
77-
golang.org/x/sync v0.11.0 // indirect
78-
golang.org/x/sys v0.30.0 // indirect
79-
golang.org/x/term v0.29.0 // indirect
80-
golang.org/x/text v0.22.0 // indirect
81-
golang.org/x/time v0.10.0 // indirect
82-
golang.org/x/tools v0.29.0 // indirect
83-
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
84-
google.golang.org/api v0.220.0 // indirect
85-
google.golang.org/genproto/googleapis/api v0.0.0-20250115164207-1a7da9e5054f // indirect
86-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250127172529-29210b9bc287 // indirect
87-
google.golang.org/grpc v1.70.0 // indirect
88-
google.golang.org/protobuf v1.36.5 // indirect
70+
golang.org/x/net v0.39.0 // indirect
71+
golang.org/x/oauth2 v0.30.0 // indirect
72+
golang.org/x/sync v0.14.0 // indirect
73+
golang.org/x/sys v0.33.0 // indirect
74+
golang.org/x/term v0.31.0 // indirect
75+
golang.org/x/text v0.24.0 // indirect
76+
golang.org/x/time v0.11.0 // indirect
77+
golang.org/x/tools v0.32.0 // indirect
78+
gomodules.xyz/jsonpatch/v2 v2.5.0 // indirect
79+
google.golang.org/api v0.231.0 // indirect
80+
google.golang.org/genproto/googleapis/api v0.0.0-20250428153025-10db94c68c34 // indirect
81+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250428153025-10db94c68c34 // indirect
82+
google.golang.org/grpc v1.72.0 // indirect
83+
google.golang.org/protobuf v1.36.6 // indirect
8984
gopkg.in/inf.v0 v0.9.1 // indirect
9085
gopkg.in/yaml.v3 v3.0.1 // indirect
9186
k8s.io/klog/v2 v2.130.1 // indirect
92-
k8s.io/kube-openapi v0.0.0-20240403164606-bc84c2ddaf99 // indirect
93-
k8s.io/utils v0.0.0-20240502163921-fe8a2dddb1d0 // indirect
94-
knative.dev/pkg v0.0.0-20240416145024-0f34a8815650 // indirect
95-
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
96-
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
87+
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff // indirect
88+
k8s.io/utils v0.0.0-20250502105355-0f33e8f1c979 // indirect
89+
knative.dev/pkg v0.0.0-20250424013628-d5e74d29daa3 // indirect
90+
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
91+
sigs.k8s.io/structured-merge-diff/v4 v4.7.0 // indirect
9792
sigs.k8s.io/yaml v1.4.0 // indirect
9893
)
9994

95+
require (
96+
github.com/fxamacker/cbor/v2 v2.8.0 // indirect
97+
github.com/google/btree v1.1.3 // indirect
98+
github.com/pkg/errors v0.9.1 // indirect
99+
github.com/x448/float16 v0.8.4 // indirect
100+
go.uber.org/automaxprocs v1.6.0 // indirect
101+
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
102+
sigs.k8s.io/randfill v1.0.0 // indirect
103+
)
104+
100105
// Go modules at times does not effectively resolve transitive dependencies that share
101106
// k8s.io/* packages. These should be kept internally consistent with a "common" k8s version - this
102107
// is more of an art than a science, and can change with successive dependency updates.
@@ -108,4 +113,4 @@ require (
108113
// go module version standardization (v0.y.z, with y and z representing the k8s 1.y.z minor/patch
109114
// versions). `go mod tidy` will often overwrite the desired client-go version to v1.5.2, so we
110115
// pin the version here.
111-
replace k8s.io/client-go => k8s.io/client-go v0.30.9
116+
replace k8s.io/client-go => k8s.io/client-go v0.32.4

0 commit comments

Comments
 (0)