Skip to content

Commit 38a2511

Browse files
fix(deps): update k8s (#8628)
* fix(deps): update k8s * Remove deprecated types in pkg/* * Remove deprecated types in e2e tests * Adjust webhook endpoint test * Increase make generate check-local-changes memory * Adjust E2E RBAC --------- Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com> Co-authored-by: Michael Morello <[email protected]>
1 parent 2ca5a71 commit 38a2511

33 files changed

+1347
-987
lines changed

.buildkite/pipeline.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ steps:
1818
agents:
1919
image: docker.elastic.co/ci-agent-images/cloud-k8s-operator/buildkite-agent:18bfe327
2020
cpu: "4"
21-
memory: "2G"
21+
memory: "4G"
2222

2323
- label: ":go: checks"
2424
commands:

NOTICE.txt

+283-77
Large diffs are not rendered by default.

config/crds/v1/all-crds.yaml

+82-100
Large diffs are not rendered by default.

config/crds/v1/resources/agent.k8s.elastic.co_agents.yaml

+103-80
Large diffs are not rendered by default.

config/crds/v1/resources/apm.k8s.elastic.co_apmservers.yaml

+71-57
Large diffs are not rendered by default.

config/crds/v1/resources/autoscaling.k8s.elastic.co_elasticsearchautoscalers.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.17.2
6+
controller-gen.kubebuilder.io/version: v0.17.3
77
name: elasticsearchautoscalers.autoscaling.k8s.elastic.co
88
spec:
99
group: autoscaling.k8s.elastic.co

config/crds/v1/resources/beat.k8s.elastic.co_beats.yaml

+65-49
Large diffs are not rendered by default.

config/crds/v1/resources/elasticsearch.k8s.elastic.co_elasticsearches.yaml

+83-76
Large diffs are not rendered by default.

config/crds/v1/resources/enterprisesearch.k8s.elastic.co_enterprisesearches.yaml

+71-57
Large diffs are not rendered by default.

config/crds/v1/resources/kibana.k8s.elastic.co_kibanas.yaml

+71-57
Large diffs are not rendered by default.

config/crds/v1/resources/logstash.k8s.elastic.co_logstashes.yaml

+36-29
Large diffs are not rendered by default.

config/crds/v1/resources/maps.k8s.elastic.co_elasticmapsservers.yaml

+36-29
Large diffs are not rendered by default.

config/crds/v1/resources/stackconfigpolicy.k8s.elastic.co_stackconfigpolicies.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.17.2
6+
controller-gen.kubebuilder.io/version: v0.17.3
77
name: stackconfigpolicies.stackconfigpolicy.k8s.elastic.co
88
spec:
99
group: stackconfigpolicy.k8s.elastic.co

config/e2e/rbac.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@ metadata:
6868
labels:
6969
test-run: {{ .TestRun }}
7070
rules:
71+
- apiGroups:
72+
- discovery.k8s.io
73+
resources:
74+
- endpointslices
75+
verbs:
76+
- get
77+
- list
78+
- watch
7179
- apiGroups:
7280
- ""
7381
resources:

deploy/eck-operator/charts/eck-operator-crds/templates/all-crds.yaml

+82-100
Large diffs are not rendered by default.

docs/reference/third-party-dependencies.md

+15-14
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ This page lists the third-party dependencies used to build {{eck}}.
5151
| [golang.org/x/crypto](https://golang.org/x/crypto) | v0.36.0 | BSD-3-Clause |
5252
| [golang.org/x/exp](https://golang.org/x/exp) | v0.0.0-20240808152545-0cdaa3abc0fa | BSD-3-Clause |
5353
| [gopkg.in/yaml.v3](https://gopkg.in/yaml.v3) | v3.0.1 | MIT |
54-
| [k8s.io/api](https://github.com/kubernetes/api) | v0.32.3 | Apache-2.0 |
55-
| [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) | v0.32.3 | Apache-2.0 |
56-
| [k8s.io/client-go](https://github.com/kubernetes/client-go) | v0.32.3 | Apache-2.0 |
54+
| [k8s.io/api](https://github.com/kubernetes/api) | v0.33.0 | Apache-2.0 |
55+
| [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) | v0.33.0 | Apache-2.0 |
56+
| [k8s.io/client-go](https://github.com/kubernetes/client-go) | v0.33.0 | Apache-2.0 |
5757
| [k8s.io/klog/v2](https://github.com/kubernetes/klog) | v2.130.1 | Apache-2.0 |
5858
| [k8s.io/utils](https://github.com/kubernetes/utils) | v0.0.0-20241104100929-3ea5e8cea738 | Apache-2.0 |
5959
| [sigs.k8s.io/controller-runtime](https://sigs.k8s.io/controller-runtime) | v0.20.4 | Apache-2.0 |
60-
| [sigs.k8s.io/controller-tools](https://sigs.k8s.io/controller-tools) | v0.17.2 | Apache-2.0 |
60+
| [sigs.k8s.io/controller-tools](https://sigs.k8s.io/controller-tools) | v0.17.3 | Apache-2.0 |
6161

6262

6363
## Indirect dependencies [k8s-dependencies-indirect]
@@ -100,13 +100,12 @@ This page lists the third-party dependencies used to build {{eck}}.
100100
| [github.com/go-viper/mapstructure/v2](https://github.com/go-viper/mapstructure) | v2.2.1 | MIT |
101101
| [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml) | v1.15.13 | MIT |
102102
| [github.com/gogo/protobuf](https://github.com/gogo/protobuf) | v1.3.2 | BSD-3-Clause |
103-
| [github.com/golang/protobuf](https://github.com/golang/protobuf) | v1.5.4 | BSD-3-Clause |
104103
| [github.com/google/btree](https://github.com/google/btree) | v1.1.3 | Apache-2.0 |
105104
| [github.com/google/cel-go](https://github.com/google/cel-go) | v0.22.0 | Apache-2.0 |
106-
| [github.com/google/gnostic-models](https://github.com/google/gnostic-models) | v0.6.8 | Apache-2.0 |
105+
| [github.com/google/gnostic-models](https://github.com/google/gnostic-models) | v0.6.9 | Apache-2.0 |
107106
| [github.com/google/gofuzz](https://github.com/google/gofuzz) | v1.2.0 | Apache-2.0 |
108107
| [github.com/google/pprof](https://github.com/google/pprof) | v0.0.0-20241029153458-d1b30febd7db | Apache-2.0 |
109-
| [github.com/gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.0 | BSD-2-Clause |
108+
| [github.com/gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.4-0.20250319132907-e064f32e3674 | BSD-2-Clause |
110109
| [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway) | v2.20.0 | BSD-3-Clause |
111110
| [github.com/hashicorp/errwrap](https://github.com/hashicorp/errwrap) | v1.1.0 | MPL-2.0 |
112111
| [github.com/hashicorp/go-cleanhttp](https://github.com/hashicorp/go-cleanhttp) | v0.5.2 | MPL-2.0 |
@@ -157,6 +156,7 @@ This page lists the third-party dependencies used to build {{eck}}.
157156
| [github.com/spf13/afero](https://github.com/spf13/afero) | v1.12.0 | Apache-2.0 |
158157
| [github.com/spf13/cast](https://github.com/spf13/cast) | v1.7.1 | MIT |
159158
| [github.com/stoewer/go-strcase](https://github.com/stoewer/go-strcase) | v1.3.0 | MIT |
159+
| [github.com/stretchr/objx](https://github.com/stretchr/objx) | v0.5.2 | MIT |
160160
| [github.com/subosito/gotenv](https://github.com/subosito/gotenv) | v1.6.0 | MIT |
161161
| [github.com/tidwall/gjson](https://github.com/tidwall/gjson) | v1.18.0 | MIT |
162162
| [github.com/tidwall/match](https://github.com/tidwall/match) | v1.1.1 | MIT |
@@ -178,12 +178,12 @@ This page lists the third-party dependencies used to build {{eck}}.
178178
| [go.uber.org/multierr](https://go.uber.org/multierr) | v1.11.0 | MIT |
179179
| [golang.org/x/mod](https://golang.org/x/mod) | v0.23.0 | BSD-3-Clause |
180180
| [golang.org/x/net](https://golang.org/x/net) | v0.38.0 | BSD-3-Clause |
181-
| [golang.org/x/oauth2](https://golang.org/x/oauth2) | v0.25.0 | BSD-3-Clause |
181+
| [golang.org/x/oauth2](https://golang.org/x/oauth2) | v0.27.0 | BSD-3-Clause |
182182
| [golang.org/x/sync](https://golang.org/x/sync) | v0.12.0 | BSD-3-Clause |
183183
| [golang.org/x/sys](https://golang.org/x/sys) | v0.31.0 | BSD-3-Clause |
184184
| [golang.org/x/term](https://golang.org/x/term) | v0.30.0 | BSD-3-Clause |
185185
| [golang.org/x/text](https://golang.org/x/text) | v0.23.0 | BSD-3-Clause |
186-
| [golang.org/x/time](https://golang.org/x/time) | v0.8.0 | BSD-3-Clause |
186+
| [golang.org/x/time](https://golang.org/x/time) | v0.9.0 | BSD-3-Clause |
187187
| [golang.org/x/tools](https://golang.org/x/tools) | v0.30.0 | BSD-3-Clause |
188188
| [gomodules.xyz/jsonpatch/v2](https://gomodules.xyz/jsonpatch/v2) | v2.4.0 | Apache-2.0 |
189189
| [google.golang.org/genproto/googleapis/api](https://google.golang.org/genproto/googleapis/api) | v0.0.0-20241209162323-e6fa225c2576 | Apache-2.0 |
@@ -197,12 +197,13 @@ This page lists the third-party dependencies used to build {{eck}}.
197197
| [gopkg.in/yaml.v2](https://gopkg.in/yaml.v2) | v2.4.0 | Apache-2.0 |
198198
| [gotest.tools/v3](https://gotest.tools/v3) | v3.0.3 | Apache-2.0 |
199199
| [howett.net/plist](https://gitlab.howett.net/go/plist) | v1.0.1 | BSD-2-Clause |
200-
| [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) | v0.32.1 | Apache-2.0 |
201-
| [k8s.io/apiserver](https://github.com/kubernetes/apiserver) | v0.32.1 | Apache-2.0 |
202-
| [k8s.io/component-base](https://github.com/kubernetes/component-base) | v0.32.1 | Apache-2.0 |
203-
| [k8s.io/kube-openapi](https://github.com/kubernetes/kube-openapi) | v0.0.0-20241105132330-32ad38e42d3f | Apache-2.0 |
200+
| [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver) | v0.32.2 | Apache-2.0 |
201+
| [k8s.io/apiserver](https://github.com/kubernetes/apiserver) | v0.32.2 | Apache-2.0 |
202+
| [k8s.io/component-base](https://github.com/kubernetes/component-base) | v0.32.2 | Apache-2.0 |
203+
| [k8s.io/kube-openapi](https://github.com/kubernetes/kube-openapi) | v0.0.0-20250318190949-c8a335a9a2ff | Apache-2.0 |
204204
| [sigs.k8s.io/apiserver-network-proxy/konnectivity-client](https://sigs.k8s.io/apiserver-network-proxy/konnectivity-client) | v0.31.0 | Apache-2.0 |
205205
| [sigs.k8s.io/json](https://sigs.k8s.io/json) | v0.0.0-20241010143419-9aa6b5e7a4b3 | Apache-2.0 |
206-
| [sigs.k8s.io/structured-merge-diff/v4](https://sigs.k8s.io/structured-merge-diff/v4) | v4.4.2 | Apache-2.0 |
206+
| [sigs.k8s.io/randfill](https://sigs.k8s.io/randfill) | v1.0.0 | Apache-2.0 |
207+
| [sigs.k8s.io/structured-merge-diff/v4](https://sigs.k8s.io/structured-merge-diff/v4) | v4.6.0 | Apache-2.0 |
207208
| [sigs.k8s.io/yaml](https://sigs.k8s.io/yaml) | v1.4.0 | Apache-2.0 |
208209

go.mod

+17-16
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module github.com/elastic/cloud-on-k8s/v3
22

3-
go 1.23.0
3+
go 1.24.0
4+
5+
toolchain go1.24.2
46

57
require (
68
dario.cat/mergo v1.0.1
@@ -38,13 +40,13 @@ require (
3840
golang.org/x/crypto v0.36.0
3941
golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa
4042
gopkg.in/yaml.v3 v3.0.1
41-
k8s.io/api v0.32.3
42-
k8s.io/apimachinery v0.32.3
43-
k8s.io/client-go v0.32.3
43+
k8s.io/api v0.33.0
44+
k8s.io/apimachinery v0.33.0
45+
k8s.io/client-go v0.33.0
4446
k8s.io/klog/v2 v2.130.1
4547
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738
4648
sigs.k8s.io/controller-runtime v0.20.4
47-
sigs.k8s.io/controller-tools v0.17.2
49+
sigs.k8s.io/controller-tools v0.17.3
4850
)
4951

5052
require (
@@ -81,12 +83,10 @@ require (
8183
github.com/go-viper/mapstructure/v2 v2.2.1 // indirect
8284
github.com/goccy/go-yaml v1.15.13 // indirect
8385
github.com/gogo/protobuf v1.3.2 // indirect
84-
github.com/golang/protobuf v1.5.4 // indirect
8586
github.com/google/btree v1.1.3 // indirect
8687
github.com/google/cel-go v0.22.0 // indirect
87-
github.com/google/gnostic-models v0.6.8 // indirect
88-
github.com/google/gofuzz v1.2.0 // indirect
89-
github.com/gorilla/websocket v1.5.0 // indirect
88+
github.com/google/gnostic-models v0.6.9 // indirect
89+
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 // indirect
9090
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
9191
github.com/hashicorp/errwrap v1.1.0 // indirect
9292
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
@@ -150,12 +150,12 @@ require (
150150
go.uber.org/multierr v1.11.0 // indirect
151151
golang.org/x/mod v0.23.0 // indirect
152152
golang.org/x/net v0.38.0 // indirect
153-
golang.org/x/oauth2 v0.25.0 // indirect
153+
golang.org/x/oauth2 v0.27.0 // indirect
154154
golang.org/x/sync v0.12.0 // indirect
155155
golang.org/x/sys v0.31.0 // indirect
156156
golang.org/x/term v0.30.0 // indirect
157157
golang.org/x/text v0.23.0 // indirect
158-
golang.org/x/time v0.8.0 // indirect
158+
golang.org/x/time v0.9.0 // indirect
159159
golang.org/x/tools v0.30.0 // indirect
160160
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
161161
google.golang.org/genproto/googleapis/api v0.0.0-20241209162323-e6fa225c2576 // indirect
@@ -166,13 +166,14 @@ require (
166166
gopkg.in/inf.v0 v0.9.1 // indirect
167167
gopkg.in/yaml.v2 v2.4.0 // indirect
168168
howett.net/plist v1.0.1 // indirect
169-
k8s.io/apiextensions-apiserver v0.32.1 // indirect
170-
k8s.io/apiserver v0.32.1 // indirect
171-
k8s.io/component-base v0.32.1 // indirect
172-
k8s.io/kube-openapi v0.0.0-20241105132330-32ad38e42d3f // indirect
169+
k8s.io/apiextensions-apiserver v0.32.2 // indirect
170+
k8s.io/apiserver v0.32.2 // indirect
171+
k8s.io/component-base v0.32.2 // indirect
172+
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff // indirect
173173
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.0 // indirect
174174
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect
175-
sigs.k8s.io/structured-merge-diff/v4 v4.4.2 // indirect
175+
sigs.k8s.io/randfill v1.0.0 // indirect
176+
sigs.k8s.io/structured-merge-diff/v4 v4.6.0 // indirect
176177
sigs.k8s.io/yaml v1.4.0 // indirect
177178
)
178179

0 commit comments

Comments
 (0)