Skip to content

Commit

Permalink
feat: subprovisioner small PR nits
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobmoellerdev committed Jul 11, 2024
1 parent 1d94fa4 commit dd03892
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,19 @@ API scheme for `LVMCluster` CR:

```go

// The DeviceAccessPolicy type defines the accessibility of the create lvm2 volume group backing the deviceClass.
// The DeviceAccessPolicy type defines the accessibility of the lvm2 volume group backing the deviceClass.
type DeviceAccessPolicy string

const (
DeviceAccessPolicyShared DeviceAccessPolicy = "shared"
DeviceAccessPolicyNodeLocal DeviceAccessPolicy = "nodeLocal"
DeviceAccessPolicyNodeLocal DeviceAccessPolicy = "nodeLocal"
)

// LVMClusterSpec defines the desired state of LVMCluster
type LVMClusterSpec struct {
// Important: Run "make" to regenerate code after modifying this file

// Tolerations to apply to nodes to act on
// Tolerations applied to CSI driver pods
// +optional
Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
// Storage describes the deviceClass configuration for local storage devices
Expand Down Expand Up @@ -143,7 +143,8 @@ API scheme for `LVMCluster` CR:
// +optional
NodeSelector *corev1.NodeSelector `json:"nodeSelector,omitempty"`

// ThinPoolConfig contains configurations for the thin-pool
// ThinPoolConfig contains configurations for the thin-pool.
+ // MUST NOT be set for shared deviceClasses.
// +optional
ThinPoolConfig *ThinPoolConfig `json:"thinPoolConfig,omitempty"`

Expand Down

0 comments on commit dd03892

Please sign in to comment.