• Jan Safranek's avatar
    Change SafeMakeDir to resolve symlinks in mounter implementation · 7e3fb502
    Jan Safranek authored
    Kubelet should not resolve symlinks outside of mounter interface.
    Only mounter interface knows, how to resolve them properly on the host.
    
    As consequence, declaration of SafeMakeDir changes to simplify the
    implementation:
    from SafeMakeDir(fullPath string, base string, perm os.FileMode)
    to   SafeMakeDir(subdirectoryInBase string, base string, perm os.FileMode)
    7e3fb502
mount.go 13.5 KB