Skip to content

Commit 4ef2752

Browse files
authored
Merge pull request #1933 from mrueg/bump-deps-12
Bump dependencies and linter
2 parents 5d6cb39 + 0955db8 commit 4ef2752

File tree

7 files changed

+55
-167
lines changed

7 files changed

+55
-167
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ env:
2121
E2E_SETUP_KUBECTL: yes
2222
SUDO: sudo
2323
GO_VERSION: "^1.19"
24-
GOLANGCI_LINT_VERSION: "v1.48.0"
24+
GOLANGCI_LINT_VERSION: "v1.50.1"
2525

2626
jobs:
2727
ci-go-lint:

.golangci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,6 @@ issues:
3333
- text: "G104:"
3434
linters:
3535
- gosec
36+
- text: "package-comments:"
37+
linters:
38+
- revive

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ GIT_COMMIT ?= $(shell git rev-parse --short HEAD)
1515
OS ?= $(shell uname -s | tr A-Z a-z)
1616
ALL_ARCH = amd64 arm arm64 ppc64le s390x
1717
PKG = github.com/prometheus/common
18-
PROMETHEUS_VERSION = 2.39.1
19-
GO_VERSION = 1.19.3
18+
PROMETHEUS_VERSION = 2.40.6
19+
GO_VERSION = 1.19.4
2020
IMAGE = $(REGISTRY)/kube-state-metrics
2121
MULTI_ARCH_IMG = $(IMAGE)-$(ARCH)
2222
USER ?= $(shell id -u -n)

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,11 @@ Generally, it is recommended to use the latest release of kube-state-metrics. If
7474

7575
| kube-state-metrics | Kubernetes client-go Version |
7676
|--------------------|:----------------------------:|
77-
| **v2.3.0** | v1.23 |
7877
| **v2.4.2** | v1.23 |
7978
| **v2.5.0** | v1.24 |
8079
| **v2.6.0** | v1.24 |
8180
| **v2.7.0** | v1.25 |
82-
| **main** | v1.25 |
81+
| **main** | v1.26 |
8382

8483

8584
#### Resource group version compatibility

go.mod

Lines changed: 15 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -12,54 +12,43 @@ require (
1212
github.com/oklog/run v1.1.0
1313
github.com/prometheus/client_golang v1.14.0
1414
github.com/prometheus/client_model v0.3.0
15-
github.com/prometheus/common v0.37.0
15+
github.com/prometheus/common v0.38.0
1616
github.com/prometheus/exporter-toolkit v0.8.2
1717
github.com/robfig/cron/v3 v3.0.1
1818
github.com/spf13/cobra v1.6.1
1919
github.com/spf13/viper v1.14.0
2020
github.com/stretchr/testify v1.8.1
2121
golang.org/x/perf v0.0.0-20220920022801-e8d778a60d07
2222
gopkg.in/yaml.v3 v3.0.1
23-
k8s.io/api v0.25.4
24-
k8s.io/apimachinery v0.25.4
23+
k8s.io/api v0.26.0
24+
k8s.io/apimachinery v0.26.0
2525
k8s.io/autoscaler/vertical-pod-autoscaler v0.12.0
26-
k8s.io/client-go v0.25.4
27-
k8s.io/component-base v0.25.4
26+
k8s.io/client-go v0.26.0
27+
k8s.io/component-base v0.26.0
2828
k8s.io/klog/v2 v2.80.1
29-
k8s.io/sample-controller v0.25.4
30-
k8s.io/utils v0.0.0-20221101230645-61b03e2f6476
29+
k8s.io/sample-controller v0.26.0
30+
k8s.io/utils v0.0.0-20221128185143-99ec85e7a448
3131
)
3232

