mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	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 ```
This commit is contained in:
		@@ -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'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user