User Impact: User can be confused with zero Disk Size
Steps to reproduce
- Register Kubernetes cluster with installed PXC operator
- Create Percona XtraDB cluster with specified Disk size=25
- Wait until the new DB cluster will have "Active" status
Expected result: Disk Size: 25
The storage values do not pass correctly from UI to k8s:
So during the creation of PXC, it used default value 1G.
And as a result, there is an issue during conversion https://github.com/percona-platform/dbaas-controller/blob/cb78e257cfc95f56b2ef78ca9b298d32f0470001/service/cluster/xtra_db_cluster.go#L72
and we receive 0.