3333
require (
34-
cloud.google.com/go/compute v1.12.1 // indirect
35-
cloud.google.com/go/compute/metadata v0.2.1 // indirect
36-
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
37-
github.com/Azure/go-autorest/autorest v0.11.27 // indirect
38-
github.com/Azure/go-autorest/autorest/adal v0.9.20 // indirect
39-
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
40-
github.com/Azure/go-autorest/logger v0.2.1 // indirect
41-
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
42-
github.com/PuerkitoBio/purell v1.1.1 // indirect
43-
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
4434
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
4535
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
4636
github.com/beorn7/perks v1.0.1 // indirect
4737
github.com/blang/semver/v4 v4.0.0 // indirect
4838
github.com/cespare/xxhash/v2 v2.1.2 // indirect
4939
github.com/coreos/go-systemd/v22 v22.4.0 // indirect
5040
github.com/davecgh/go-spew v1.1.1 // indirect
51-
github.com/emicklei/go-restful/v3 v3.8.0 // indirect
41+
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
5242
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
5343
github.com/fatih/color v1.13.0 // indirect
5444
github.com/ghodss/yaml v1.0.0 // indirect
5545
github.com/go-kit/log v0.2.1 // indirect
5646
github.com/go-logfmt/logfmt v0.5.1 // indirect
5747
github.com/go-logr/logr v1.2.3 // indirect
5848
github.com/go-openapi/jsonpointer v0.19.5 // indirect
59-
github.com/go-openapi/jsonreference v0.19.5 // indirect
49+
github.com/go-openapi/jsonreference v0.20.0 // indirect
6050
github.com/go-openapi/swag v0.19.14 // indirect
6151
github.com/gogo/protobuf v1.3.2 // indirect
62-
github.com/golang-jwt/jwt/v4 v4.2.0 // indirect
6352
github.com/golang/protobuf v1.5.2 // indirect
6453
github.com/google/gnostic v0.5.7-v3refs // indirect
6554
github.com/google/gofuzz v1.1.0 // indirect
@@ -74,7 +63,7 @@ require (
7463
github.com/mailru/easyjson v0.7.6 // indirect
7564
github.com/mattn/go-colorable v0.1.12 // indirect
7665
github.com/mattn/go-isatty v0.0.14 // indirect
77-
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
66+
github.com/matttproud/golang_protobuf_extensions v1.0.2 // indirect
7867
github.com/mitchellh/mapstructure v1.5.0 // indirect
7968
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
8069
github.com/modern-go/reflect2 v1.0.2 // indirect
@@ -91,20 +80,20 @@ require (
9180
github.com/spf13/pflag v1.0.5 // indirect
9281
github.com/subosito/gotenv v1.4.1 // indirect
9382
golang.org/x/crypto v0.0.0-20221012134737-56aed061732a // indirect
94-
golang.org/x/net v0.0.0-20221014081412-f15817d10f9b // indirect
83+
golang.org/x/net v0.3.1-0.20221206200815-1e63c2f08a10 // indirect
9584
golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783 // indirect
9685
golang.org/x/sync v0.1.0 // indirect
97-
golang.org/x/sys v0.1.0 // indirect
98-
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
99-
golang.org/x/text v0.4.0 // indirect
86+
golang.org/x/sys v0.3.0 // indirect
87+
golang.org/x/term v0.3.0 // indirect
88+
golang.org/x/text v0.5.0 // indirect
10089
golang.org/x/time v0.0.0-20220609170525-579cf78fd858 // indirect
10190
google.golang.org/appengine v1.6.7 // indirect
10291
google.golang.org/protobuf v1.28.1 // indirect
10392
gopkg.in/alecthomas/kingpin.v2 v2.2.6 // indirect
10493
gopkg.in/inf.v0 v0.9.1 // indirect
10594
gopkg.in/ini.v1 v1.67.0 // indirect
10695
gopkg.in/yaml.v2 v2.4.0 // indirect
107-
k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1 // indirect
96+
k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 // indirect
10897
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
10998
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
11099
sigs.k8s.io/yaml v1.3.0 // indirect

0 commit comments

Comments
 (0)