Jan Safranek
9d0c47f1db
Use storage.v1 instead of v1beta1
...
storage.v1beta1 was used to work around GKE which does not expose v1. Now that
GKE is updated, we can switch everything to v1.
2017-04-25 10:13:38 +02:00
Chao Xu
d4850b6c2b
move pkg/api/v1/helpers.go to subpackage
2017-04-14 14:25:11 -07:00
Jan Safranek
3fbf9cb451
Fix deletion of Gluster volumes
...
GetClassForVolume should check pv.spec.storageClassName together
with beta annotation.
2017-04-03 15:33:56 +02:00
Jan Safranek
a39bd53509
Explicitly use storage.k8s.io/v1beta1 everywhere.
...
v1 is not yet awailable on GKE and tests would fail.
2017-03-02 08:56:26 +01:00
Jordan Liggitt
41c88e0455
Revert "Merge pull request #40088 from jsafrane/storage-ga-v1"
...
This reverts commit 5984607cb9
, reversing
changes made to 067f92e789
.
2017-02-25 22:35:15 -05:00
Jan Safranek
3f6caca97a
Add storage.k8s.io/v1
2017-02-24 13:34:18 +01:00
NickrenREN
a12dea14e0
fix redundant alias clientset
2017-01-12 10:21:05 +08:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Harry Zhang
443ae87b7e
Check kube client is valid
2016-12-21 10:38:50 +08:00
rkouj
c14d47dffe
Use common unmount util func for TearDownAt()
2016-12-19 16:40:55 -08:00
Chao Xu
03d8820edc
rename /release_1_5 to /clientset
2016-12-14 12:39:48 -08:00
Wojciech Tyczynski
e8d1cba875
GetOptions in client calls
2016-12-09 09:42:01 +01:00
Jing Xu
896e0b867e
Fix unmount issue cuased by GCI mounter
...
this is a workaround for the unmount device issue caused by gci mounter. In GCI cluster, if gci mounter is used for mounting, the container started by mounter script will cause additional mounts created in the container. Since these mounts are irrelavant to the original mounts, they should be not considered when checking the mount references. By comparing the mount path prefix, those additional mounts can be filtered out.
Plan to work on better approach to solve this issue.
2016-12-06 12:24:07 -08:00
Chao Xu
bb675d395f
dependencies: pkg/volume
2016-11-23 15:53:09 -08:00
Jan Safranek
472c2d6e8c
Remove PV annotations for quobyte provisioner
2016-11-01 10:40:44 +01:00
Jordan Liggitt
1dd73c59f3
Require PV provisioner secrets to match type
2016-10-27 02:45:05 -04:00
Jan Safranek
2b2508ba15
Remove PV annotations for Gluster provisioner.
...
Don't store Gluster SotrageClass parameters in annotations, it's insecure.
Instead, expect that there is the StorageClass available at the time
when it's needed by Gluster deleter.
2016-10-18 09:54:35 +02:00
Johannes Scheuermann
0b7cb5f2ae
Inital Quobyte dynamic provision
2016-09-16 13:26:18 +02:00
Huamin Chen
0c3b2f44a4
review feedbacks
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-08-25 15:32:26 -04:00
Jing Xu
cafd126ecd
Add ismounted check in unmountpath function
...
This change is for fixing PR #30930 . The function should check if the
mountpath is still mounted or not. If it is not, it should continue with
removing the directory instead of returning error.
2016-08-19 17:15:30 -07:00
saadali
e73c516366
Prevent device unmount from deleting dir on err
...
Prevent device unmount from deleting dir unless volume is successfully
unmounted first.
2016-08-15 16:58:31 -07:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Paul Morie
bc8f010a10
Make secret volume plugin idempotent
2015-04-23 11:23:23 -04:00