Huamin Chen
9dc1f61a34
Merge pull request #156 from Madhu-1/update-meta
...
Fix issues found in static check
2019-02-04 09:06:46 -05:00
Huamin Chen
211d78974e
Merge pull request #142 from rootfs/node-reg
...
cope with latest changes in csi provisioner and deprecations
2019-02-04 09:04:14 -05:00
Huamin Chen
b657200cae
Merge pull request #158 from Madhu-1/fix-157
...
update csi sidecar image to v1.0.1 in RBD
2019-02-04 09:02:38 -05:00
Madhu Rajanna
419117c8c2
install gometalinter in $GOPATH/bin
...
update gometalinter to stable v3.0.0
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-02-04 19:30:58 +05:30
Madhu Rajanna
9ba501617d
update sidecar images to stable version (v1.0.1)
...
Fixes : #157
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-02-04 15:37:28 +05:30
Madhu Rajanna
5983fedddb
Fix issues found in gometalinter static check
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-02-04 10:44:37 +05:30
Madhu Rajanna
6263b9cdb5
megacheck is not present in gometalinter v3.0.0
...
added staticheck option for gometalinter
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-02-04 10:44:00 +05:30
Huamin Chen
832e0bb591
Merge pull request #152 from Madhu-1/gometlinter
...
Add gometalinter static check
2019-01-29 09:08:21 -05:00
Madhu Rajanna
74796bd57b
Fix review comment
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-29 18:29:07 +05:30
Madhu Rajanna
ec6cc52283
remove golint from travis.yml
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-29 18:17:04 +05:30
Madhu Rajanna
03d93219d7
Fix metalinter issue
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-29 11:37:03 +05:30
Madhu Rajanna
50ba8ed446
Fix gometalinter issues
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-29 11:24:36 +05:30
Madhu Rajanna
ca2e475296
Fix gometalinter issues
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-29 11:23:50 +05:30
Madhu Rajanna
7a0c233c27
Fix issues found in gometalinter
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-29 11:20:35 +05:30
Madhu Rajanna
008c82c1e7
Fix gometalinter issues
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-29 11:20:35 +05:30
Madhu Rajanna
c0182c5881
Add megacheck for gometalinter
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-29 11:20:35 +05:30
Madhu Rajanna
58997ecbd8
update go version to 1.11.x
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-29 11:20:35 +05:30
Madhu Rajanna
d625eb7f54
update travis to add gometalinter static check
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-29 11:20:35 +05:30
Madhu Rajanna
25642fe404
Add method comments
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-29 11:20:35 +05:30
Huamin Chen
6929db10e5
Merge pull request #149 from Madhu-1/snap-yaml
...
Add snapshot yaml files in CSI-v1.0
2019-01-28 07:25:13 -05:00
Róbert Vašek
112c545189
Merge pull request #151 from Madhu-1/app
...
Move ceph and rbd main files to app folder
2019-01-28 11:15:42 +01:00
Madhu Rajanna
e4e411248e
Move ceph and rbd main files to cmd folder
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-28 15:40:01 +05:30
Madhu Rajanna
5b512cd48c
Add snapshot yaml files and volume clone
...
capabilities to provisioner.
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-28 10:26:57 +05:30
Madhu Rajanna
b71a9bfe40
Fix issue with error handling in metadata store
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-28 10:26:57 +05:30
Huamin Chen
b968025037
Merge pull request #145 from humblec/csi-v1.0
...
Update kube dependencies to v1.13.2 from v1.13.0
2019-01-27 10:06:27 -05:00
Huamin Chen
aa4fce2c8b
Merge pull request #133 from Madhu-1/fix-golint
...
Fix golint
2019-01-27 10:04:42 -05:00
Róbert Vašek
8cf869471f
Merge pull request #147 from Madhu-1/fix-snap
...
Fix snapshot time during snapshot create
2019-01-25 15:06:06 +01:00
Madhu Rajanna
48ca11336e
Fix snapshot time during snapshot create
...
Fixes : #146
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-25 19:09:35 +05:30
Humble Chirammal
ac4c83c96c
Vednor update for kube v1.13.2
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-25 16:00:04 +05:30
Humble Chirammal
cd8381690d
Update kube dependencies to v1.13.2 from v1.13.0
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-25 15:58:59 +05:30
Madhu Rajanna
7fcbdfb945
Fix template to add userID
...
Fix Node server
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-25 14:20:32 +05:30
Madhu Rajanna
1a246f7bf3
simplify the error check
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-25 14:16:03 +05:30
Madhu Rajanna
36f99e36ca
Fix unparam issues
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-25 14:16:03 +05:30
Madhu Rajanna
284c5801c3
Fix golint issue
...
pkg/rbd/rbd.go:67:65⚠️ exported func NewNodeServer
returns unexported type *rbd.nodeServer, which can be
annoying to use (golint)
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-25 14:16:03 +05:30
Madhu Rajanna
4c564207c6
Fix error checking issue in json Decode
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-25 14:15:25 +05:30
Madhu Rajanna
1d11d0acc3
Fix lint issues
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-25 14:15:25 +05:30
Madhu Rajanna
5eb1974e38
Fix vetshadow issues
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-25 14:15:25 +05:30
Madhu Rajanna
75beccd8c0
Remove unused variable
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-25 14:14:48 +05:30
Madhu Rajanna
49c8fe5d50
Remove conversion which is not required
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-25 14:14:48 +05:30
Madhu Rajanna
1c03334a90
Add constant for rbd and ndb
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-25 14:14:48 +05:30
Madhu Rajanna
fa78c00535
update struct names and struct fiels
...
it wont be meaningful to call cephfs.NewcephfsDriver()
to get a new driver, it will be better if we call
cephfs.GetNewDriver() which returns the cephfs driver
object.
same goes for rbd also
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-25 14:14:48 +05:30
Madhu Rajanna
15b5b0112e
rename Id to ID to fix lint issue
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-25 14:14:48 +05:30
Madhu Rajanna
8f2941dd47
Remove code complexity
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-25 14:13:04 +05:30
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