Implement support for running geesefs OUTSIDE of the container using systemd to not crash mountpoints when csi-s3 is upgraded or restarted
This commit is contained in:
parent
8ba5614465
commit
6b4f2d9ac4
9 changed files with 125 additions and 13 deletions
pkg/mounter
|
@ -39,7 +39,7 @@ func (rclone *rcloneMounter) Unstage(stageTarget string) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
func (rclone *rcloneMounter) Mount(source string, target string) error {
|
||||
func (rclone *rcloneMounter) Mount(source, target, volumeID string) error {
|
||||
args := []string{
|
||||
"mount",
|
||||
fmt.Sprintf(":s3:%s", path.Join(rclone.meta.BucketName, rclone.meta.Prefix)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue