From 6b0c4129964424ce0af49b794411045d3284c663 Mon Sep 17 00:00:00 2001 From: Riya Singhal Date: Mon, 11 Sep 2023 14:57:16 +0530 Subject: [PATCH] cephfs: add network fence service to identity.go Signed-off-by: Riya Singhal --- internal/csi-addons/cephfs/identity.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/internal/csi-addons/cephfs/identity.go b/internal/csi-addons/cephfs/identity.go index c869a94f8..fb02f1f37 100644 --- a/internal/csi-addons/cephfs/identity.go +++ b/internal/csi-addons/cephfs/identity.go @@ -77,6 +77,12 @@ func (is *IdentityServer) GetCapabilities( Type: identity.Capability_Service_CONTROLLER_SERVICE, }, }, + }, &identity.Capability{ + Type: &identity.Capability_NetworkFence_{ + NetworkFence: &identity.Capability_NetworkFence{ + Type: identity.Capability_NetworkFence_NETWORK_FENCE, + }, + }, }) }