Skip to content

Commit 8f3e179

Browse files
authored
feat(k8s): Update Kubernetes client-go to latest 1.26 release (#250)
* feat(k8s): Update client-go to v0.26.1 for K8s 1.26.x v0.26.1 is the latest release for the latest maintained version of Kubernetes. * feat(k8s): Update apiextensions to latest release-1.26 branch `$ go get k8s.io/[email protected]`. * fix(k8s): Support changed fake client constructor The fake client now requires additional data to fully represent what a real client provides (namely, the List kind).
1 parent 47a6e08 commit 8f3e179

File tree

4 files changed

+376
-320
lines changed

4 files changed

+376
-320
lines changed

go.mod

+44-41
Original file line numberDiff line numberDiff line change
@@ -6,65 +6,68 @@ require (
66
github.com/Jeffail/gabs/v2 v2.2.0
77
github.com/dgraph-io/badger/v2 v2.0.3
88
github.com/ghodss/yaml v1.0.0
9-
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
10-
github.com/golang/protobuf v1.4.3
9+
github.com/golang/glog v1.0.0
10+
github.com/golang/protobuf v1.5.2
1111
github.com/jteeuwen/go-bindata v3.0.7+incompatible
1212
github.com/nsf/jsondiff v0.0.0-20190712045011-8443391ee9b6
1313
github.com/pkg/errors v0.9.1
14-
github.com/prometheus/client_golang v1.11.0
14+
github.com/prometheus/client_golang v1.14.0
1515
github.com/spf13/afero v1.2.2
16-
github.com/stretchr/testify v1.4.0
17-
golang.org/x/net v0.0.0-20200625001655-4c5254603344
18-
k8s.io/api v0.17.0
19-
k8s.io/apiextensions-apiserver v0.17.0
20-
k8s.io/apimachinery v0.17.0
21-
k8s.io/client-go v0.17.0
16+
github.com/stretchr/testify v1.8.0
17+
golang.org/x/net v0.3.1-0.20221206200815-1e63c2f08a10
18+
k8s.io/api v0.26.1
19+
k8s.io/apiextensions-apiserver v0.0.0-20230112083153-33db789573b1
20+
k8s.io/apimachinery v0.26.1
21+
k8s.io/client-go v0.26.1
2222
)
2323

2424
require (
25-
cloud.google.com/go v0.49.0 // indirect
26-
github.com/Azure/go-autorest/autorest v0.9.0 // indirect
27-
github.com/Azure/go-autorest/autorest/adal v0.5.0 // indirect
28-
github.com/Azure/go-autorest/autorest/date v0.1.0 // indirect
29-
github.com/Azure/go-autorest/logger v0.1.0 // indirect
30-
github.com/Azure/go-autorest/tracing v0.5.0 // indirect
3125
github.com/DataDog/zstd v1.4.5 // indirect
3226
github.com/beorn7/perks v1.0.1 // indirect
3327
github.com/cespare/xxhash v1.1.0 // indirect
34-
github.com/cespare/xxhash/v2 v2.1.1 // indirect
28+
github.com/cespare/xxhash/v2 v2.1.2 // indirect
3529
github.com/davecgh/go-spew v1.1.1 // indirect
3630
github.com/dgraph-io/ristretto v0.0.2 // indirect
37-
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
3831
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
3932
github.com/dustin/go-humanize v1.0.0 // indirect
40-
github.com/evanphx/json-patch v4.2.0+incompatible // indirect
41-
github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d // indirect
33+
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
34+
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
35+
github.com/go-logr/logr v1.2.3 // indirect
36+
github.com/go-openapi/jsonpointer v0.19.5 // indirect
37+
github.com/go-openapi/jsonreference v0.20.0 // indirect
38+
github.com/go-openapi/swag v0.19.14 // indirect
39+
github.com/gogo/protobuf v1.3.2 // indirect
4240
github.com/golang/snappy v0.0.1 // indirect
43-
github.com/google/go-cmp v0.5.5 // indirect
44-
github.com/google/gofuzz v1.0.0 // indirect
45-
github.com/googleapis/gnostic v0.3.1 // indirect
46-
github.com/hashicorp/golang-lru v0.5.3 // indirect
41+
github.com/google/gnostic v0.5.7-v3refs // indirect
42+
github.com/google/go-cmp v0.5.9 // indirect
43+
github.com/google/gofuzz v1.1.0 // indirect
4744
github.com/imdario/mergo v0.3.8 // indirect
48-
github.com/json-iterator/go v1.1.11 // indirect
49-
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
45+
github.com/josharian/intern v1.0.0 // indirect
46+
github.com/json-iterator/go v1.1.12 // indirect
47+
github.com/mailru/easyjson v0.7.6 // indirect
48+
github.com/matttproud/golang_protobuf_extensions v1.0.2 // indirect
5049
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
51-
github.com/modern-go/reflect2 v1.0.1 // indirect
50+
github.com/modern-go/reflect2 v1.0.2 // indirect
51+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
5252
github.com/pmezard/go-difflib v1.0.0 // indirect
53-
github.com/prometheus/client_model v0.2.0 // indirect
54-
github.com/prometheus/common v0.26.0 // indirect
55-
github.com/prometheus/procfs v0.6.0 // indirect
53+
github.com/prometheus/client_model v0.3.0 // indirect
54+
github.com/prometheus/common v0.37.0 // indirect
55+
github.com/prometheus/procfs v0.8.0 // indirect
5656
github.com/spf13/pflag v1.0.5 // indirect
57-
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 // indirect
58-
golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6 // indirect
59-
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40 // indirect
60-
golang.org/x/text v0.3.2 // indirect
61-
golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect
62-
google.golang.org/appengine v1.6.5 // indirect
63-
google.golang.org/protobuf v1.26.0-rc.1 // indirect
57+
golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b // indirect
58+
golang.org/x/sys v0.3.0 // indirect
59+
golang.org/x/term v0.3.0 // indirect
60+
golang.org/x/text v0.5.0 // indirect
61+
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
62+
google.golang.org/appengine v1.6.7 // indirect
63+
google.golang.org/protobuf v1.28.1 // indirect
6464
gopkg.in/inf.v0 v0.9.1 // indirect
65-
gopkg.in/yaml.v2 v2.3.0 // indirect
66-
k8s.io/klog v1.0.0 // indirect
67-
k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a // indirect
68-
k8s.io/utils v0.0.0-20191114184206-e782cd3c129f // indirect
69-
sigs.k8s.io/yaml v1.1.0 // indirect
65+
gopkg.in/yaml.v2 v2.4.0 // indirect
66+
gopkg.in/yaml.v3 v3.0.1 // indirect
67+
k8s.io/klog/v2 v2.80.1 // indirect
68+
k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 // indirect
69+
k8s.io/utils v0.0.0-20221107191617-1a15be271d1d // indirect
70+
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
71+
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
72+
sigs.k8s.io/yaml v1.3.0 // indirect
7073
)

0 commit comments

Comments
 (0)