aboutsummaryrefslogtreecommitdiff
path: root/pkg/driver/driver.go
AgeCommit message (Collapse)AuthorFilesLines
2025-12-06fix: address gemini review - OnDelete strategy and log invalid endpointchrislusf1-1/+3
- Change seaweedfs-mount DaemonSet updateStrategy from RollingUpdate to OnDelete in seaweedfs-csi.yaml for consistency with values.yaml (safer for active mounts) - Add warning log when invalid mountEndpoint is provided to aid debugging
2025-12-06fix: address code review feedbackchrislusf1-10/+23
- CRITICAL: Make socket path configurable based on mountEndpoint - Added volumeSocketDir field to SeaweedFsDriver - LocalSocketPath now accepts baseDir parameter - Derived from mountEndpoint for user-configurable socket paths - HIGH: Pin seaweedfs version in Dockerfiles for reproducible builds - Added SEAWEEDFS_VERSION build arg (default: 3.80) - Clone specific tag instead of master - HIGH: Fix Dockerfile.dev to use local context instead of personal fork - Removed hardcoded zemul/seaweedfs-csi-driver clone - Now uses COPY . . for local development - HIGH: Change :latest to :dev in kubernetes manifests - Mutable :latest tag replaced with :dev for predictability - MEDIUM: Remove Aliyun mirror from Dockerfile.dev - Region-specific mirrors shouldn't be in general-purpose files - MEDIUM: Improve error handling in client.go - Now reports read errors when failing to read error response body - MEDIUM: Fix inconsistent error return in manager.go - Return nil instead of empty struct on error (Go idiom)
2025-12-06feat: Separated weed mount lifecycle into a dedicated service and rewired ↵泽淼 周1-2/+4
the CSI components to call it.
2023-10-19Feat: add driver name supportduanhongyi1-7/+3
2023-08-10Fix: the channel used with signal.Notify should be buffered (SA1017)n91-1/+1
2023-08-10Removed unused methodn91-11/+0
2023-08-07Allow to separate ControllerServer and NodeServer, allow to disable attacher ↵Viktor Kuzmin1-7/+24
(it do nothing in reality)
2023-08-07Implement ExpandVolume also for controllerViktor Kuzmin1-0/+1
https://kubernetes-csi.github.io/docs/volume-expansion.html CSI Resizer should be always run even if not implemented. Also it should run only against controller. Volume resize on node rpc call is handled by kubelet. For now the only job for controller's volume resize is to make it two step and propagate changes to node.
2023-08-07Fix Add...Capability functions - capabilities now added instead of replacedViktor Kuzmin1-12/+3
2023-08-07Graceful stop with mounts cleanupViktor Kuzmin1-2/+23
2023-04-26build fixeswashcycle1-1/+1
2023-04-26revert changewashcycle1-4/+1
2023-04-26Implement CSI Test Suitewashcycle1-2/+5
Fixes #115
2023-01-20Merge branch 'master' of https://github.com/seaweedfs/seaweedfs-csi-driverchrislu1-0/+3
2023-01-20grpc connection to filer add sw-client-id headerchrislu1-1/+3
2023-01-16Add dataLocality flag, checking and handlingRuakij1-0/+3
2023-01-12Rename variable to match flag-nameRuakij1-1/+1
2022-09-05Allow per pv/pvc settings for cache, concurrent writes and uid/gid mapsViktor Kuzmin1-1/+1
2022-08-25update dependencieschrislu1-1/+4
2022-07-29move to github.com/seaweedfs/seaweedfschrislu1-5/+5
2022-07-01Fix error when managing multiple volumesgarenchan1-11/+1
2022-04-03support expand volumechrislu1-1/+9
2022-03-18set disk type by volume create request parameterschrislu1-0/+1
related to https://github.com/seaweedfs/seaweedfs-csi-driver/issues/50
2022-03-06support quotachrislu1-0/+1
fix https://github.com/seaweedfs/seaweedfs-csi-driver/issues/48
2022-03-06adjust csi capabilitychrislu1-1/+4
2021-12-28upgrade to latest seaweedfs versionchrislu1-2/+2
2021-11-10support multiple filersChris Lu1-6/+30
fix https://github.com/seaweedfs/seaweedfs-csi-driver/issues/41
2021-09-28Allow static persistent volumes, some code cleanupViktor Kuzmin1-2/+0
2021-09-14sync with seaweedfsChris Lu1-8/+3
2021-08-20map uid and gid via explicit CLIChris Lu1-0/+2
2021-06-25load the security.toml fileChris Lu1-0/+2
fix https://github.com/chrislusf/seaweedfs/discussions/2132
2021-04-11support configurable cache directoryChris Lu1-0/+1
fix https://github.com/seaweedfs/seaweedfs-csi-driver/issues/20
2021-04-11support configurable cache sizeChris Lu1-0/+1
fix https://github.com/seaweedfs/seaweedfs-csi-driver/issues/20
2021-01-11add an example on how to add more mount optionsChris Lu1-3/+4
2020-10-12sync with seaweedfs repoChris Lu1-2/+2
2020-09-04start weed mount without blockingChris Lu1-1/+1
2020-06-12add ControllerServiceCapability_RPC_PUBLISH_UNPUBLISH_VOLUMEChris Lu1-0/+1
2020-06-12set driver nameChris Lu1-1/+1
2020-06-02compileChris Lu1-1/+4
2020-06-01configure filer via CLIChris Lu1-6/+34
2020-05-31it can compile now!Chris Lu1-18/+24
2020-03-19WIPChris Lu1-0/+102