Skip to content

Commit

Permalink
Merge pull request rook#13699 from subhamkrai/fix-smoke-suite
Browse files Browse the repository at this point in the history
test: use mounter kernal instead of fuse
  • Loading branch information
subhamkrai authored Feb 6, 2024
2 parents 4ca474f + abc272c commit 39f4458
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions tests/framework/installer/ceph_manifests.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,14 @@ spec:
databaseSizeMB: "1024"
`
}

if m.settings.ConnectionsEncrypted {
clusterSpec += `
csi:
cephfs:
kernelMountOptions: ms_mode=secure
`
}
return clusterSpec + `
priorityClassNames:
mon: system-node-critical
Expand Down Expand Up @@ -349,9 +357,9 @@ parameters:
csi.storage.k8s.io/node-stage-secret-namespace: ` + m.settings.Namespace + `
`
if m.settings.ConnectionsEncrypted {
// encryption requires either the 5.11 kernel or the fuse mounter. Until the newer
// kernel is available in minikube, we need to test with fuse.
sc += " mounter: fuse"
// Encryption with kernel version <= 5.11 requires 'mounter: fuse'. For kernel version >= 5.12, it requires 'mounter: kernel'.
// Since the Github action Minikube has kernel version > 5.12, the setting is set to 'mounter: kernel'.
sc += " mounter: kernel"
}
return sc
}
Expand Down

0 comments on commit 39f4458

Please sign in to comment.