We are assuming that the clientProfile name is based on storageClaim hash. We should read it from the storageConsumer so that in the future when it changes with the depreciation of StorageClaim API, we can set it to what we have on the storageConsumer.
For remote ClientProfile, we should use what we get from the GetClientsInfo rpc
Ref: https://github.com/red-hat-storage/ocs-operator/pull/2879
We are assuming that the clientProfile name is based on storageClaim hash. We should read it from the storageConsumer so that in the future when it changes with the depreciation of StorageClaim API, we can set it to what we have on the storageConsumer.
For remote ClientProfile, we should use what we get from the GetClientsInfo rpc