Skip to content

StorageClass Access Mode: allow the in-file mapping to be overridden by a configmap #1366

@KarthikDev

Description

@KarthikDev

I am migrating project A from openshift 3 to openshift 4. it has a pvc with accessmode RWX, i am selecting destination storage class provisioner as csi.trident.netapp.io as this is not in your accessModeList variable, the storageclass whatever i have selected for the above PVC is getting replaced with default storage class mentioned in openshift 4 cluster and accessmode is also getting overwritten to RWO instead of RWX.

I can see there has been a comment in code where it has been discussed that hardcoded accessmodes and provisioner list can be modified by providing it as a configmap. I dont think this has been implemented at all.

comment i can see in the below file: // TODO: allow the in-file mapping to be overridden by a configmap

mig-controller/pkg/apis/migration/v1alpha1/migcluster_types.go

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions