Skip to content

Commit

Permalink
Merge pull request red-hat-storage#284 from rewantsoni/fix
Browse files Browse the repository at this point in the history
controllers: fix typo for volumereplicationclasses
  • Loading branch information
openshift-merge-bot[bot] authored Nov 27, 2024
2 parents 5ef26d8 + 894c557 commit c99a838
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
categories: Storage
console.openshift.io/plugins: '["odf-client-console"]'
containerImage: quay.io/ocs-dev/ocs-client-operator:latest
createdAt: "2024-11-25T13:55:27Z"
createdAt: "2024-11-27T03:54:42Z"
description: OpenShift Data Foundation client operator enables consumption of
storage services from a remote centralized OpenShift Data Foundation provider
cluster.
Expand Down Expand Up @@ -346,7 +346,7 @@ spec:
- apiGroups:
- replication.storage.openshift.io
resources:
- volumereplicationclass
- volumereplicationclasses
verbs:
- create
- delete
Expand Down
2 changes: 1 addition & 1 deletion config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ rules:
- apiGroups:
- replication.storage.openshift.io
resources:
- volumereplicationclass
- volumereplicationclasses
verbs:
- create
- delete
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/storageclaim_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func (r *StorageClaimReconciler) SetupWithManager(mgr ctrl.Manager) error {
//+kubebuilder:rbac:groups=core,resources=persistentvolumes,verbs=get;list;watch
//+kubebuilder:rbac:groups=snapshot.storage.k8s.io,resources=volumesnapshotcontents,verbs=get;list;watch
//+kubebuilder:rbac:groups=csi.ceph.io,resources=clientprofiles,verbs=get;list;update;create;watch;delete
//+kubebuilder:rbac:groups=replication.storage.openshift.io,resources=volumereplicationclass,verbs=get;list;watch;create;delete
//+kubebuilder:rbac:groups=replication.storage.openshift.io,resources=volumereplicationclasses,verbs=get;list;watch;create;delete

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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c99a838

Please sign in to comment.