Uploaded image for project: 'OpenShift Edge Enablement'
  1. OpenShift Edge Enablement
  2. OCPEDGE-2326

Add StorageClassOptions API to LVMCluster DeviceClass

XMLWordPrintable

    • 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)

              nhamza12 Neil Hamza
              nhamza12 Neil Hamza
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: