-
Story
-
Resolution: Unresolved
-
Major
-
None
-
None
-
Product / Portfolio Work
-
False
-
None
-
False
-
1
-
None
-
None
-
OCPEDGE Sprint 283
-
1
Add a new StorageClassOptions struct to the LVMCluster API that allows users to configure StorageClass options at the DeviceClass level.
Add a new StorageClassOptions struct to the LVMCluster API that allows users to configure StorageClass options at the DeviceClass level.
Acceptance Criteria:
- StorageClassOptions struct added to api/v1alpha1/lvmcluster_types.go with fields:
- reclaimPolicy (optional, enum: Delete/Retain, default: Delete)
- volumeBindingMode (optional, enum: Immediate/WaitForFirstConsumer, default: WaitForFirstConsumer)
- additionalParameters (optional map[string]string)
- additionalLabels (optional map[string]string)
- StorageClassOptions field added to DeviceClass struct (optional pointer)
- All fields properly documented with comments
- Appropriate kubebuilder validation markers added
- make generate runs successfully and generates DeepCopy methods
- make manifests runs successfully and updates CRD YAML
- Backward compatibility maintained (all fields optional)