Change/removal of default px storageclasses

Is there a way to configure Portworx to disable the auto-creation of the default storageclasses, or change which ones are available? I’d like to remove some of the older ones that we don’t want users to use, and would like to rename a couple of the ones that we do. Each time I make a change through kubernetes, it gets replaced automatically again, so something in portworx is re-creating everything.


1 Like

there’s an annotation you can put on the StorageCluster object, which will prevent the operator from creating the default set of storageclasses:

annotations: "true" # This will disable the default portworx storagelcasses

Thanks. I got this working.