Closed divyenpatel closed 4 days ago
/test pull-vsphere-csi-driver-verify-golangci-lint
Change looks good to me /approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: divyenpatel, shalini-b
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/ok-to-test
/lgtm
/test pull-vsphere-csi-driver-unit-test
What this PR does / why we need it: This PR addresses the issue where the Workload_Domain_Isolation_Supported WCP capability is enabled after the CSI is upgraded, but the cached WCP capability configmap may not reflect this change.
With this update, when the driver checks the Workload_Domain_Isolation_Supported FeatureState, If the driver detects that the FSS is disabled in the cached configmap, it will re-fetch the configmap, update the cached version, and recheck the state to confirm whether the FSS is still disabled or has been enabled.
This deeper check ensures that the CSI controller properly detects and enables the capability if it was enabled after the initial CSI upgrade, preventing failures that occur when the capability is not activated due to stale cached configuration data.
Testing done:
Logs
Started controller when
Workload_Domain_Isolation_Supported
capability was false. Capability got enabled while controller is running. Created PVC after that and Controller fetched capability again from the configmap.Special notes for your reviewer:
Release note: