k8s-merge-robot
2205a30348
Merge pull request #23368 from saad-ali/renameBuilderCleaner
...
Auto commit by PR queue bot
2016-03-26 13:01:25 -07:00
goltermann
32d569d6c7
Fixing all the "composite literal uses unkeyed fields" Vet errors.
2016-03-25 15:25:09 -07:00
saadali
79012f6d53
Rename volume.Builder to Mounter and volume.Cleaner to Unmounter
2016-03-25 11:29:58 -07:00
Tim Hockin
23fe2a3584
add maintainers for each volume driver
2016-03-22 22:19:53 -07:00
k8s-merge-robot
3c5b57b217
Merge pull request #21805 from childsb/CanSupport_fix
...
Auto commit by PR queue bot
2016-03-05 10:09:35 -08:00
Tim St. Clair
246b389275
Move test-only volume files to test-only volume package
2016-02-29 14:44:28 -08:00
childsb
7fed6f9f47
Remove host command sniffing from CanSupport(..)
2016-02-23 17:13:14 -06:00
Chao Xu
ad46715f51
generate fake client for release_1_2
2016-02-17 16:10:02 -08:00
Chao Xu
1b047f8e67
rename legacy to core
2016-02-04 14:26:56 -08:00
Chao Xu
c72d234bbf
replacing handwritten client in several controllers
2016-01-31 15:42:02 -08:00
Fabio Yeon
7205a160ac
Remove all instances of "/tmp" from unit tests and replace with a common
...
tmp directory creator. Exception is documented.
2016-01-27 16:11:22 -08:00
k8s-merge-robot
3f5e417999
Merge pull request #19502 from swagiaal/internalize-ownership
...
Auto commit by PR queue bot
2016-01-26 23:06:39 -08:00
Clayton Coleman
33085c0cf2
Update tests to handle codec changes
2016-01-22 13:27:26 -05:00
Mike Danese
33c72db59c
Merge pull request #19528 from resouer/strings-util
...
Create strings pkg to fix util issue
2016-01-14 21:19:17 -08:00
harry
7405c7899b
Add strings pkg to hold strings utils
...
Replace funtions with strings pkg
Fix all references and rename the pkg
2016-01-15 12:37:50 +08:00
Sami Wagiaalla
52c9a3abe2
RBD return output in error case
2016-01-14 11:33:33 -05:00
Sami Wagiaalla
7767698459
Remove SupportsOwnershipManagement volume attribute
2016-01-13 10:37:10 -05:00
Sami Wagiaalla
4ac151321a
Call SetVolumeOwnership from volume plugins
2016-01-13 10:37:10 -05:00
Sami Wagiaalla
f650648aae
Add fsGroup to SetUp and SetUpAt
2016-01-13 10:37:10 -05:00
k8s-merge-robot
6f50699b93
Merge pull request #17192 from SuhasAnand/SuhasAnand-rbd-attachdisk-fix_unnecessary_call
...
Auto commit by PR queue bot
2016-01-11 22:07:00 -08:00
Chakravarthy Nelluri
fa76de79e5
Add support for flex volume. Flex volume adds support for thirdparty(vendor)
...
volumes and custom mounts.
2015-12-23 14:11:38 -08:00
Phillip Wittrock
c67ce887f2
Volume Metrics Interface and base implementation.
...
- Add volume.MetricsProvider function to Volume interface.
- Add volume.MetricsDu for providing metrics via executing "du".
- Add volulme.MetricsNil for unsupported Volumes.
2015-12-09 16:06:24 -08:00
Sami Wagiaalla
66c905d63e
Distinguish normal mount from format and mount in SafeFormatAndMount
2015-12-02 11:16:00 -05:00
Paul Morie
911757486d
Refactor volume.Builder.IsReadOnly() to volume.Builder.GetAttributes()
2015-11-13 23:34:48 -05:00
Suhas
ab01a22fef
rdb util: AttachDisk: Skip unnecessary call for waitforpath
...
Skip unnecessary call to waitforpath if found = true during the first call.
2015-11-12 16:32:10 -08:00
Sami Wagiaalla
1d352a16b8
Support volume relabling for pods which specify an SELinux label
2015-10-28 09:26:58 -04:00
Paul Morie
3cd12f5e05
FSGroup implementation
2015-10-22 16:40:59 -04:00
Huamin Chen
de41fd3960
rbd: no more remount.
...
remount was originally needed to ensure rw/ro is set correctly. There is no such need since mount is using exec interface
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-10-08 13:50:41 -04:00
Huamin Chen
8dbbcefdec
rbd: don't use /dev/rbd/pool/image; use sysfs to find rbd device instead
...
rbd: if rbd image is not formatted, format it to the designated filesystem type
rbd: update example README.md and include instructions to get base64 encoded Ceph secret
if rbd fails to lock image, unmap the image before exiting
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-09-29 10:13:01 -04:00
Filip Grzadkowski
7fe34f2050
Introduce nsenter writer for volume plugins
2015-09-17 16:40:29 +02:00
Chao Xu
64bf839e9f
refactor tests to use testapi rather than latest directly
2015-09-11 17:32:23 -07:00
Chao Xu
dd6c121d7f
massive changes
2015-09-11 17:31:47 -07:00
markturansky
0e7f73ad67
expand volume.Spec to include full Volume and PV
2015-09-03 08:57:32 -04:00
deads2k
7e180c258d
update testclient for delegating reaction chain
2015-09-01 12:58:35 -04:00
Saad Ali
b05cab0bc5
Merge pull request #6945 from eparis/IsMountPoint
...
Rename IsMountPoint to IsLikelyNotMountPoint
2015-08-19 12:47:51 -07:00
Kris Rousey
ae6c64d9bb
Moving everyone to unversioned client
2015-08-18 10:23:03 -07:00
Eric Paris
f125ad88ce
Rename IsMountPoint to IsLikelyNotMountPoint
...
IsLikelyNotMountPoint determines if a directory is not a mountpoint.
It is fast but not necessarily ALWAYS correct. If the path is in fact
a bind mount from one part of a mount to another it will not be detected.
mkdir /tmp/a /tmp/b; mount --bin /tmp/a /tmp/b; IsLikelyNotMountPoint("/tmp/b")
will return true. When in fact /tmp/b is a mount point. So this patch
renames the function and switches it from a positive to a negative (I
could think of a good positive name). This should make future users of
this function aware that it isn't quite perfect, but probably good
enough.
2015-08-14 18:45:43 -04:00
Kris Rousey
565189f5b8
Correcting all go vet errors
2015-08-11 13:55:37 -07:00
Rohith
dc23ded091
- fixing the complaint on the gofmt
2015-08-10 23:57:05 +01:00
Rohith
bb31cd29ea
- fixed the defencing of the rbd lock
2015-08-10 23:33:25 +01:00
Mike Danese
17defc7383
run gofmt on everything we touched
2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
markturansky
8639f24374
rebased and updated
2015-07-29 14:38:40 -04:00
markturansky
920cb34b1e
rebased and updated to latest
2015-07-29 14:38:40 -04:00
markturansky
63ccfa2beb
Added unit tests for each PV using IsReadOnly
2015-07-29 14:38:40 -04:00
markturansky
fae6759490
IsReadOnly bool on builder
2015-07-29 14:35:37 -04:00
markturansky
124bb22f92
Honor ReadOnly flag from persistent-volume plugin
2015-07-29 14:34:15 -04:00
jiangyaoguo
72e899e1b5
refector rbd volume to seperate builder and cleaner
2015-07-26 01:11:25 +08:00
Huamin Chen
fa8a2ef81d
fencing off multiple rbd mount
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-07-24 11:49:32 -04:00
markturansky
fe6399a689
Changed plugin name from exported to private
2015-06-29 13:07:22 -04:00