Skip to content

Commit 479730e

Browse files
committed
update go.mod
Signed-off-by: Ashima-Ashima1 <[email protected]>
1 parent 01111ee commit 479730e

File tree

4 files changed

+115
-145
lines changed

4 files changed

+115
-145
lines changed

config/rbac/role.yaml

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ rules:
2525
- ""
2626
resources:
2727
- nodes
28+
- secrets
2829
verbs:
2930
- get
3031
- list
@@ -80,14 +81,6 @@ rules:
8081
- pods/log
8182
verbs:
8283
- get
83-
- apiGroups:
84-
- ""
85-
resources:
86-
- secrets
87-
verbs:
88-
- get
89-
- list
90-
- watch
9184
- apiGroups:
9285
- ""
9386
resources:
@@ -152,31 +145,6 @@ rules:
152145
- objectdriver.csi.ibm.com
153146
resources:
154147
- ibmobjectcsis
155-
verbs:
156-
- create
157-
- delete
158-
- get
159-
- list
160-
- patch
161-
- update
162-
- watch
163-
- apiGroups:
164-
- objectdriver.csi.ibm.com
165-
resources:
166-
- ibmobjectcsis/finalizers
167-
verbs:
168-
- update
169-
- apiGroups:
170-
- objectdriver.csi.ibm.com
171-
resources:
172-
- ibmobjectcsis/status
173-
verbs:
174-
- get
175-
- patch
176-
- update
177-
- apiGroups:
178-
- objectdriver.csi.ibm.com
179-
resources:
180148
- recoverstalevolumes
181149
verbs:
182150
- create
@@ -189,12 +157,14 @@ rules:
189157
- apiGroups:
190158
- objectdriver.csi.ibm.com
191159
resources:
160+
- ibmobjectcsis/finalizers
192161
- recoverstalevolumes/finalizers
193162
verbs:
194163
- update
195164
- apiGroups:
196165
- objectdriver.csi.ibm.com
197166
resources:
167+
- ibmobjectcsis/status
198168
- recoverstalevolumes/status
199169
verbs:
200170
- get

controllers/fake/client_update/ibmobjectcsi/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ func (t versionedTracker) Add(obj runtime.Object) error {
303303
return nil
304304
}
305305

