Skip to content

Commit f3bdfba

Browse files
committed
dependency version bump
Signed-off-by: Souvik Kar Mahapatra <[email protected]>
1 parent e446c3c commit f3bdfba

10 files changed

+237
-332
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ CONTROLLER_GEN ?= $(LOCALBIN)/controller-gen
194194

195195
## Tool Versions
196196
KUSTOMIZE_VERSION ?= v3.8.7
197-
CONTROLLER_TOOLS_VERSION ?= v0.9.2
197+
CONTROLLER_TOOLS_VERSION ?= v0.17.1
198198

199199
KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
200200
.PHONY: kustomize
@@ -264,7 +264,7 @@ catalog-push: ## Push a catalog image.
264264
$(MAKE) docker-push IMG=$(CATALOG_IMG)
265265

266266
# Test coverage
267-
.PHONY: coverage
267+
.PHONY: coverage
268268
coverage: test-env
269269
go test -v ./... -coverprofile cover.out
270270
go tool cover -html=cover.out -o cover.html
@@ -289,4 +289,4 @@ $(BIN_DIR)/setup-envtest-$(SETUP_ENVTEST_VERSION):
289289
.PHONY: test-env
290290
test-env:
291291
make bin/setup-envtest
292-
bin/setup-envtest use $(ENVTEST_K8S_VERSION) --bin-dir $(BIN_DIR)
292+
bin/setup-envtest use $(ENVTEST_K8S_VERSION) --bin-dir $(BIN_DIR)

api/v1alpha1/meshsync_types_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ var _ = Describe("The test case for the meshsync CRDs", func() {
143143
},
144144
}
145145
By("Update the status of the meshsync CRDs")
146-
err := fakeClient.Status().Update(context, meshSync, &client.UpdateOptions{FieldManager: FileManager})
146+
err := fakeClient.Status().Update(context, meshSync)
147147

148148
Expect(err).NotTo(HaveOccurred())
149149
Expect(meshSync.Status.PublishingTo == PublishingTo).Should(BeTrue())

api/v1alpha1/zz_generated.deepcopy.go

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/meshery.layer5.io_brokers.yaml

+12-8
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.9.2
7-
creationTimestamp: null
6+
controller-gen.kubebuilder.io/version: v0.17.1
87
name: brokers.meshery.layer5.io
98
spec:
109
group: meshery.layer5.io
@@ -21,14 +20,19 @@ spec:
2120
description: Broker is the Schema for the brokers API
2221
properties:
2322
apiVersion:
24-
description: 'APIVersion defines the versioned schema of this representation
25-
of an object. Servers should convert recognized schemas to the latest
26-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
23+
description: |-
24+
APIVersion defines the versioned schema of this representation of an object.
25+
Servers should convert recognized schemas to the latest internal value, and
26+
may reject unrecognized values.
27+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2728
type: string
2829
kind:
29-
description: 'Kind is a string value representing the REST resource this
30-
object represents. Servers may infer this from the endpoint the client
31-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
30+
description: |-
31+
Kind is a string value representing the REST resource this object represents.
32+
Servers may infer this from the endpoint the client submits requests to.
33+
Cannot be updated.
34+
In CamelCase.
35+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3236
type: string
3337
metadata:
3438
type: object

config/crd/bases/meshery.layer5.io_meshsyncs.yaml

