Commit Graph

545 Commits

Author SHA1 Message Date
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
07dbea766e
Merge pull request #130 from Madhu-1/fix-block
reject block volume creation in cephfs
2019-01-16 07:18:27 -05:00
Huamin Chen
c7c682b055
Merge pull request #129 from Madhu-1/update-make
update Make clean
2019-01-16 07:17:42 -05:00
Huamin Chen
cf3855514f
Merge pull request #127 from humblec/clean
Remove unwanted else block and add comments about some exported funtions and variables
2019-01-16 07:14:25 -05:00
Madhu Rajanna
8f4f42d2e5 reject block volume creation in cephfs
update validate create volume request
to reject block volume creation
2019-01-16 16:40:24 +05:30
Humble Chirammal
2f0595ab71 Remove unwanted else block and add comments about some exported functions
and variables.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-16 14:37:29 +05:30
Humble Chirammal
2888640157 update readme and correct linter errors.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-16 14:33:12 +05:30
Madhu Rajanna
8e0e184fdf update Make clean
remove rbdplugin and cephplugin from _output
directory during make clean.
2019-01-16 13:54:52 +05:30
Huamin Chen
2f1317ff1d
Merge pull request #126 from Madhu-1/dep-vendor
use dep  ensure -vendor-only
2019-01-15 15:09:27 -05:00
Huamin Chen
07d26e6403
Merge pull request #125 from Madhu-1/update-toml
vendor cleanup
2019-01-15 15:07:47 -05:00
Huamin Chen
7b5b9772ee
Merge pull request #124 from Madhu-1/fix-eff
Fix golint issues
2019-01-15 15:07:15 -05:00
Madhu Rajanna
b10ba188e7 vendor cleanup: remove unused,non-go and test files 2019-01-16 00:19:28 +05:30
Madhu Rajanna
227dec63e0 Fix golint issues 2019-01-16 00:17:01 +05:30
Madhu Rajanna
dda983e6bb use dep ensure -vendor-only 2019-01-16 00:09:21 +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
52cf4aa902
Merge pull request #121 from rootfs/dev
fix cache persistent default for cephfs
2019-01-09 16:35:31 +01:00
Huamin Chen
0459c94f1a fix cache persistent default for cephfs
Signed-off-by: Huamin Chen <hchen@redhat.com>
2019-01-09 15:31:41 +00:00
Huamin Chen
c029072ef0
Merge pull request #120 from rootfs/dev
fix cache persistent default
2019-01-09 10:18:49 -05:00
Huamin Chen
a0600d2cc7 fix cache persistent default
Signed-off-by: Huamin Chen <hchen@redhat.com>
2019-01-09 15:12:04 +00:00
Huamin Chen
87dd3622fb
Merge pull request #118 from mickymiek/add-snapshotter-yamls
Added snapshotter deployments files + instuctions to deploy
2019-01-09 09:39:11 -05:00
mickymiek
7a063beb51 add hyperlink to snapshotter yamls 2019-01-09 15:06:24 +01:00
mickymiek
1a6ee717b6 added snapshotter yamls, doc 2019-01-09 12:34:18 +01:00
Róbert Vašek
3170ec455c
Merge pull request #110 from pohly/block-volume-mode-check
rbd: refuse to create block volumes
2019-01-09 08:49:20 +01:00
Huamin Chen
a099834763
Merge pull request #116 from mickymiek/rbac-cm-issue
fix rbac rules for configmaps
2019-01-08 12:14:34 -05:00