Skip to content

Commit 29b581b

Browse files
Merge pull request #2587 from machine424/libgo
MON-4149: chore: update library-go
2 parents ec9fee5 + d5975c8 commit 29b581b

File tree

2,219 files changed

+74440
-56601
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,219 files changed

+74440
-56601
lines changed

.golangci.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
run:
22
timeout: 5m
33
tests: true
4-
skip-dirs:
5-
- vendor
6-
- test
74
modules-download-mode: vendor
85

96
linters:
@@ -13,15 +10,14 @@ linters:
1310
- errcheck
1411
- errorlint
1512
- bodyclose
16-
- exportloopref
1713
- gosimple
1814
- govet
1915
- ineffassign
2016
- misspell
2117
- nolintlint
2218
- nosprintfhostport
2319
- staticcheck
24-
- tenv
20+
- usetesting
2521
- typecheck
2622
- unconvert
2723
- unused
@@ -30,6 +26,9 @@ linters:
3026
- gci
3127

3228
issues:
29+
exclude-dirs:
30+
- vendor
31+
- test
3332
exclude-rules:
3433
- path: _test\.go
3534
linters:
@@ -39,14 +38,13 @@ issues:
3938
- errcheck
4039
- errorlint
4140
- bodyclose
42-
- exportloopref
4341
- gosimple
4442
- ineffassign
4543
- misspell
4644
- nolintlint
4745
- nosprintfhostport
4846
- staticcheck
49-
- tenv
47+
- usetesting
5048
- typecheck
5149
- unconvert
5250
- unused

Documentation/api.md

Lines changed: 32 additions & 32 deletions
Large diffs are not rendered by default.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ GOJSONTOYAML_BIN=$(BIN_DIR)/gojsontoyaml
3838
JSONNET_BIN=$(BIN_DIR)/jsonnet
3939
JSONNETFMT_BIN=$(BIN_DIR)/jsonnetfmt
4040
GOLANGCI_LINT_BIN=$(BIN_DIR)/golangci-lint
41-
GOLANGCI_LINT_VERSION=v1.62.2
41+
GOLANGCI_LINT_VERSION=v1.64.8
4242
PROMTOOL_BIN=$(BIN_DIR)/promtool
4343
DOCGEN_BIN=$(BIN_DIR)/docgen
4444
MISSPELL_BIN=$(BIN_DIR)/misspell

go.mod

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/openshift/cluster-monitoring-operator
22

3-
go 1.22.0
3+
go 1.23.0
44

5-
toolchain go1.22.4
5+
toolchain go1.24.0
66

