rbd: add replication capability & service to csiaddons server

csi-addons server will advertise replication capability and
replication service will run with csi-addons server too.

Signed-off-by: Rakshith R <rar@redhat.com>
This commit is contained in:
Rakshith R
2022-08-15 10:53:50 +05:30
committed by mergify[bot]
parent cb9ec35e3a
commit 19e4146fab
3 changed files with 16 additions and 0 deletions

View File

@ -90,6 +90,12 @@ func (is *IdentityServer) GetCapabilities(
Type: identity.Capability_NetworkFence_NETWORK_FENCE,
},
},
}, &identity.Capability{
Type: &identity.Capability_VolumeReplication_{
VolumeReplication: &identity.Capability_VolumeReplication{
Type: identity.Capability_VolumeReplication_VOLUME_REPLICATION,
},
},
})
}