Skip to content

[Feature] Allow configuring the resulting StorageClass name in Container Storage StoragePool #4721

Open
@felfa01

Description

Is your feature request related to a problem? Please describe.
I'd like to be able to configure the name that the resulting StorageClass will have when deploying a StoragePool. One of my use cases would be to migrate from CSI Drivers to Azure Container Storage without requiring my tenants to update their PVC manifests with a new StorageClassName.

This was previously available in the now deprecated apiVersion v1alpha1 under .spec.poolType.azureDisk.storageClassName.

Describe the solution you'd like

apiVersion: containerstorage.azure.com/v1alpha1
kind: StoragePool
metadata:
  name: my-storage-pool-name
  namespace: acstor
spec:
  storageClassName: my-storage-class-name # A new field for setting the resulting StorageClass name
  poolType:
    azureDisk:
      skuName: Premium_LRS
  resources:
    requests:
      storage: 1Ti

Describe alternatives you've considered
Use the deprecated apiVersion v1alpha1?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions