From 6237b4c7d94bcc3f7f495806239b0730fa466fb0 Mon Sep 17 00:00:00 2001 From: Rakshith R Date: Thu, 4 Dec 2025 16:56:16 +0530 Subject: [PATCH] csi: enable fencing in OperatorConfig.DriverSpecDefault Ceph-CSI introduced a new flag 'enable-fencing' disabled-by-default. When enabled driver can set the client address per node in the volume metadata during NodeStageVolume operation, and fence the node in ControllerUnpublishVolume. Auto Unfence will occur in CSIAddonsNode GetFenceClient request. Signed-off-by: Rakshith R --- pkg/templates/csi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/templates/csi.go b/pkg/templates/csi.go index 1d30b67c..7847c8e3 100644 --- a/pkg/templates/csi.go +++ b/pkg/templates/csi.go @@ -89,7 +89,7 @@ var CSIOperatorConfigSpec = csiopv1.OperatorConfigSpec{ }, AttachRequired: ptr.To(true), DeployCsiAddons: ptr.To(true), - EnableFencing: ptr.To(false), + EnableFencing: ptr.To(true), FsGroupPolicy: storagev1.FileFSGroupPolicy, ControllerPlugin: &csiopv1.ControllerPluginSpec{ Privileged: ptr.To(true),