@@ -149,6 +149,8 @@ func StartWebhookServer(ctx context.Context, enableWebhookClientCertVerification
149
149
featureGateBlockVolumeSnapshotEnabled = containerOrchestratorUtility .IsFSSEnabled (ctx , common .BlockVolumeSnapshot )
150
150
featureGateByokEnabled = containerOrchestratorUtility .IsFSSEnabled (ctx , common .WCP_VMService_BYOK )
151
151
featureIsSharedDiskEnabled = containerOrchestratorUtility .IsFSSEnabled (ctx , common .SharedDiskFss )
152
+ featureFileVolumesWithVmServiceEnabled = containerOrchestratorUtility .IsFSSEnabled (ctx ,
153
+ common .FileVolumesWithVmService )
152
154
153
155
if err := startCNSCSIWebhookManager (ctx , enableWebhookClientCertVerification ); err != nil {
154
156
return fmt .Errorf ("unable to run the webhook manager: %w" , err )
@@ -169,8 +171,6 @@ func StartWebhookServer(ctx context.Context, enableWebhookClientCertVerification
169
171
featureGateBlockVolumeSnapshotEnabled = containerOrchestratorUtility .IsFSSEnabled (ctx , common .BlockVolumeSnapshot )
170
172
featureGateTopologyAwareFileVolumeEnabled = containerOrchestratorUtility .IsFSSEnabled (ctx ,
171
173
common .TopologyAwareFileVolume )
172
- featureFileVolumesWithVmServiceEnabled = containerOrchestratorUtility .IsFSSEnabled (ctx ,
173
- common .FileVolumesWithVmService )
174
174
175
175
if featureGateCsiMigrationEnabled || featureGateBlockVolumeSnapshotEnabled {
176
176
certs , err := tls .LoadX509KeyPair (cfg .WebHookConfig .CertFile , cfg .WebHookConfig .KeyFile )
0 commit comments