red-hat-storage / ocs-operator

Operator for RHOCS
Apache License 2.0
85 stars 184 forks source link

ClientProfile name should be read from the storageConsumer #2899

Open rewantsoni opened 4 days ago

rewantsoni commented 4 days ago

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