Resolve potential devicePath symlink when MapVolume in containerized kubelet

This commit is contained in:
Matthew Wong
2018-06-26 11:57:34 -04:00
parent 4905c339cc
commit b376b31ee0
10 changed files with 46 additions and 0 deletions

View File

@@ -140,6 +140,10 @@ func (m *execMounter) ExistsPath(pathname string) (bool, error) {
return m.wrappedMounter.ExistsPath(pathname)
}
func (m *execMounter) EvalHostSymlinks(pathname string) (string, error) {
return m.wrappedMounter.EvalHostSymlinks(pathname)
}
func (m *execMounter) PrepareSafeSubpath(subPath Subpath) (newHostPath string, cleanupAction func(), err error) {
return m.wrappedMounter.PrepareSafeSubpath(subPath)
}