aws / aws/eks-anywhere

`storagePolicyName` under `VSphereMachineConfig.Spec` isn't honored in the deployment

Open
#1,353 2 comments 5 reactions 0 assignees View on GitHub
area/providers/vsphere kind/bug team/providers
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.