aws / aws/eks-anywhere

I want to change the storagePolicyName used in the default StorageClass deployed in VMware

Open
#4,502 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.1k
Forks
328
Avg merge
1d 4h
Merged PRs (30d)
9

Description

**What would you like to be added**:
I want to change the storagePolicyName used in the [default StorageClass](https://github.com/aws/eks-anywhere/blob/main/pkg/providers/vsphere/config/defaultStorageClass.yaml) deployed in VMware.

**Why is this needed**:
The default storage class deployed to VMware clusters is hardcoded to use the default storage policy in VMware. Many administrators disable that policy and deploy custom policies in their VMware environments.

Note that there is an issue mentioning this #1353 currently. However, that issue refers to the VSphereMachineConfig, which has nothing to do with Kubernetes Storage Policies.

Contributor guide

Open the contributing guide

Research direction

Start with pkg/providers/vsphere/config/defaultStorageClass.yaml and compare its hardcoded storagePolicyName with the VMware deployment path. Determine how a custom policy could be supplied without confusing this StorageClass with the VSphereMachineConfig discussed in issue #1353; done means the default VMware StorageClass can use an administrator-selected policy.

Written by the indexing model from the issue text.

Assessment

Tech stack
yaml
Domain
infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.