33 Commits

Author SHA1 Message Date
Jan Wozniak
bfe7fe4697
feat: volume clone from source volume 2023-03-13 11:19:47 +01:00
andyzhangx
bc42fb620a test: fix ut on windows and darwin 2023-01-08 02:44:35 +00:00
andyzhangx
ba1f1acedc feat: use force unmount to fix unmount failure issie 2023-01-08 02:44:35 +00:00
andyzhangx
34d0e6d84d feat: support pv/pvc metadata in subDir parameter
fix

fix
2022-06-19 11:13:47 +00:00
andyzhangx
16c442ad78 feat: add subDir in storage class parameters
fix subdir

internal mount fix

mount subdir in NodePublishVolume

fix golint

fix

fix

setKeyValueInMap
2022-06-12 11:27:44 +00:00
andyzhangx
dd2a7132b6 fix: disallow block volume capability 2022-04-09 11:32:50 +00:00
andyzhangx
14275e0be0 feat: add mountPermissions parameter in storage class 2022-03-05 13:23:45 +00:00
andyzhangx
405a69cf24 feat: add workingMountDir in chart config
fix tests

sudo

fix

test: fix test failure

fix test

install go 1.17

fix ut

fix test

fix test

fix test

fix tests

fix workingMountDir
2022-01-04 13:43:06 +00:00
andyzhangx
d0ea11dac3 feat: support mountOptions in DeleteVolume
chore: provider secrets get permission

add logging
2022-01-03 02:07:00 +00:00
andyzhangx
aab43558bc fix: driver version print in logging 2021-12-07 07:44:12 +00:00
andyzhangx
fd5bac4692 feat: ReadWriteOncePod support
update controller cap

add node cap

fix test
2021-09-20 03:04:57 +00:00
andyzhangx
958efd92ca feat: support alternative driver name
fix driver name
2021-07-10 12:33:55 +00:00
andyzhangx
e0d1832df3 chore: switch to use k8s.io/mount-utils 2021-04-24 01:44:34 +00:00
Jiaxun Song
dd1c04a88e feat: add locks for nodeserver publish/unpublish operations 2021-02-16 11:46:10 -08:00
Manohar Reddy
38780f4630 provide more driver info in logs 2021-02-05 12:26:33 +05:30
andyzhangx
4e11d4322d chore: use klog instead of glog
chore: use klog in nfs binary build

update go mod
2021-01-19 14:37:40 +00:00
andyzhangx
48406c1afd test: add VolumeGetStats test 2021-01-03 12:22:00 +00:00
andyzhangx
4c6213dc3f chore: switch to 3.0.0 for master branch
revise version

sleep 10s
2020-12-26 02:45:23 +00:00
Mayank Shah
9f73baae64 test: Add remaining unit tests
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
2020-11-24 12:38:52 +05:30
Jiaxun Song
bfdc82f398 fix: make verify checks 2020-11-18 19:02:49 +00:00
Mayank Shah
5747698dff Add DynamicallyProvisionedCmdVolumeTest
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
2020-11-11 20:47:25 +05:30
Mayank Shah
93523b272c feat: implement CreateVolume and DeleteVolume
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
2020-10-14 21:39:57 +05:30
Mike Fedosin
070c69ef20 Allow to set custom permissions for the mounted folder
For RWX volume, kubelet does not perform recursive ownership/permission
change. The heuristics that kubelet uses is being modified via -
https://github.com/kubernetes/enhancements/issues/1682

Having said that, for RWX volumes which are made available via NFS
protocol, using fsGroup is not recommended because if there are 2 pods
that are trying to use same volume but with different fsGroup then one
pod may lock out the other pod.

To avoid this, we must be able to set the folder permissions to 777.
This commit adds a cli option --mount-permissions, that allows to
define custom permissions. If the value is not specified, then default
permissions will be kept.

Cherry-picked from: https://github.com/kubernetes-csi/csi-driver-nfs/pull/36
2020-06-18 18:25:10 +02:00
Kubernetes Prow Robot
2bb0d1ead5
Merge pull request #15 from msau42/more-access-modes
Add more access modes to volume capabilities
2020-03-27 03:40:23 -07:00
Kubernetes Prow Robot
c197f2ae07
Merge pull request #27 from wozniakjan/issue3/update_readme
Add basic info to README about the plugin compatibility and features
2020-03-25 12:34:25 -07:00
Jan Wozniak
1104130753 Prepare for v2.0.0 release 2020-03-25 10:09:02 +01:00
Jan Wozniak
2d36f5333e Rename driver to follow CSI plugin naming conventions 2020-03-15 13:01:35 +01:00
Jan Wozniak
748602fde9 Update driver version 2020-03-06 12:41:34 +01:00
Jan Wozniak
679bb9dc07 Add dependency on k8s.io/utils/mount 2020-02-12 15:43:33 +01:00
Michelle Au
a7d05ccfc9 Add ability to use other mounters for unit testing 2019-08-15 17:41:53 -07:00
Michelle Au
e11fe5f37b Correctly set node server in nfs plugin object 2019-08-14 17:43:14 -07:00
Michelle Au
790b67c89f Add more access modes to volume capabilities 2019-08-14 17:31:09 -07:00
Mathusan Selvarajah
cc481ceade remove csi-common dependencies 2019-05-30 17:01:07 -04:00