61 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
79afaa1f89
Merge pull request #197 from boddumanohar/cleanup-todo
Remove capacity setting in create Volume response
2021-05-23 20:07:38 -07:00
andyzhangx
f5abcf764a fix: remove unnecessary lock
fix golint
2021-05-19 13:33:39 +00:00
Manohar Reddy
98ec1a8aaf Remove capacity setting in create Volume response 2021-05-05 15:42:48 +00:00
andyzhangx
e0d1832df3 chore: switch to use k8s.io/mount-utils 2021-04-24 01:44:34 +00:00
Jürgen Thomann
6867a95639 Allow shares that are not at the root 2021-04-13 20:53:58 +02:00
Jiaxun Song
dd1c04a88e feat: add locks for nodeserver publish/unpublish operations 2021-02-16 11:46:10 -08:00
andyzhangx
1c97d2cce4 test: set lower logLevel in e2e test
update chart file
2021-02-11 01:50:14 +00:00
andyzhangx
e8ea4c3be2 fix: makeDir error in CreateVolume 2021-02-10 14:42:19 +00:00
Manohar Reddy
38780f4630 provide more driver info in logs 2021-02-05 12:26:33 +05:30
andyzhangx
29ecada024 cleanup: disable NodeStageVolume 2021-01-30 01:52:22 +00:00
andyzhangx
f05d3ca943 chore: rename indentityserver.go to identityserver.go 2021-01-21 04:00:56 +00:00
andyzhangx
e7cdcedcc4 fix: reduce driver logs 2021-01-20 06:53:19 +00:00
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
Saurav Tiwary
d83f52d916 test: Add missing unit tests for controller server and utils 2021-01-03 21:25:53 +05:30
andyzhangx
48406c1afd test: add VolumeGetStats test 2021-01-03 12:22:00 +00:00
andyzhangx
94e5bf7020 feat: add NodeGetVolumeStats support 2021-01-03 12:02:13 +00:00
andyzhangx
3622c703d6 chore: refactor logging 2020-12-27 12:54:25 +00:00
andyzhangx
a0ad5ca5b6 fix: support mountOptions in CreateVolume 2020-12-27 03:59:09 +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
Mayank Shah
35e3b0a065 test: Add unit tests for identityserver and nodeserver
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
2020-11-23 12:42:32 +05:30
Jiaxun Song
bfdc82f398 fix: make verify checks 2020-11-18 19:02:49 +00:00
Jiaxun Song
868db6667a fix: internalUnmount failure and DeleteVolume failure 2020-11-17 05:38:02 +00:00
Jiaxun Song
c84426fb4e test: add make verify 2020-11-16 20:36:41 +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
andyzhangx
f90b4ece9e fix: all sanity test failures
fix tests

remove logging
2020-08-22 01:36:22 +00:00
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
Mathusan Selvarajah
959bfe4201 update nfs driver for kube 1.14 2019-04-23 15:43:27 -04:00
prateekpandey14
8cc3ee96cb Merge branch 'add-nfs-diver' into driver-nfs
Signed-off-by: prateekpandey14 <prateekpandey14@gmail.com>
2019-02-14 11:29:01 +05:30
prateekpandey14
cb7d61a49d Update deployment files and Dockerfile
Signed-off-by: prateekpandey14 <prateekpandey14@gmail.com>
2019-02-07 19:53:29 +05:30
prateekpandey14
d5b0215f63 Move nfs csi-driver to its own repo 'csi-driver-nfs'
Signed-off-by: prateekpandey14 <prateekpandey14@gmail.com>
2019-02-07 14:48:27 +05:30
saad-ali
6200e12c21 Code changes for CSI v1.0.0-rc2 2018-11-14 19:58:28 -08:00
Matthew Wong
4ad81b11cd Update to CSI 0.3 2018-07-11 13:56:28 -04:00
Luis Pabón
1faa775c02 Merge branch 'master' into update_nfs_images 2018-03-14 17:01:02 -04:00
Luis Pabón
0a11076ef4 Merge branch 'master' into update_nfs_images 2018-03-14 14:58:24 -04:00
Luis Pabón
db37f4e656 Merge branch 'master' into nfs 2018-03-14 14:57:55 -04:00
xing-yang
197cfaa5a0 Update image links for NFS
This PR updates image links for NFS plugin deployment
to support CSI 0.2.0.
2018-03-14 15:54:35 +00:00
Serguei Bezverkhi
354ff82b12 fix nfs ddriver.go formating 2018-03-14 11:12:31 -04:00
Huamin Chen
a50c2b9b1c Merge branch 'master' into nfs-v0.2.0 2018-03-14 10:43:14 -04:00