306-
func (t versionedTracker) Create(gvr schema.GroupVersionResource, obj runtime.Object, ns string) error {
306+
func (t versionedTracker) Create(gvr schema.GroupVersionResource, obj runtime.Object, ns string, opts ...metav1.CreateOptions) error {
307307
accessor, err := meta.Accessor(obj)
308308
if err != nil {
309309
return fmt.Errorf("failed to get accessor for object: %w", err)
@@ -361,7 +361,7 @@ func convertFromUnstructuredIfNecessary(s *runtime.Scheme, o runtime.Object) (ru
361361
return typed, nil
362362
}
363363

364-
func (t versionedTracker) Update(gvr schema.GroupVersionResource, obj runtime.Object, ns string) error {
364+
func (t versionedTracker) Update(gvr schema.GroupVersionResource, obj runtime.Object, ns string, opts ...metav1.UpdateOptions) error {
365365
isStatus := false
366366
// We apply patches using a client-go reaction that ends up calling the trackers Update. As we can't change
367367
// that reaction, we use the callstack to figure out if this originated from the status client.

go.mod

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,80 @@
11
module github.com/IBM/ibm-object-csi-driver-operator
22

3-
go 1.22.4
3+
go 1.23.1
44

55
require (
66
github.com/evanphx/json-patch/v5 v5.9.0
77
github.com/go-logr/logr v1.4.2
88
github.com/imdario/mergo v0.3.16
9-
github.com/onsi/ginkgo/v2 v2.19.1
10-
github.com/onsi/gomega v1.34.1
11-
github.com/openshift/client-go v0.0.0-20240528061634-b054aa794d87
12-
github.com/presslabs/controller-util v0.12.0
9+
github.com/onsi/ginkgo/v2 v2.20.2
10+
github.com/onsi/gomega v1.34.2
11+
github.com/openshift/client-go v0.0.0-20241001162912-da6d55e4611f
12+
github.com/presslabs/controller-util v0.13.0
1313
github.com/stretchr/testify v1.9.0
14-
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56
15-
k8s.io/api v0.30.3
16-
k8s.io/apimachinery v0.30.3
17-
k8s.io/client-go v0.30.3
18-
sigs.k8s.io/controller-runtime v0.18.4
14+
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c
15+
k8s.io/api v0.31.2
16+
k8s.io/apimachinery v0.31.2
17+
k8s.io/client-go v0.31.2
18+
sigs.k8s.io/controller-runtime v0.19.1
1919
)
2020

2121
require (
2222
github.com/beorn7/perks v1.0.1 // indirect
23-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
24-
github.com/davecgh/go-spew v1.1.1 // indirect
23+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
24+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
2525
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
26-
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
2726
github.com/fsnotify/fsnotify v1.7.0 // indirect
27+
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
2828
github.com/go-logr/zapr v1.3.0 // indirect
2929
github.com/go-openapi/jsonpointer v0.19.6 // indirect
3030
github.com/go-openapi/jsonreference v0.20.2 // indirect
31-
github.com/go-openapi/swag v0.22.3 // indirect
31+
github.com/go-openapi/swag v0.22.4 // indirect
3232
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
33-
github.com/go-test/deep v1.1.0 // indirect
33+
github.com/go-test/deep v1.1.1 // indirect
3434
github.com/gogo/protobuf v1.3.2 // indirect
3535
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
3636
github.com/golang/protobuf v1.5.4 // indirect
3737
github.com/google/gnostic-models v0.6.8 // indirect
3838
github.com/google/go-cmp v0.6.0 // indirect
3939
github.com/google/gofuzz v1.2.0 // indirect
40-
github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6 // indirect
41-
github.com/google/uuid v1.3.0 // indirect
40+
github.com/google/pprof v0.0.0-20240827171923-fa2c70bbbfe5 // indirect
41+
github.com/google/uuid v1.6.0 // indirect
4242
github.com/iancoleman/strcase v0.3.0 // indirect
4343
github.com/josharian/intern v1.0.0 // indirect
4444
github.com/json-iterator/go v1.1.12 // indirect
4545
github.com/mailru/easyjson v0.7.7 // indirect
46-
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
4746
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
4847
github.com/modern-go/reflect2 v1.0.2 // indirect
4948
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
50-
github.com/openshift/api v0.0.0-20240527133614-ba11c1587003 // indirect
49+
github.com/openshift/api v0.0.0-20241001152557-e415140e5d5f // indirect
5150
github.com/pkg/errors v0.9.1 // indirect
52-
github.com/pmezard/go-difflib v1.0.0 // indirect
53-
github.com/prometheus/client_golang v1.16.0 // indirect
54-
github.com/prometheus/client_model v0.4.0 // indirect
55-
github.com/prometheus/common v0.44.0 // indirect
56-
github.com/prometheus/procfs v0.12.0 // indirect
51+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
52+
github.com/prometheus/client_golang v1.19.1 // indirect
53+
github.com/prometheus/client_model v0.6.1 // indirect
54+
github.com/prometheus/common v0.55.0 // indirect
55+
github.com/prometheus/procfs v0.15.1 // indirect
5756
github.com/spf13/pflag v1.0.5 // indirect
57+
github.com/x448/float16 v0.8.4 // indirect
5858
go.uber.org/multierr v1.11.0 // indirect
5959
go.uber.org/zap v1.27.0 // indirect
60-
golang.org/x/net v0.29.0 // indirect
61-
golang.org/x/oauth2 v0.12.0 // indirect
62-
golang.org/x/sys v0.25.0 // indirect
63-
golang.org/x/term v0.24.0 // indirect
64-
golang.org/x/text v0.18.0 // indirect
60+
golang.org/x/net v0.30.0 // indirect
61+
golang.org/x/oauth2 v0.21.0 // indirect
62+
golang.org/x/sys v0.26.0 // indirect
63+
golang.org/x/term v0.25.0 // indirect
64+
golang.org/x/text v0.19.0 // indirect
6565
golang.org/x/time v0.3.0 // indirect
66-
golang.org/x/tools v0.23.0 // indirect
66+
golang.org/x/tools v0.26.0 // indirect
6767
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
68-
google.golang.org/appengine v1.6.7 // indirect
69-
google.golang.org/protobuf v1.34.1 // indirect
68+
google.golang.org/protobuf v1.34.2 // indirect
69+
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
7070
gopkg.in/inf.v0 v0.9.1 // indirect
7171
gopkg.in/yaml.v2 v2.4.0 // indirect
7272
gopkg.in/yaml.v3 v3.0.1 // indirect
73-
k8s.io/apiextensions-apiserver v0.30.1 // indirect
74-
k8s.io/klog/v2 v2.120.1 // indirect
73+
k8s.io/apiextensions-apiserver v0.31.0 // indirect
74+
k8s.io/klog/v2 v2.130.1 // indirect
7575
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
76-
k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect
76+
k8s.io/utils v0.0.0-20240921022957-49e7df575cb6 // indirect
7777
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
7878
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
79-
sigs.k8s.io/yaml v1.3.0 // indirect
79+
sigs.k8s.io/yaml v1.4.0 // indirect
8080
)

0 commit comments

Comments
 (0)