Commit Graph

377 Commits

Author SHA1 Message Date
Chakravarthy Nelluri
f53bc4ebe0 Flexvolume: Add support for multiple secrets 2016-04-15 02:40:38 -07:00
k8s-merge-robot
acf9492cb1 Merge pull request #23660 from goltermann/vetclean
Automatic merge from submit-queue

Additional go vet fixes

Mostly:
- pass lock by value
- bad syntax for struct tag value
- example functions not formatted properly
2016-04-12 06:22:16 -07:00
Saad Ali
d7b069fbcc Merge pull request #23793 from pmorie/configmap-nonroot
Make ConfigMap volume readable as non-root
2016-04-06 15:11:25 -07:00
goltermann
696423e044 Vet fixes, mostly pass lock by value errors. 2016-04-06 11:27:40 -07:00
Paul Morie
e838ff2893 Make ConfigMap volume readable as non-root 2016-04-05 12:20:52 -04:00
saadali
e7b14e721a Ensure volume GetCloudProvider code uses cloud config 2016-04-04 10:59:13 -07:00
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
Vishnu kannan
9e5ddcb822 Do not track resource usage for host path volumes. They can contain loops.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-03-24 12:05:08 -07:00
k8s-merge-robot
f3fbd64927 Merge pull request #23334 from thockin/volume-maintainers
Auto commit by PR queue bot
2016-03-24 00:17:19 -07:00
k8s-merge-robot
76369c42be Merge pull request #22939 from resouer/util-sub-dir
Auto commit by PR queue bot
2016-03-23 03:34:33 -07:00
Tim Hockin
23fe2a3584 add maintainers for each volume driver 2016-03-22 22:19:53 -07:00
Jan Safranek
f270cb1b9b Allow 39 atached EBS devices.
AWS has soft support limit for 40 attached EBS devices. Assuming there is just
one root device, use the rest for persistent volumes.

The devices will have name /dev/xvdba - /dev/xvdcm, leaving /dev/sda - /dev/sdz
to the system.

Also, add better error handling and propagate error
"Too many EBS volumes attached to node XYZ" to a pod.
2016-03-15 17:28:59 +01:00
k8s-merge-robot
45064e19d1 Merge pull request #22793 from justinsb/fix_22792
Auto commit by PR queue bot
2016-03-11 20:37:25 -08:00
harry
5b359213b1 Refactor env into sub pkg
Refactor env into sub pkg
2016-03-11 13:52:45 +08:00
k8s-merge-robot
65605023d5 Merge pull request #22602 from justinsb/multizone_label_dynamic_pvs
Auto commit by PR queue bot
2016-03-10 21:19:05 -08:00
Justin Santa Barbara
16730aba96 AWS: Tag created EBS volumes with our cluster tag
Fix #22792
2016-03-10 08:13:50 -05:00
Justin Santa Barbara
c771bf43c4 Ubernetes Lite: apply auto-labels to dynamically provisioned volumes
Fix #22532
2016-03-09 15:17:45 -05:00
Yang Meng
a5189d8bd1 update mountpath of volume after migration 2016-03-07 18:00:06 +08:00
k8s-merge-robot
791c694c21 Merge pull request #22132 from pmorie/remove-atomic-sentinel
Auto commit by PR queue bot
2016-03-05 12:06:16 -08: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
k8s-merge-robot
b198c820cd Merge pull request #22402 from erictune/psp-simplify
Auto commit by PR queue bot
2016-03-05 07:55:19 -08:00
Eric Tune
4d090bfb09 Rename PodSecurityPolicy fields
In podSecurityPolicy:
1. Rename .seLinuxContext to .seLinux
2. Rename .seLinux.type to .seLinux.rule
3. Rename .runAsUser.type to .runAsUser.rule
4. Rename .seLinux.SELinuxOptions

