Skip to content

Commit e17eb79

Browse files
Merge pull request #480 from red-hat-storage/sync_ds--main
Syncing latest changes from main for ocs-client-operator
2 parents 0028f1d + e9b461e commit e17eb79

File tree

989 files changed

+54738
-69662
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

989 files changed

+54738
-69662
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN make go-build
2626
# Refer to https://github.com/GoogleContainerTools/distroless for more details
2727
FROM registry.access.redhat.com/ubi9/ubi-minimal
2828
WORKDIR /
29-
COPY --from=builder /workspace/bin/manager .
29+
COPY --from=builder /workspace/bin/ocs-client-operator .
3030
COPY --from=builder /workspace/bin/status-reporter .
3131
COPY --from=builder /workspace/hack/entrypoint.sh entrypoint
3232
USER 65532:65532

bundle/manifests/ocs-client-operator.clusterserviceversion.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
categories: Storage
88
console.openshift.io/plugins: '["odf-client-console"]'
99
containerImage: quay.io/ocs-dev/ocs-client-operator:latest
10-
createdAt: "2025-09-15T05:45:11Z"
10+
createdAt: "2025-10-07T06:45:45Z"
1111
description: OpenShift Data Foundation client operator enables consumption of
1212
storage services from a remote centralized OpenShift Data Foundation provider
1313
cluster.
@@ -220,6 +220,17 @@ spec:
220220
- list
221221
- update
222222
- watch
223+
- apiGroups:
224+
- csiaddons.openshift.io
225+
resources:
226+
- networkfenceclasses
227+
verbs:
228+
- create
229+
- delete
230+
- get
231+
- list
232+
- update
233+
- watch
223234
- apiGroups:
224235
- groupsnapshot.storage.k8s.io
225236
resources:

