kubernetes-csi / external-resizer

Sidecar container that watches Kubernetes PersistentVolumeClaims objects and triggers controller side expansion operation against a CSI endpoint
Apache License 2.0
125 stars 124 forks source link

Storage size conversion has bug #224

Closed lijhnihaoa closed 1 year ago

lijhnihaoa commented 1 year ago

I found that Mi configured in yaml was not converted to bytes when the external-resizer finally called expand. Instead, Mi did not change, and Gi was converted to Mi.

resources: requests: storage: 2Gi ----> params: {9c4de81c-629c-460f-8981-9c4186fbf293 2048}

lijhnihaoa commented 1 year ago

sorry My fault