- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for mountRefs (0.19 sec)
-
pkg/volume/util/util_test.go
} }) } } func TestHasMountRefs(t *testing.T) { testCases := map[string]struct { mountPath string mountRefs []string expected bool }{ "plugin mounts only": { mountPath: "/var/lib/kubelet/plugins/kubernetes.io/some-plugin/mounts/volume-XXXX", mountRefs: []string{ "/home/somewhere/var/lib/kubelet/plugins/kubernetes.io/some-plugin/mounts/volume-XXXX",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.7K bytes - Viewed (0) -
pkg/volume/util/util.go
fsUser = nil return false } if fsUser == nil { fsUser = runAsUser } return true }) return fsUser } // HasMountRefs checks if the given mountPath has mountRefs. // TODO: this is a workaround for the unmount device issue caused by gci mounter. // In GCI cluster, if gci mounter is used for mounting, the container started by mounter
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.8K bytes - Viewed (0)