77
require (
88
github.com/Jeffail/gabs v1.4.0
@@ -15,9 +15,9 @@ require (
1515
github.com/google/uuid v1.6.0
1616
github.com/imdario/mergo v0.3.16
1717
github.com/mattn/go-shellwords v1.0.12
18-
github.com/openshift/api v0.0.0-20241001152557-e415140e5d5f
19-
github.com/openshift/client-go v0.0.0-20241001162912-da6d55e4611f
20-
github.com/openshift/library-go v0.0.0-20241106000323-9fcf3125a28e
18+
github.com/openshift/api v0.0.0-20250320170726-75d64d71980b
19+
github.com/openshift/client-go v0.0.0-20250125113824-8e1f0b8fa9a7
20+
github.com/openshift/library-go v0.0.0-20250402180609-ce2ba53fb2a4
2121
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.76.0
2222
github.com/prometheus-operator/prometheus-operator/pkg/client v0.76.0
2323
github.com/prometheus/alertmanager v0.27.0
@@ -30,22 +30,23 @@ require (
3030
golang.org/x/text v0.19.0
3131
gopkg.in/yaml.v2 v2.4.0
3232
gopkg.in/yaml.v3 v3.0.1
33-
k8s.io/api v0.31.1
34-
k8s.io/apiextensions-apiserver v0.31.1
35-
k8s.io/apimachinery v0.31.1
36-
k8s.io/apiserver v0.31.1
33+
k8s.io/api v0.32.1
34+
k8s.io/apiextensions-apiserver v0.32.1
35+
k8s.io/apimachinery v0.32.1
36+
k8s.io/apiserver v0.32.1
3737
k8s.io/autoscaler/vertical-pod-autoscaler v1.0.0
38-
k8s.io/client-go v0.31.1
39-
k8s.io/component-base v0.31.1
38+
k8s.io/client-go v0.32.1
39+
k8s.io/component-base v0.32.1
4040
k8s.io/klog/v2 v2.130.1
41-
k8s.io/kube-aggregator v0.31.1
41+
k8s.io/kube-aggregator v0.32.1
4242
k8s.io/metrics v0.31.1
43-
k8s.io/utils v0.0.0-20240921022957-49e7df575cb6
43+
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738
4444
sigs.k8s.io/controller-runtime v0.19.0
4545
sigs.k8s.io/yaml v1.4.0
4646
)
4747

4848
require (
49+
cel.dev/expr v0.18.0 // indirect
4950
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.13.0 // indirect
5051
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0 // indirect
5152
github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0 // indirect
@@ -62,7 +63,6 @@ require (
6263
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
6364
github.com/dennwc/varint v1.0.0 // indirect
6465
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
65-
github.com/evanphx/json-patch v5.9.0+incompatible // indirect
6666
github.com/felixge/httpsnoop v1.0.4 // indirect
6767
github.com/fsnotify/fsnotify v1.7.0 // indirect
6868
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
@@ -79,9 +79,9 @@ require (
7979
github.com/go-openapi/validate v0.23.0 // indirect
8080
github.com/gogo/protobuf v1.3.2 // indirect
8181
github.com/golang-jwt/jwt/v5 v5.2.1 // indirect
82-
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
8382
github.com/golang/protobuf v1.5.4 // indirect
84-
github.com/google/cel-go v0.20.1 // indirect
83+
github.com/google/btree v1.0.1 // indirect
84+
github.com/google/cel-go v0.22.0 // indirect
8585
github.com/google/gnostic-models v0.6.8 // indirect
8686
github.com/google/go-cmp v0.6.0 // indirect
8787
github.com/google/gofuzz v1.2.0 // indirect
@@ -111,11 +111,11 @@ require (
111111
github.com/robfig/cron v1.2.0 // indirect
112112
github.com/spf13/cobra v1.8.1 // indirect
113113
github.com/spf13/pflag v1.0.5 // indirect
114-
github.com/stoewer/go-strcase v1.2.0 // indirect
114+
github.com/stoewer/go-strcase v1.3.0 // indirect
115115
github.com/x448/float16 v0.8.4 // indirect
116-
go.etcd.io/etcd/api/v3 v3.5.14 // indirect
117-
go.etcd.io/etcd/client/pkg/v3 v3.5.14 // indirect
118-
go.etcd.io/etcd/client/v3 v3.5.14 // indirect
116+
go.etcd.io/etcd/api/v3 v3.5.16 // indirect
117+
go.etcd.io/etcd/client/pkg/v3 v3.5.16 // indirect
118+
go.etcd.io/etcd/client/v3 v3.5.16 // indirect
119119
go.mongodb.org/mongo-driver v1.14.0 // indirect
120120
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.53.0 // indirect
121121
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 // indirect
@@ -128,7 +128,7 @@ require (
128128
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
129129
go.uber.org/atomic v1.11.0 // indirect
130130
go.uber.org/multierr v1.11.0 // indirect
131-
go.uber.org/zap v1.26.0 // indirect
131+
go.uber.org/zap v1.27.0 // indirect
132132
golang.org/x/crypto v0.28.0 // indirect
133133
golang.org/x/exp v0.0.0-20241004190924-225e2abe05e6 // indirect
134134
golang.org/x/oauth2 v0.23.0 // indirect
@@ -137,17 +137,17 @@ require (
137137
golang.org/x/time v0.7.0 // indirect
138138
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
139139
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
140-
google.golang.org/genproto/googleapis/api v0.0.0-20240711142825-46eb208f015d // indirect
141-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240708141625-4ad9e859172b // indirect
140+
google.golang.org/genproto/googleapis/api v0.0.0-20240826202546-f6391c0de4c7 // indirect
141+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240826202546-f6391c0de4c7 // indirect
142142
google.golang.org/grpc v1.65.0 // indirect
143-
google.golang.org/protobuf v1.34.2 // indirect
143+
google.golang.org/protobuf v1.35.1 // indirect
144144
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
145145
gopkg.in/inf.v0 v0.9.1 // indirect
146146
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
147-
k8s.io/kms v0.31.1 // indirect
148-
k8s.io/kube-openapi v0.0.0-20240903163716-9e1beecbcb38 // indirect
149-
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.30.3 // indirect
150-
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
147+
k8s.io/kms v0.32.1 // indirect
148+
k8s.io/kube-openapi v0.0.0-20241105132330-32ad38e42d3f // indirect
149+
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.0 // indirect
150+
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect
151151
sigs.k8s.io/kube-storage-version-migrator v0.0.6-0.20230721195810-5c8923c5ff96 // indirect
152-
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
152+
sigs.k8s.io/structured-merge-diff/v4 v4.4.2 // indirect
153153
)

0 commit comments

Comments
 (0)