33 lines
834 B
YAML
33 lines
834 B
YAML
apiVersion: storage.k8s.io/v1
|
|
kind: StorageClass
|
|
metadata:
|
|
name: rclone
|
|
provisioner: csi-rclone
|
|
parameters:
|
|
remote: "webdav"
|
|
remotePath: "/"
|
|
webdav-url: "http://192.168.0.200:30999/dav/"
|
|
allow-other: "true"
|
|
allow-non-empty: "true"
|
|
async-read: "true"
|
|
buffer-size: "48M"
|
|
dir-cache-time: "15s"
|
|
cache-dir: "/mnt/rclone-cache"
|
|
dir-permissions: "0775"
|
|
file-permissions: "0664"
|
|
gid: "1000"
|
|
log-level: "INFO"
|
|
poll-interval: "15s"
|
|
timeout: "10m"
|
|
uid: "1000"
|
|
use-mmap: "true"
|
|
vfs-cache-max-age: "672h"
|
|
vfs-cache-max-size: "5G"
|
|
vfs-cache-mode: "full"
|
|
vfs-cache-poll-interval: "15s"
|
|
vfs-fast-fingerprint: "true"
|
|
vfs-read-ahead: "96M"
|
|
vfs-read-chunk-size: "32M"
|
|
vfs-read-chunk-size-limit: "32M"
|
|
vfs-refresh: "true"
|
|
#pathPattern: "${.PVC.namespace}/${.PVC.annotations.csi-rclone/storage-path}"
|