Closed stefanbudim closed 2 years ago
How do you envision should this be done in a backwards compatible way. If we change the default storage class to partition-gold
for example, this would break existing clusters which didnt specifiy the storageclass in their PVCs
some possible ideas:
resources.gardener.cloud/ignore: "true"
on the csi-lvm storageclass, allowing it to be altered via kubectlAnother option like with aws-provider:
The
storage.managedDefaultClass
controls if thedefault
storage / volume snapshot classes are marked as default by Gardener. Set it tofalse
to mark another storage / volume snapshot class as default without Gardener overwriting this change. If unset, this field defaults totrue
.
But then they can only mark our csi-lvm storage class as default or none of the managed storage classes at all, right?
With AWS I guess it's not a problem because you can deploy your own storage classes. But our users cannot deploy own Lightbits storage classes. If they want, say, partition-silver
as a default storage class, then the duros-controller somehow needs to know.
So, I am not sure how great the benefit for our users really is if we implement such a flag. In addition, we do not want to encourage self-deployed storage classes so much as they are difficult to account with our accounting model. Maybe if we'd offer self-managed storage classes for Lightbits, but I am not sure if it's worth the effort and how the interface for a user would be like.