seaweedfs / seaweedfs-csi-driver

SeaweedFS CSI Driver https://github.com/seaweedfs/seaweedfs
Apache License 2.0
210 stars 50 forks source link

Use capacity of one byte as 'no quota' #159

Closed kvaster closed 5 months ago

kvaster commented 5 months ago

Before transition to dynamic quota changes we had a choice to define no quota at all by creating static PV. Current implementation does not allow to set zero as capacity and as a result there is no way to setup no quota.

This PR brings some code comments and allows to use one-byte capacity as 'no quota'.

chrislusf commented 5 months ago

Need to document this somewhere.