142 Commits

Author SHA1 Message Date
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
xing-yang
93dada2f8a NFS plugin does not support ControllerServiceCapability
Since NFS plugin does not support ControllerServiceCapability,
set it to csi.ControllerServiceCapability_RPC_UNKNOWN.
Also set ControllerServer to nil instead of using the default
because ControllerServer is not implemented in NFS plugin.
If this support is added in the future, capabilities need to
be added accordingly.
2018-03-13 13:20:02 -07:00
Huamin Chen
d600d0bb20 csi 0.2.0: update nfs CSI PV example
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-03-12 18:31:20 +00:00
xing-yang
beedbb17e1 Update CSI Plugins README
This patch updates the README for plugins for CSI 0.2.0.
It includes the following changes:
- Updates the CSC tool location
- Removes "get supported versions" because that was removed
  from CSI.
2018-03-08 09:04:10 -08:00
Serguei Bezverkhi
aa9ec2da56 refactor csi-common and hostpath plugin for CSI 0.2.0 spec 2018-03-06 11:14:25 -05:00
Guangya Liu
04e38ab5b5 Added CSI nfsplugin build process. 2018-02-10 20:58:35 +08:00
Humble Chirammal
715b1ff4ea Correct NFS driver deployment artifacts.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2018-01-15 22:49:26 +05:30
Humble Devassy Chirammal
650cb5b1f5 NFS driver: Change attribute on NodePublish() to reflect the examples. 2018-01-15 20:28:19 +05:30
Chakravarthy Nelluri
ab44838726 Fix Readmes 2018-01-10 15:09:06 -05:00
Chakravarthy Nelluri
8b14402955 Add some unit tests & improve logging 2017-12-13 12:31:15 -05:00
Chakravarthy Nelluri
eb5623b807 Add NFS deployment files 2017-12-11 00:17:37 -05:00
Chakravarthy Nelluri
f481dddf44 Refactor to app & pkg directories 2017-12-04 15:01:40 -07:00