ceph: set CSI_ENABLE_HOST_NETWORK default value to true

This commit changes CSI_ENABLE_HOST_NETWORK default value to true
since it was observed that cephfsvolume gets blocked when csi cephfs
nodeplugin is restarted and nodeunpublish call also hangs when
cephfs nodeplugin is using pod networking.

Updates: #8085

Signed-off-by: Rakshith R <rar@redhat.com>
This commit is contained in:
Rakshith R committed 2021-06-10 15:33:49 +05:30
1 parent 250aecde70
commit f489aba8f2
1 file changed
+1 -1
+1 -1
View File
@@ -92,7 +92,7 @@ func SetParams(clientset kubernetes.Interface) error {
return errors.Wrap(err, "unable to parse value for 'ROOK_CSI_ENABLE_GRPC_METRICS'")
}
csiEnableCSIHostNetwork, err := k8sutil.GetOperatorSetting(clientset, controllerutil.OperatorSettingConfigMapName, "CSI_ENABLE_HOST_NETWORK", "false")
csiEnableCSIHostNetwork, err := k8sutil.GetOperatorSetting(clientset, controllerutil.OperatorSettingConfigMapName, "CSI_ENABLE_HOST_NETWORK", "true")
if err != nil {
return errors.Wrap(err, "failed to determine if CSI Host Network is enabled")
}