rbd: controller to regenerate volume group omap data

This commit adds new controller that watches for the
VolumeGroupReplicationContent and regenerates the OMAP data if
it doesn't exists.

Signed-off-by: Praveen M <m.praveen@ibm.com>
This commit is contained in:
Praveen M
2024-08-05 17:34:31 +05:30
committed by mergify[bot]
parent f83a9f7eb8
commit a3457da727
16 changed files with 1645 additions and 2 deletions

4
vendor/modules.txt vendored
View File

@ -265,6 +265,9 @@ github.com/coreos/go-semver/semver
github.com/coreos/go-systemd/v22/daemon
github.com/coreos/go-systemd/v22/dbus
github.com/coreos/go-systemd/v22/journal
# github.com/csi-addons/kubernetes-csi-addons v0.9.0
## explicit; go 1.22.0
github.com/csi-addons/kubernetes-csi-addons/api/replication.storage/v1alpha1
# github.com/csi-addons/spec v0.2.1-0.20241104111131-27825f744db5
## explicit
github.com/csi-addons/spec/lib/go/encryptionkeyrotation
@ -2067,6 +2070,7 @@ sigs.k8s.io/controller-runtime/pkg/metrics/server
sigs.k8s.io/controller-runtime/pkg/predicate
sigs.k8s.io/controller-runtime/pkg/reconcile
sigs.k8s.io/controller-runtime/pkg/recorder
sigs.k8s.io/controller-runtime/pkg/scheme
sigs.k8s.io/controller-runtime/pkg/source
sigs.k8s.io/controller-runtime/pkg/webhook
sigs.k8s.io/controller-runtime/pkg/webhook/admission