2e1fc352b3
Add validation of backend rbd image and snapshots
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-06-23 11:53:37 +00:00
a083cb713f
update golang version to 1.12.x
...
tls.VersionTLS13 requires 1.12.x
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-06-23 11:53:37 +00:00
1a2d71e580
Add code to test snapshot,pvc clone and pvc block mode
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-06-23 11:53:37 +00:00
e32b649648
Add external-snapshotter to ceph-csi
...
Adding extenal-provisoner will help us to
test snapshot functionality
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-06-23 11:53:37 +00:00
7f993707ca
rbd supports ReadWriteMany for block mode
...
update example rbd PVC from ReadWriteMany
to ReadWriteOnce as rbd supports ReadWriteMany
only if pvc mode is block
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-06-18 04:41:01 +00:00
983f28ad2f
Revert "Use Deployment with leader election instead of StatefulSet"
...
This reverts commit a151bec94b
.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-06-14 13:39:03 +00:00
fb0cbef68b
update travis to run func test against different kube version
...
updated travis to run functional tests
against different kubernetes versions
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-06-14 13:18:24 +00:00
69662e63ed
change permission of targetpath
...
setting the permission of targetpath to 777
will allow non-root user to write to pv.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-06-12 14:24:37 +00:00
9d27b6b425
Merge pull request #422 from humblec/travis-1
...
Use v1.1.1 of minikube
2019-06-11 12:59:36 +05:30
8fb87ef8a4
Use v1.1.1 of minikube
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2019-06-11 12:31:05 +05:30
5b926ec72c
Merge pull request #417 from Madhu-1/update-helm
...
update helm chart version
2019-06-10 20:48:49 +05:30
bccfafdfb2
update helm chart version
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-06-10 16:54:05 +05:30
46b19a93f5
Merge pull request #416 from Madhu-1/update-golanglint
...
Enable all static-checks in golangci-lint
2019-06-10 16:49:40 +05:30
dab551c8e2
Merge pull request #419 from humblec/release-prep
...
Add pointers and sidecar information in the README
2019-06-10 16:48:03 +05:30
a38986fce0
Enable all static-checks in golangci-lint
...
* Enable all static-checks in golangci-lint
* Update golangci-lint version
* Fix issue found in golangci-lint
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-06-10 15:56:17 +05:30
9b384f38e6
Add pointers and sidecar information in the README
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2019-06-10 15:21:01 +05:30
5753325970
Merge pull request #418 from humblec/e2e
...
Combine the variable section in e2e and also introuce new vars.
2019-06-10 14:10:24 +05:30
66bb0e4e54
Combine the variable section in e2e and also introuce new vars.
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2019-06-10 13:50:30 +05:30
47d4e44af0
Merge pull request #414 from Madhu-1/fix_335
...
Use Deployment with leader election instead of StatefulSet
2019-06-10 13:14:20 +05:30
4df939793b
Merge pull request #372 from Madhu-1/fix-err
...
Fix error string as per golang standard
2019-06-10 13:02:07 +05:30
7d3a6105c7
Fix misspell words
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-06-10 12:52:13 +05:30
74c1a75828
Fix error string as per golang standard
...
Error string should not be capatalized
https://github.com/golang/go/wiki/CodeReviewComments#error-strings
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-06-10 11:10:35 +05:30
a151bec94b
Use Deployment with leader election instead of StatefulSet
...
Deployment behaves better when a node gets disconnected from the rest of
the cluster - new provisioner leader is elected in ~15 seconds, while
it may take up to 5 minutes for StatefulSet to start a new replica.
Refer: 52d1fbcf9d
Fixes : #335
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-06-10 09:51:22 +05:30
0e61098522
Merge pull request #387 from humblec/social
...
Update readme with contact section
2019-06-07 17:03:18 +05:30
883ccd1bb1
Merge pull request #409 from humblec/mount-options
...
Add mount options support in CephFS CSI driver
2019-06-07 16:28:38 +05:30
10192f9a3e
Merge pull request #410 from Madhu-1/fix-e2e
...
use filesystem-test.yaml in e2e
2019-06-07 15:53:03 +05:30
a4655f7549
create config map for cephfs
...
add fs name to storageclass in e2e
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-06-07 15:38:23 +05:30
4be3943713
Add mount options support in CephFS CSI driver
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2019-06-07 11:52:01 +05:30
e16f246f83
Merge pull request #408 from humblec/validate-paths
...
Add staging target path validation to nodeserver
2019-06-07 11:37:37 +05:30
864e6baea9
use filesystem-test.yaml in e2e
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-06-07 11:27:02 +05:30
95252dd9f6
Merge pull request #390 from ShyamsundarR/stateless-cephfs
...
Make CephFS plugin stateless reusing RADOS based journal scheme
2019-06-07 10:44:18 +05:30
3e2d2787b6
Add staging target path validation to nodeserver
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2019-06-06 20:38:53 +05:30
dc04362ac5
Merge pull request #406 from Madhu-1/update-golangci
...
update golangci-lint to latest stable version
2019-06-05 10:13:07 +05:30
beb2410a13
update golangci-lint to latest stable version
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-06-04 23:30:10 +05:30
9a03d735a2
Remove redundant pool parameter from snapshot class
...
The SnapshotClass for RBD requires a pool parameter. This is redundant
as a snapshot is not created on a different pool than the source image
of the snapshot (refer rbd man page).
Further, when a snapshot needs to be created its source CSI VolumeID
is passed to the creation call, and hence the source volumes pool
needs to be reused to create the snapshot.
Similarly to clone a snapshot, the create request would come in with a
SnapshotID to help identify the snapshot pool, and the same create
request parameters would contain the storage class based pool parameter
to create the clone into (as clones can be in different pools as
compared to their parent snapshots).
Thus, the parameter pool seems redundant in the snapshot class and
should be removed to improve ease of use.
Fixes #379
Signed-off-by: ShyamsundarR <srangana@redhat.com >
2019-06-04 08:34:21 +00:00
075861e214
Merge pull request #402 from humblec/kube-update
...
Lift kube dependency to 1.14.2
2019-06-04 13:42:22 +05:30
0e709766b0
Lift kube dependency to 1.14.2
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2019-06-04 12:39:45 +05:30
0e49ea90f3
Merge pull request #401 from humblec/new-changes
...
Update coding.md
2019-06-04 12:06:05 +05:30
c00c11f141
Merge pull request #375 from Madhu-1/up_e2e
...
Add E2E test suite for cephfs
2019-06-04 11:58:34 +05:30
69c4e7537f
Update coding.md
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2019-06-04 11:50:52 +05:30
1444231d05
Merge pull request #304 from humblec/contributing
...
Add coding.md into docs
2019-06-04 11:40:47 +05:30
6716a19c15
Add readme to deploy kubernetes and
...
to run e2e tests.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-06-04 11:39:42 +05:30
fc529f4831
Add E2E framework
...
deploys rook
deploy cephfs plugin
deploy rbd plugin
create PVC/POD to test cephfs
create PVC/POD to test rbd
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-06-04 11:39:42 +05:30
d300da19b7
vendor update for E2E framework
...
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-06-04 11:39:42 +05:30
9bb23e4e32
code changes for E2E
...
update travis and makefile for functional test
skip docker pull if image is already present
on local machine.
if the image is not present locally pull the
image from repo.
export kubeconfig in travis
build cephcsi image in travis job for
functional testing
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-06-04 11:39:40 +05:30
f0ea320104
Update readme to point to development and contributing guide.
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2019-06-04 11:35:48 +05:30
5e04be9e1f
Merge pull request #397 from humblec/kube-upgrade
...
Update minikube to 1.14 and also update container images to latest
2019-06-04 11:30:00 +05:30
dcdee86c44
Update minikube to 1.14 and also update container images to latest
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2019-06-04 05:44:40 +05:30
992c0817e9
Merge pull request #396 from humblec/v1.2.0-sidecar
...
Promote sidecars to latest available version tags.
2019-06-04 05:43:24 +05:30
0b44249eef
Merge pull request #398 from humblec/travis
...
Remove csi-v1.0 from branches in travis.
2019-06-03 18:15:10 +05:30