File tree 1 file changed +11
-3
lines changed
tests/framework/installer
1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -242,6 +242,14 @@ spec:
242
242
databaseSizeMB: "1024"
243
243
`
244
244
}
245
+
246
+ if m .settings .ConnectionsEncrypted {
247
+ clusterSpec += `
248
+ csi:
249
+ cephfs:
250
+ kernelMountOptions: ms_mode=secure
251
+ `
252
+ }
245
253
return clusterSpec + `
246
254
priorityClassNames:
247
255
mon: system-node-critical
@@ -349,9 +357,9 @@ parameters:
349
357
csi.storage.k8s.io/node-stage-secret-namespace: ` + m .settings .Namespace + `
350
358
`
351
359
if m .settings .ConnectionsEncrypted {
352
- // encryption requires either the 5.11 kernel or the fuse mounter. Until the newer
353
- // kernel is available in minikube, we need to test with fuse .
354
- sc += " mounter: fuse "
360
+ // Encryption with kernel version <= 5.11 requires 'mounter: fuse'. For kernel version >= 5.12, it requires 'mounter: kernel'.
361
+ // Since the Github action Minikube has kernel version > 5.12, the setting is set to 'mounter: kernel' .
362
+ sc += " mounter: kernel "
355
363
}
356
364
return sc
357
365
}
You can’t perform that action at this time.
0 commit comments