Commit cc0406ca authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #37220 from metal3d/fix-sysfs-on-none-device-37183

Automatic merge from submit-queue Check sysfs Type instead of Device Some distribution uses "none" device to mount "sysfs" type, so kube-proxy needs to list mount points and check "types" instead of "device". fixes #37183 ```release-note Change sysfs mountpoint tests from Device to Type to be able to find sysfs mountpoint on "none" device ```
parents 9a600f62 439a0313
......@@ -98,7 +98,7 @@ func isSysFSWritable() (bool, error) {
for _, mountPoint := range mountPoints {
const sysfsDevice = "sysfs"
if mountPoint.Device != sysfsDevice {
if mountPoint.Type != sysfsDevice {
continue
}
// Check whether sysfs is 'rw'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment