Madhu Rajanna
de1f099680
Remove unused struct fields
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-25 14:10:52 +05:30
Madhu Rajanna
9f76f6bd59
Remove dead code
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-25 14:10:52 +05:30
Huamin Chen
e4b24711f6
cope with latest changes in csi provisioner and deprecations
2019-01-23 10:58:50 -05:00
Huamin Chen
eaadeec2dc
Merge pull request #139 from rootfs/node-reg
...
switch to node registrar
2019-01-23 10:25:17 -05:00
Huamin Chen
e0e764b3a1
review feedback: tune rbd provisioner rbac
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2019-01-23 10:05:15 -05:00
Huamin Chen
7caf03b556
review feedback: tune cephfs provisioner and driver rbac, de-escalate privilage
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2019-01-23 09:14:11 -05:00
Huamin Chen
c6c496ff59
switch to node registrar
2019-01-22 14:46:41 -05:00
Huamin Chen
be4c88f606
Merge pull request #136 from rootfs/cephfs-mon
...
allow ceph mon stored in secret so when mon changes, cephfs driver can get latest mons and override old ones
2019-01-21 10:54:03 -05:00
Huamin Chen
0151792684
review feedback: make monValueFromSecret override monitors if both are set
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2019-01-21 09:21:03 -05:00
Huamin Chen
f3ea772270
Merge pull request #137 from kfox1111/csi-v1.0
...
Update the helm chart for csi 1.0
2019-01-19 08:00:17 -05:00
Kevin Fox
2774109bf6
Update the helm chart for csi 1.0
...
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2019-01-18 17:06:32 -08:00
Huamin Chen
3f196b5d73
update cephfs doc
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2019-01-18 10:38:32 -05:00
Huamin Chen
db463edeef
allow ceph mon stored in secret so when mon changes, cephfs driver can get latest mons and override old ones
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2019-01-18 10:27:48 -05:00
Huamin Chen
af008471ab
Merge pull request #132 from rootfs/v1-block
...
support block volume
2019-01-17 09:04:59 -05:00
Huamin Chen
48407e2484
add csi volume device mount path to csi plugin
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2019-01-17 08:57:18 -05:00
Huamin Chen
263c45bb45
enable csi block; use canary external-provisioner image to pick up block volume provisioning
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2019-01-16 13:52:45 -05:00
Masaki Kimura
0e60dabca3
Move resolving bind mount logic from k8s
2019-01-16 13:00:48 -05:00
Masaki Kimura
ea75a9d162
Fix pv deletion issue caused by not dettaching due to wrong mount count
2019-01-16 12:51:13 -05:00
Masaki Kimura
5867d495fd
Change csi rbd to create/delete targetPath for publish/unpublish
2019-01-16 12:50:17 -05:00
Masaki Kimura
165b82a44c
Add block supports to rbd driver
2019-01-16 12:49:02 -05:00
Huamin Chen
1ac0757aab
Merge pull request #131 from Madhu-1/csi-v1.0-cleanup
...
Csi v1.0 cleanup
2019-01-16 09:04:01 -05:00
Madhu Rajanna
e42e66ff30
user errors.New if error formatting is not required
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-16 18:54:13 +05:30
Madhu Rajanna
17f5c0a7ce
use Errorf is error formatting is required
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-16 18:54:06 +05:30
Madhu Rajanna
20af5afcab
Fix golint issues
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-16 18:33:38 +05:30
Madhu Rajanna
9ddc265c10
reject block volume creation in cephfs
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-16 18:17:14 +05:30
Madhu Rajanna
1552df6b91
update make clean
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-16 18:15:42 +05:30
Madhu Rajanna
8cae0b6c41
use dep ensure -vendor-only
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-16 18:14:58 +05:30
Madhu Rajanna
0f836c62fa
Vendor cleanup
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-16 18:11:54 +05:30
Huamin Chen
661818bd79
Merge pull request #123 from rootfs/master-to-1.0
...
Merge master to csi-v1.0 branch
2019-01-15 13:39:04 -05:00
Huamin Chen
aed7506d88
fix merge leftovers; use canary driver-registrar image, as v1.0.0 is not hosted in quay.io
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2019-01-15 13:31:06 -05:00
Huamin Chen
684f753581
upgrade go version
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2019-01-15 17:25:05 +00:00
Huamin Chen
e46099a504
reconcile merge
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2019-01-15 16:20:41 +00:00
Huamin Chen
85b8415024
Merge branch 'master' into master-to-1.0
2019-01-15 16:15:30 +00:00
mickymiek
b23ee70d7f
fix rbac rules for configmaps
2019-01-14 20:15:09 +00:00
Peter Nordquist
7bc3df2376
Added docs for deploying rbd driver with Helm
...
Signed-off-by: Peter Nordquist <peter.nordquist@pnnl.gov>
2019-01-14 20:15:09 +00:00
mickymiek
7d47bb0698
make k8s_configmap default metadatastorage for k8s deployments
2019-01-14 20:15:09 +00:00
mickymiek
ea2b1cd315
add POD_NAMESPACE doc
2019-01-14 20:15:09 +00:00
mickymiek
b387daaabf
remove useless comment
2019-01-14 20:15:09 +00:00
mickymiek
c055b1d85a
edit cephfs docs
2019-01-14 20:15:09 +00:00
mickymiek
32cb974b8c
gofmt
2019-01-14 20:15:09 +00:00
mickymiek
d64dc3a1b2
modified cephfs deployment
2019-01-14 20:15:09 +00:00
mickymiek
35561301b2
added vendors
2019-01-14 20:15:09 +00:00
mickymiek
62d65ad0cb
cm metadata persist for rbd and cephfs
2019-01-14 20:15:09 +00:00
Patrick Ohly
51d6ac6f55
rbd: refuse to create block volumes
...
Without this check, the driver fails one of the E2E storage tests in
Kubernetes 1.13: provisioning a block volume is expected to fail in
e689d515f7/test/e2e/storage/testsuites/volumemode.go (L329-L330)
2019-01-14 20:15:09 +00:00
Peter Nordquist
c0e775a49b
Changed version to 0.1
2019-01-14 20:15:09 +00:00
Peter Nordquist
c359753416
Added Helm chart for RBD plugin
...
Signed-off-by: Peter Nordquist <peter.nordquist@pnnl.gov>
2019-01-14 20:15:09 +00:00
gman
29bdeb2261
cephfs: don't set quotas for zero-sized volumes
2019-01-14 20:15:09 +00:00
Huamin Chen
095044fc90
switch to centos base image
2019-01-14 20:15:09 +00:00
Patrick Ohly
403cad682c
rbd: protect against concurrent gRPC calls
...
The timeout value in external-provisioner is fairly low. It's not
uncommon that it times out and retries before the rbdplugin is done
with CreateVolume. rbdplugin has to serialize calls and ensure that
they are idempotent to deal with this.
2019-01-14 20:15:09 +00:00
Róbert Vašek
07effb9499
Merge pull request #111 from mcronce/v1.0-kube-fixes
...
v1.0.0 k8s fix
2018-12-18 21:10:02 +01:00