+45-32
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.9.2
7-
creationTimestamp: null
6+
controller-gen.kubebuilder.io/version: v0.17.1
87
name: meshsyncs.meshery.layer5.io
98
spec:
109
group: meshery.layer5.io
@@ -21,14 +20,19 @@ spec:
2120
description: MeshSync is the Schema for the meshsyncs API
2221
properties:
2322
apiVersion:
24-
description: 'APIVersion defines the versioned schema of this representation
25-
of an object. Servers should convert recognized schemas to the latest
26-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
23+
description: |-
24+
APIVersion defines the versioned schema of this representation of an object.
25+
Servers should convert recognized schemas to the latest internal value, and
26+
may reject unrecognized values.
27+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2728
type: string
2829
kind:
29-
description: 'Kind is a string value representing the REST resource this
30-
object represents. Servers may infer this from the endpoint the client
31-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
30+
description: |-
31+
Kind is a string value representing the REST resource this object represents.
32+
Servers may infer this from the endpoint the client submits requests to.
33+
Cannot be updated.
34+
In CamelCase.
35+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3236
type: string
3337
metadata:
3438
type: object
@@ -59,45 +63,54 @@ spec:
5963
description: ConfigMap holds configuration data for pods to consume.
6064
properties:
6165
apiVersion:
62-
description: 'APIVersion defines the versioned schema of this
63-
representation of an object. Servers should convert recognized
64-
schemas to the latest internal value, and may reject unrecognized
65-
values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
66+
description: |-
67+
APIVersion defines the versioned schema of this representation of an object.
68+
Servers should convert recognized schemas to the latest internal value, and
69+
may reject unrecognized values.
70+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
6671
type: string
6772
binaryData:
6873
additionalProperties:
6974
format: byte
7075
type: string
71-
description: BinaryData contains the binary data. Each key must
72-
consist of alphanumeric characters, '-', '_' or '.'. BinaryData
73-
can contain byte sequences that are not in the UTF-8 range.
74-
The keys stored in BinaryData must not overlap with the ones
75-
in the Data field, this is enforced during validation process.
76-
Using this field will require 1.10+ apiserver and kubelet.
76+
description: |-
77+
BinaryData contains the binary data.
78+
Each key must consist of alphanumeric characters, '-', '_' or '.'.
79+
BinaryData can contain byte sequences that are not in the UTF-8 range.
80+
The keys stored in BinaryData must not overlap with the ones in
81+
the Data field, this is enforced during validation process.
82+
Using this field will require 1.10+ apiserver and
83+
kubelet.
7784
type: object
7885
data:
7986
additionalProperties:
8087
type: string
81-
description: Data contains the configuration data. Each key must
82-
consist of alphanumeric characters, '-', '_' or '.'. Values
83-
with non-UTF-8 byte sequences must use the BinaryData field.
84-
The keys stored in Data must not overlap with the keys in the
85-
BinaryData field, this is enforced during validation process.
88+
description: |-
89+
Data contains the configuration data.
90+
Each key must consist of alphanumeric characters, '-', '_' or '.'.
91+
Values with non-UTF-8 byte sequences must use the BinaryData field.
92+
The keys stored in Data must not overlap with the keys in
93+
the BinaryData field, this is enforced during validation process.
8694
type: object
8795
immutable:
88-
description: Immutable, if set to true, ensures that data stored
89-
in the ConfigMap cannot be updated (only object metadata can
90-
be modified). If not set to true, the field can be modified
91-
at any time. Defaulted to nil.
96+
description: |-
97+
Immutable, if set to true, ensures that data stored in the ConfigMap cannot
98+
be updated (only object metadata can be modified).
99+
If not set to true, the field can be modified at any time.
100+
Defaulted to nil.
92101
type: boolean
93102
kind:
94-
description: 'Kind is a string value representing the REST resource
95-
this object represents. Servers may infer this from the endpoint
96-
the client submits requests to. Cannot be updated. In CamelCase.
97-
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
103+
description: |-
104+
Kind is a string value representing the REST resource this object represents.
105+
Servers may infer this from the endpoint the client submits requests to.
106+
Cannot be updated.
107+
In CamelCase.
108+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
98109
type: string
99110
metadata:
100-
description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata'
111+
description: |-
112+
Standard object's metadata.
113+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
101114
type: object
102115
type: object
103116
type: object

config/rbac/role.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
apiVersion: rbac.authorization.k8s.io/v1
33
kind: ClusterRole
44
metadata:
5-
creationTimestamp: null
65
name: operator-role
76
rules:
87
- apiGroups:

controllers/suit_test.go