cmd/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ import (
3434
// Import all Kubernetes client auth plugins (e.g. Azure, GCP, OIDC, etc.)
3535
// to ensure that exec-entrypoint and run can make use of them.
3636
csiopv1 "github.com/ceph/ceph-csi-operator/api/v1"
37+
csiaddonsv1alpha1 "github.com/csi-addons/kubernetes-csi-addons/api/csiaddons/v1alpha1"
3738
replicationv1alpha1 "github.com/csi-addons/kubernetes-csi-addons/api/replication.storage/v1alpha1"
3839
groupsnapapi "github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1"
3940
snapapi "github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1"
@@ -91,6 +92,7 @@ func init() {
9192
utilruntime.Must(replicationv1alpha1.AddToScheme(scheme))
9293
utilruntime.Must(groupsnapapi.AddToScheme(scheme))
9394
utilruntime.Must(odfgsapiv1b1.AddToScheme(scheme))
95+
utilruntime.Must(csiaddonsv1alpha1.AddToScheme(scheme))
9496
//+kubebuilder:scaffold:scheme
9597
}
9698

config/rbac/role.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,17 @@ rules:
181181
- list
182182
- update
183183
- watch
184+
- apiGroups:
185+
- csiaddons.openshift.io
186+
resources:
187+
- networkfenceclasses
188+
verbs:
189+
- create
190+
- delete
191+
- get
192+
- list
193+
- update
194+
- watch
184195
- apiGroups:
185196
- groupsnapshot.storage.k8s.io
186197
resources:

go.mod

Lines changed: 26 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ exclude (
2222

2323
require (
2424
github.com/ceph/ceph-csi-operator/api v0.0.0-20250729105405-840b82eb2a8d
25-
github.com/csi-addons/kubernetes-csi-addons v0.10.0
25+
github.com/csi-addons/kubernetes-csi-addons v0.13.0
2626
github.com/go-logr/logr v1.4.3
2727
github.com/kubernetes-csi/external-snapshotter/client/v8 v8.2.0
2828
github.com/onsi/ginkgo v1.16.5
29-
github.com/onsi/gomega v1.35.1
29+
github.com/onsi/gomega v1.38.0
3030
github.com/openshift/api v0.0.0-20240828125535-01b3675ba7b3
3131
github.com/operator-framework/api v0.27.0
3232
github.com/pkg/errors v0.9.1 // indirect
@@ -37,47 +37,46 @@ require (
3737
github.com/red-hat-storage/ocs-operator/services/provider/api/v4 v4.0.0-20250902083935-29606f2cd7f6
3838
github.com/stretchr/testify v1.10.0
3939
google.golang.org/grpc v1.74.2
40-
gopkg.in/yaml.v2 v2.4.0 // indirect
4140
k8s.io/api v0.33.3
42-
k8s.io/apiextensions-apiserver v0.31.0
41+
k8s.io/apiextensions-apiserver v0.33.1
4342
k8s.io/apimachinery v0.33.3
44-
k8s.io/client-go v0.32.3
43+
k8s.io/client-go v0.33.3
4544
k8s.io/klog/v2 v2.130.1
46-
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738
47-
sigs.k8s.io/controller-runtime v0.19.0
45+
k8s.io/utils v0.0.0-20241210054802-24370beab758
46+
sigs.k8s.io/controller-runtime v0.21.0
4847
)
4948

5049
require (
50+
cel.dev/expr v0.24.0 // indirect
5151
github.com/antlr4-go/antlr/v4 v4.13.0 // indirect
52-
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
5352
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
5453
github.com/felixge/httpsnoop v1.0.4 // indirect
5554
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
5655
github.com/go-logr/stdr v1.2.2 // indirect
57-
github.com/google/cel-go v0.20.1 // indirect
58-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
56+
github.com/google/btree v1.1.3 // indirect
57+
github.com/google/cel-go v0.23.2 // indirect
58+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0 // indirect
5959
github.com/inconshreveable/mousetrap v1.1.0 // indirect
60-
github.com/klauspost/compress v1.17.9 // indirect
6160
github.com/kube-object-storage/lib-bucket-provisioner v0.0.0-20221122204822-d1a8c34382f1 // indirect
6261
github.com/openshift/custom-resource-status v1.1.3-0.20220503160415-f2fdb4999d87 // indirect
6362
github.com/spf13/cobra v1.8.1 // indirect
6463
github.com/stoewer/go-strcase v1.3.0 // indirect
6564
github.com/x448/float16 v0.8.4 // indirect
6665
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
67-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 // indirect
66+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0 // indirect
6867
go.opentelemetry.io/otel v1.36.0 // indirect
69-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.28.0 // indirect
70-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 // indirect
68+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.33.0 // indirect
69+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.33.0 // indirect
7170
go.opentelemetry.io/otel/metric v1.36.0 // indirect
7271
go.opentelemetry.io/otel/sdk v1.36.0 // indirect
7372
go.opentelemetry.io/otel/trace v1.36.0 // indirect
74-
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
75-
golang.org/x/sync v0.14.0 // indirect
73+
go.opentelemetry.io/proto/otlp v1.4.0 // indirect
74+
golang.org/x/sync v0.15.0 // indirect
7675
google.golang.org/genproto/googleapis/api v0.0.0-20250528174236-200df99c418a // indirect
7776
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
78-
k8s.io/apiserver v0.31.0 // indirect
79-
k8s.io/component-base v0.31.0 // indirect
80-
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.30.3 // indirect
77+
k8s.io/apiserver v0.33.1 // indirect
78+
k8s.io/component-base v0.33.1 // indirect
79+
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.2 // indirect
8180
sigs.k8s.io/container-object-storage-interface-api v0.1.0 // indirect
8281
sigs.k8s.io/randfill v1.0.0 // indirect
8382
)
@@ -89,49 +88,48 @@ require (
8988
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
9089
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
9190
github.com/evanphx/json-patch v5.9.0+incompatible // indirect
92-
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
91+
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
9392
github.com/fsnotify/fsnotify v1.7.0 // indirect
9493
github.com/go-logr/zapr v1.3.0 // indirect
9594
github.com/go-openapi/jsonpointer v0.21.0 // indirect
9695
github.com/go-openapi/jsonreference v0.21.0 // indirect
9796
github.com/go-openapi/swag v0.23.0 // indirect
9897
github.com/gogo/protobuf v1.3.2 // indirect
99-
github.com/golang/protobuf v1.5.4 // indirect
10098
github.com/google/gnostic-models v0.6.9 // indirect
10199
github.com/google/go-cmp v0.7.0 // indirect
102100
github.com/google/uuid v1.6.0 // indirect
103101
github.com/josharian/intern v1.0.0 // indirect
104102
github.com/json-iterator/go v1.1.12 // indirect
105-
github.com/mailru/easyjson v0.7.7 // indirect
103+
github.com/mailru/easyjson v0.9.0 // indirect
106104
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
107105
github.com/modern-go/reflect2 v1.0.2 // indirect
108106
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
109107
github.com/noobaa/noobaa-operator/v5 v5.15.4
110108
github.com/nxadm/tail v1.4.8 // indirect
111109
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
112-
github.com/prometheus/client_golang v1.20.2 // indirect
110+
github.com/prometheus/client_golang v1.22.0 // indirect
113111
github.com/prometheus/client_model v0.6.1 // indirect
114-
github.com/prometheus/common v0.57.0 // indirect
112+
github.com/prometheus/common v0.62.0 // indirect
115113
github.com/prometheus/procfs v0.15.1 // indirect
116114
github.com/sirupsen/logrus v1.9.3 // indirect
117115
github.com/spf13/pflag v1.0.5 // indirect
118116
go.uber.org/multierr v1.11.0
119117
go.uber.org/zap v1.27.0 // indirect
120118
golang.org/x/exp v0.0.0-20240823005443-9b4947da3948 // indirect
121-
golang.org/x/net v0.40.0 // indirect
119+
golang.org/x/net v0.41.0 // indirect
122120
golang.org/x/oauth2 v0.30.0 // indirect
123121
golang.org/x/sys v0.33.0 // indirect
124122
golang.org/x/term v0.32.0 // indirect
125-
golang.org/x/text v0.25.0 // indirect
123+
golang.org/x/text v0.26.0 // indirect
126124
golang.org/x/time v0.9.0 // indirect
127125
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
128126
google.golang.org/genproto/googleapis/rpc v0.0.0-20250528174236-200df99c418a // indirect
129-
google.golang.org/protobuf v1.36.6 // indirect
127+
google.golang.org/protobuf v1.36.7 // indirect
130128
gopkg.in/inf.v0 v0.9.1 // indirect
131129
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
132130
gopkg.in/yaml.v3 v3.0.1 // indirect
133131
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff // indirect
134-
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect
132+
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
135133
sigs.k8s.io/structured-merge-diff/v4 v4.6.0 // indirect
136134
sigs.k8s.io/yaml v1.4.0 // indirect
137135
)

0 commit comments

Comments
 (0)