aboutsummaryrefslogtreecommitdiff
path: root/cmd/seaweedfs-mount
AgeCommit message (Collapse)AuthorFilesLines
14 daysrefactor: use generic helper for mount/unmount handlerschrislusf1-41/+27
Reduce code duplication by using a generic makePostHandler function that abstracts the common logic of handling POST requests, decoding JSON, calling a manager function, and encoding the JSON response.
14 daysfix: use StatusInternalServerError for mount/unmount errorschrislusf1-2/+2
Errors from manager.Mount and manager.Unmount can be due to internal server issues (filesystem errors, process start failures) not just bad client requests.
14 daysfix: address code review feedbackchrislusf2-11/+19
- 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)
14 daysfix: build from context instead of cloning masterchrislusf1-1/+1
14 daysfix: use Go 1.23 and build from context instead of cloning masterchrislusf1-8/+12
14 daysadd: merge prepare params.泽淼 周2-4/+23
14 daysOptimization: Reduce unnecessary logic of seaweedfs-mount泽淼 周1-21/+0
14 daysfix: build error泽淼 周1-1/+1
14 daysfeat: helm config泽淼 周1-1/+1
14 daysfeat: Separated weed mount lifecycle into a dedicated service and rewired ↵泽淼 周2-0/+173
the CSI components to call it.