18 Commits

Author SHA1 Message Date
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