remove unused fields#126
Conversation
|
🤖: Deployment available as https://docstest.simplyblock.io/remove-un-used-fields |
1 similar comment
|
🤖: Deployment available as https://docstest.simplyblock.io/remove-un-used-fields |
| name: simplyblock-cluster | ||
| namespace: simplyblock | ||
| spec: | ||
| clusterName: production |
There was a problem hiding this comment.
Does that mean we changes from an array to a pure object?
There was a problem hiding this comment.
No, this is change is made only to the StorageCluster object. The clusterName field duplicates the metadata.name. So the field clusterName is redundant.
The change from Array to pure object is needed in the case of StorageNode.workerNodes where single StorageNode object is used to present multiple storage nodes.
|
And we'd also need to add the CP CRD to the operator reference, don't we? |
|
🤖: Deployment available as https://docstest.simplyblock.io/remove-un-used-fields |
|
The operator CRD needs to be updated for other CRDs too. We had a quite a few changes. I working on a way to autogenerate the operator.md file. |
StorageCluster.spec.clusterNamefield is removed as it duplicatesStorageCluster.metadata.namePool.spec.namefield is removed as it duplicatesPool.metadata.nameclusterImagefield is not required as it will be inherited fromControlPlaneCRD