Skip to content

Commit

Permalink
hard-code fstype parameter during storage class configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandr Stefurishin <alexandr.stefurishin@flant.com>
  • Loading branch information
Alexandr Stefurishin committed Sep 13, 2024
1 parent 8bdf549 commit 8120e3c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ const (
LVMVolumeGroupsParamKey = LocalStorageClassProvisioner + "/lvm-volume-groups"
LVMVThickContiguousParamKey = LocalStorageClassProvisioner + "/lvm-thick-contiguous"

FSTypeParamKey = "csi.storage.k8s.io/fstype"

LocalStorageClassFinalizerName = "storage.deckhouse.io/local-storage-class-controller"
LocalStorageClassFinalizerNameOld = "localstorageclass.storage.deckhouse.io"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,11 @@ func configureStorageClass(lsc *slv.LocalStorageClass) (*v1.StorageClass, error)
LVMTypeParamKey: lsc.Spec.LVM.Type,
LVMVolumeBindingModeParamKey: lsc.Spec.VolumeBindingMode,
LVMVolumeGroupsParamKey: string(lvgsParam),
// TODO: EXPERIMENT DO NOT MERGE
// TODO: EXPERIMENT DO NOT MERGE
// TODO: EXPERIMENT DO NOT MERGE
// TODO: EXPERIMENT DO NOT MERGE
FSTypeParamKey: "xfs",
}

if lsc.Spec.LVM.Thick != nil {
Expand Down

0 comments on commit 8120e3c

Please sign in to comment.