`storagePolicyName` under `VSphereMachineConfig.Spec` isn't honored in the deployment
- Dominant language
- Go
- Stars
- 2.1k
- Forks
- 328
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 9
Description
1. Create a VSphere config
2. set the `storagePolicyName` in the `VSphereMachineConfig` objects
3. Deploy the cluster
4. `kubectl get storageclass standard -o yaml`
Expected: The policy name in the storage class should match the provided one
Actual: The policy name is set to `vSAN Default Storage Policy`
Contributor guide
Research direction
Reproduce the deployment using a VSphereMachineConfig with storagePolicyName set, then inspect the generated storage class with kubectl get storageclass standard -o yaml. Search the codebase for storagePolicyName and the VSphereMachineConfig handling, and compare the configured value with the observed default policy. Done means the storage class policy matches the provided name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100