mirror of https://github.com/k3s-io/k3s
3d3e44e77e
This PR is to fix the issue in converting aws volume id from mount paths. Currently there are three aws volume id formats supported. The following lists example of those three formats and their corresponding global mount paths: 1. aws:///vol-123456 (/var/lib/kubelet/plugins/kubernetes.io/aws-ebs/mounts/aws/vol-123456) 2. aws://us-east-1/vol-123456 (/var/lib/kubelet/plugins/kubernetes.io/mounts/aws/us-est-1/vol-123455) 3. vol-123456 (/var/lib/kubelet/plugins/kubernetes.io/mounts/aws/us-est-1/vol-123455) For the first two cases, we need to check the mount path and convert them back to the original format. |
||
---|---|---|
.. | ||
BUILD | ||
doc.go | ||
fake.go | ||
mount.go | ||
mount_linux.go | ||
mount_linux_test.go | ||
mount_unsupported.go | ||
nsenter_mount.go | ||
nsenter_mount_unsupported.go | ||
safe_format_and_mount_test.go |