Skip to content

Commit c99a838

Browse files
Merge pull request #284 from rewantsoni/fix
controllers: fix typo for volumereplicationclasses
2 parents 5ef26d8 + 894c557 commit c99a838

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

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

+2-2
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: "2024-11-25T13:55:27Z"
10+
createdAt: "2024-11-27T03:54:42Z"
1111
description: OpenShift Data Foundation client operator enables consumption of
1212
storage services from a remote centralized OpenShift Data Foundation provider
1313
cluster.
@@ -346,7 +346,7 @@ spec:
346346
- apiGroups:
347347
- replication.storage.openshift.io
348348
resources:
349-
- volumereplicationclass
349+
- volumereplicationclasses
350350
verbs:
351351
- create
352352
- delete

config/rbac/role.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ rules:
303303
- apiGroups:
304304
- replication.storage.openshift.io
305305
resources:
306-
- volumereplicationclass
306+
- volumereplicationclasses
307307
verbs:
308308
- create
309309
- delete

internal/controller/storageclaim_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func (r *StorageClaimReconciler) SetupWithManager(mgr ctrl.Manager) error {
124124
//+kubebuilder:rbac:groups=core,resources=persistentvolumes,verbs=get;list;watch
125125
//+kubebuilder:rbac:groups=snapshot.storage.k8s.io,resources=volumesnapshotcontents,verbs=get;list;watch
126126
//+kubebuilder:rbac:groups=csi.ceph.io,resources=clientprofiles,verbs=get;list;update;create;watch;delete
127-
//+kubebuilder:rbac:groups=replication.storage.openshift.io,resources=volumereplicationclass,verbs=get;list;watch;create;delete
127+
//+kubebuilder:rbac:groups=replication.storage.openshift.io,resources=volumereplicationclasses,verbs=get;list;watch;create;delete
128128

129129
// Reconcile is part of the main kubernetes reconciliation loop which aims to
130130
// move the current state of the cluster closer to the desired state.

vendor/github.com/red-hat-storage/ocs-client-operator/api/v1alpha1/storageclient_types.go

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

0 commit comments

Comments
 (0)