From c525e9e194ead09a2c5ab4055fef0bf35da9d20f 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 c869a94f85b5..fb02f1f37283 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, + }, + }, }) }