Skip to content

Commit

Permalink
Skip SV FSS check for Windows Support in guest clusters (#3142)
Browse files Browse the repository at this point in the history
  • Loading branch information
chethanv28 authored Dec 19, 2024
1 parent cc603b9 commit 75c1ffc
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1209,6 +1209,11 @@ func (c *K8sOrchestrator) IsFSSEnabled(ctx context.Context, featureName string)
} else if c.clusterFlavor == cnstypes.CnsClusterFlavorGuest {
isPVCSIFSSEnabled := c.IsPVCSIFSSEnabled(ctx, featureName)
if isPVCSIFSSEnabled {
// Skip SV FSS check for Windows Support since there is no dependency on supervisor
if featureName == common.CSIWindowsSupport {
log.Info("CSI Windows Suppport is set to true in pvcsi fss configmap. Skipping SV FSS check")
return true
}
return c.IsCNSCSIFSSEnabled(ctx, featureName)
}
return false
Expand Down

0 comments on commit 75c1ffc

Please # to comment.