1,2,3 as suggested by thockin in #22159.
I added 3 for consistency with 2.
2016-03-03 11:49:48 -08:00
k8s-merge-robot
ad69472a48 Merge pull request #21583 from sjenning/rm-unused-func
Auto commit by PR queue bot
2016-03-03 03:48:15 -08:00
k8s-merge-robot
d81d823ca5 Merge pull request #22393 from eparis/blunderbuss
Auto commit by PR queue bot
2016-03-02 18:51:56 -08:00
Eric Paris
5e5a823294 Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
Tim St. Clair
246b389275 Move test-only volume files to test-only volume package 2016-02-29 14:44:28 -08:00
Paul Morie
26471d5723 Remove sentinel file from atomic writer 2016-02-27 16:09:06 -05:00
k8s-merge-robot
18130824b2 Merge pull request #21758 from childsb/1308588
Auto commit by PR queue bot
2016-02-26 22:33:20 -08:00
Fabio Yeon
658f7ef397 Merge pull request #21738 from jsafrane/devel/fix-admission
Hot-fix admission of volumes that are being provisioned.
2016-02-26 16:05:04 -08:00
childsb
8d4aa5d387 Run through gofmt -s 2016-02-25 13:00:12 -06:00
Dogan Narinc and Yoseph Samuel
aa65fe8903 Fix EBS when hostname is not the node name
Similar to #11543, the local hostname is not guaranteed to be the node
name, as the AWS cloud provider looks up node name using
`private-dns-name`. This value can be different such as when using a
private hosted zone.

The previous code uses GetHostName(), which fails in this case. Instead,
pass in an empty string so the aws cloud provider will use the cached
self instance to find the instance id.

Authors: @balooo, @dogan-sky, @jsravn
2016-02-25 16:45:44 +00:00
childsb
7fed6f9f47 Remove host command sniffing from CanSupport(..) 2016-02-23 17:13:14 -06:00
childsb
61f6c3bc13 Remove the check for a gluster specific binary in 'canSupport'. Causes problems in containerized kube. 2016-02-23 09:40:35 -06:00
Jan Safranek
a304e3478d Hot-fix admission of volumes that are being provisioned.
This is a first-aid bandage to let admission controller ignore persistent
volumes that are being provisioned right now and thus may not exist in
external cloud infrastructure yet.
2016-02-23 09:46:40 +01:00
k8s-merge-robot
11cdc919f5 Merge pull request #21364 from pwittrock/macdu
Auto commit by PR queue bot
2016-02-22 10:09:03 -08:00
Seth Jennings
c3e707ea0f remove unused function 2016-02-19 15:19:15 -06:00
Paul Morie
f8d58ac708 Make flake in configMap update e2e easier to debug 2016-02-19 15:01:20 -05:00
k8s-merge-robot
eb45154996 Merge pull request #21348 from caesarxuchao/generate-fake-for-1-2
Auto commit by PR queue bot
2016-02-18 23:02:05 -08:00
Chao Xu
ad46715f51 generate fake client for release_1_2 2016-02-17 16:10:02 -08:00
laushinka
7ef585be22 Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
Phillip Wittrock
1e5175594d Fix volume secret_test.go on darwin by not checking volume usage metrics 2016-02-17 12:56:37 -08:00
Paul Morie
d1dc259ef2 ConfigMap volume source 2016-02-14 16:19:17 -05:00
k8s-merge-robot
315a509340 Merge pull request #20900 from jsafrane/devel/volume-names
Auto commit by PR queue bot
2016-02-13 17:58:29 -08:00
k8s-merge-robot
e3938ce15f Merge pull request #20495 from childsb/recycler_template_fix
Auto commit by PR queue bot
2016-02-13 11:30:14 -08:00
Jan Safranek
1d0b1c227b Add PV.Name into names of generated GCE/AWS/OSP volumes.
Volume names have now format <cluster-name>-dynamic-<pv-name>.

pv-name is guaranteed to be unique in Kubernetes cluster, adding
<cluster-name> ensures we don't conflict with any running cluster
in the cloud project (kube-controller-manager --cluster-name=XXX).

'kubernetes' is the default cluster name.
2016-02-12 09:46:59 +01:00
Paul Morie
cc967972a1 Run atomic_writer_test only on linux 2016-02-11 22:10:51 -05:00
childsb
df68b6c38f Updated recycler template with exit code on failure. 2016-02-10 14:48:39 -06:00
childsb
aa9bd70de9 Merge remote-tracking branch 'upstream/master' into recycler_template_fix 2016-02-10 14:47:55 -06:00