+11-4
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ import (
3535
"sigs.k8s.io/controller-runtime/pkg/envtest"
3636
logf "sigs.k8s.io/controller-runtime/pkg/log"
3737
"sigs.k8s.io/controller-runtime/pkg/log/zap"
38+
"sigs.k8s.io/controller-runtime/pkg/metrics/server"
39+
"sigs.k8s.io/controller-runtime/pkg/webhook"
3840

3941
mesheryv1alpha1 "github.com/layer5io/meshery-operator/api/v1alpha1"
4042
)
@@ -93,10 +95,15 @@ var _ = BeforeSuite(func(ctx SpecContext) {
9395
Expect(k8sClient).NotTo(BeNil())
9496

9597
mgr, err = ctrl.NewManager(cfg, ctrl.Options{
96-
Scheme: scheme,
97-
MetricsBindAddress: "0",
98-
LeaderElection: false,
99-
Port: 8443,
98+
Scheme: scheme,
99+
Metrics: server.Options{
100+
BindAddress: "0",
101+
},
102+
WebhookServer: webhook.NewServer(webhook.Options{
103+
Port: 8443,
104+
Host: "", // isten on all interfaces
105+
}),
106+
LeaderElection: false,
100107
})
101108
Expect(err).ToNot(HaveOccurred())
102109
Expect(mgr).ToNot(BeNil())

go.mod

+50-64
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,72 @@
11
module github.com/layer5io/meshery-operator
22

3-
go 1.23
4-
5-
replace (
6-
k8s.io/api => k8s.io/api v0.25.3
7-
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.25.3
8-
k8s.io/apimachinery => k8s.io/apimachinery v0.25.3
9-
k8s.io/cli-runtime => k8s.io/cli-runtime v0.25.3
10-
k8s.io/client-go => k8s.io/client-go v0.25.3
11-
k8s.io/kubectl => k8s.io/kubectl v0.25.3
12-
)
3+
go 1.23.4
134

145
require (
15-
github.com/go-logr/logr v1.3.0
16-
github.com/onsi/ginkgo/v2 v2.13.0
17-
github.com/onsi/gomega v1.27.10
18-
k8s.io/api v0.26.1
19-
k8s.io/apiextensions-apiserver v0.26.1
20-
k8s.io/apimachinery v0.26.1
21-
k8s.io/client-go v0.26.1
22-
sigs.k8s.io/controller-runtime v0.13.0
6+
github.com/go-logr/logr v1.4.2
7+
github.com/onsi/ginkgo/v2 v2.21.0
8+
github.com/onsi/gomega v1.35.1
9+
k8s.io/api v0.32.1
10+
k8s.io/apiextensions-apiserver v0.32.1
11+
k8s.io/apimachinery v0.32.1
12+
k8s.io/client-go v0.32.1
13+
sigs.k8s.io/controller-runtime v0.20.0
2314
)
2415

2516
require (
26-
cloud.google.com/go/compute v1.15.1 // indirect
27-
cloud.google.com/go/compute/metadata v0.2.3 // indirect
2817
github.com/beorn7/perks v1.0.1 // indirect
29-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
30-
github.com/davecgh/go-spew v1.1.1 // indirect
31-
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
18+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
19+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
20+
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
3221
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
33-
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
34-
github.com/fsnotify/fsnotify v1.6.0 // indirect
35-
github.com/go-logr/zapr v1.2.3 // indirect
36-
github.com/go-openapi/jsonpointer v0.19.6 // indirect
37-
github.com/go-openapi/jsonreference v0.20.1 // indirect
38-
github.com/go-openapi/swag v0.22.3 // indirect
39-
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
22+
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
23+
github.com/fsnotify/fsnotify v1.7.0 // indirect
24+
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
25+
github.com/go-logr/zapr v1.3.0 // indirect
26+
github.com/go-openapi/jsonpointer v0.21.0 // indirect
27+
github.com/go-openapi/jsonreference v0.20.2 // indirect
28+
github.com/go-openapi/swag v0.23.0 // indirect
29+
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
4030
github.com/gogo/protobuf v1.3.2 // indirect
41-
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
42-
github.com/golang/protobuf v1.5.3 // indirect
43-
github.com/google/gnostic v0.5.7-v3refs // indirect
44-
github.com/google/go-cmp v0.5.9 // indirect
31+
github.com/golang/protobuf v1.5.4 // indirect
32+
github.com/google/btree v1.1.3 // indirect
33+
github.com/google/gnostic-models v0.6.8 // indirect
34+
github.com/google/go-cmp v0.6.0 // indirect
4535
github.com/google/gofuzz v1.2.0 // indirect
46-
github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38 // indirect
47-
github.com/google/uuid v1.3.0 // indirect
48-
github.com/imdario/mergo v0.3.15 // indirect
36+
github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db // indirect
37+
github.com/google/uuid v1.6.0 // indirect
4938
github.com/josharian/intern v1.0.0 // indirect
5039
github.com/json-iterator/go v1.1.12 // indirect
5140
github.com/mailru/easyjson v0.7.7 // indirect
52-
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
5341
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
5442
github.com/modern-go/reflect2 v1.0.2 // indirect
5543
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
5644
github.com/pkg/errors v0.9.1 // indirect
57-
github.com/prometheus/client_golang v1.15.0 // indirect
58-
github.com/prometheus/client_model v0.3.0 // indirect
59-
github.com/prometheus/common v0.42.0 // indirect
60-
github.com/prometheus/procfs v0.9.0 // indirect
61-
github.com/rogpeppe/go-internal v1.11.0 // indirect
45+
github.com/prometheus/client_golang v1.19.1 // indirect
46+
github.com/prometheus/client_model v0.6.1 // indirect
47+
github.com/prometheus/common v0.55.0 // indirect
48+
github.com/prometheus/procfs v0.15.1 // indirect
6249
github.com/spf13/pflag v1.0.5 // indirect
63-
go.uber.org/atomic v1.10.0 // indirect
64-
go.uber.org/multierr v1.8.0 // indirect
65-
go.uber.org/zap v1.24.0 // indirect
66-
golang.org/x/net v0.17.0 // indirect
67-
golang.org/x/oauth2 v0.5.0 // indirect
68-
golang.org/x/sys v0.13.0 // indirect
69-
golang.org/x/term v0.13.0 // indirect
70-
golang.org/x/text v0.13.0 // indirect
71-
golang.org/x/time v0.3.0 // indirect
72-
golang.org/x/tools v0.12.0 // indirect
73-
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
74-
google.golang.org/appengine v1.6.7 // indirect
75-
google.golang.org/protobuf v1.30.0 // indirect
50+
github.com/x448/float16 v0.8.4 // indirect
51+
go.uber.org/multierr v1.11.0 // indirect
52+
go.uber.org/zap v1.27.0 // indirect
53+
golang.org/x/net v0.30.0 // indirect
54+
golang.org/x/oauth2 v0.23.0 // indirect
55+
golang.org/x/sync v0.8.0 // indirect
56+
golang.org/x/sys v0.26.0 // indirect
57+
golang.org/x/term v0.25.0 // indirect
58+
golang.org/x/text v0.19.0 // indirect
59+
golang.org/x/time v0.7.0 // indirect
60+
golang.org/x/tools v0.26.0 // indirect
61+
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
62+
google.golang.org/protobuf v1.35.1 // indirect
63+
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
7664
gopkg.in/inf.v0 v0.9.1 // indirect
77-
gopkg.in/yaml.v2 v2.4.0 // indirect
7865
gopkg.in/yaml.v3 v3.0.1 // indirect
79-
k8s.io/component-base v0.26.1 // indirect
80-
k8s.io/klog/v2 v2.90.0 // indirect
81-
k8s.io/kube-openapi v0.0.0-20230109183929-3758b55a6596 // indirect
82-
k8s.io/utils v0.0.0-20221128185143-99ec85e7a448 // indirect
83-
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
84-
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
85-
sigs.k8s.io/yaml v1.3.0 // indirect
66+
k8s.io/klog/v2 v2.130.1 // indirect
67+
k8s.io/kube-openapi v0.0.0-20241105132330-32ad38e42d3f // indirect
68+
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 // indirect
69+
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect
70+
sigs.k8s.io/structured-merge-diff/v4 v4.4.2 // indirect
71+
sigs.k8s.io/yaml v1.4.0 // indirect
8672
)

0 commit comments

Comments
 (0)