diff --git a/Dockerfile b/Dockerfile index 75ed846..43cb6c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,8 +11,8 @@ FROM alpine:3.17 LABEL maintainers="Vitaliy Filippov " LABEL description="csi-s3 slim image" -RUN apk add --no-cache fuse -#RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community rclone s3fs-fuse +RUN apk add --no-cache fuse rclone +RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community s3fs-fuse ADD https://github.com/yandex-cloud/geesefs/releases/latest/download/geesefs-linux-amd64 /usr/bin/geesefs RUN chmod 755 /usr/bin/geesefs diff --git a/README.md b/README.md index 36ed01f..aec87ce 100644 --- a/README.md +++ b/README.md @@ -82,8 +82,8 @@ kubectl create -f examples/storageclass.yaml ```bash $ kubectl exec -ti csi-s3-test-nginx bash $ mount | grep fuse - s3fs on /var/lib/www/html type fuse.s3fs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other) - $ touch /var/lib/www/html/hello_world + pvc-035763df-0488-4941-9a34-f637292eb95c: on /usr/share/nginx/html/s3 type fuse.geesefs (rw,nosuid,nodev,relatime,user_id=65534,group_id=0,default_permissions,allow_other) + $ touch /usr/share/nginx/html/s3/hello_world ``` If something does not work as expected, check the troubleshooting section below.