Commit Graph

713 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
203d5f07c8
Merge pull request #77510 from wojtek-t/revert_beorn7
Revert "github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973"
2019-05-06 08:31:42 -07:00
wojtekt
21e51ddf36 Revert "github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973"
This reverts commit a2ec981f67.
2019-05-06 16:07:40 +02:00
Davanum Srinivas
8824e0fcf7
Use latest etcd from release-3.3 branch for dropping ugorji
Pick up changes from:
https://github.com/etcd-io/etcd/pull/10675

Change-Id: Ic4d6daa3c54824d3d27809a125b798e88db0bf7e
2019-05-02 14:12:01 -04:00
Davanum Srinivas
edf8577654
Remove Rancher Credential Provider from upstream kubernetes
This is useful only in rancher environment, they are using this in a
very old branch (1.6), they are currently at 2.2.x. There is just no
point in us carrying this code as this is not useful to anyone else
outside of the rancher environment. Let us please remove this code from
upstream.

Change-Id: I5196d0edd79a7809c3a04e6028ddbd01063f224b
2019-04-25 19:10:01 -04:00
Pengfei Ni
7976402a87 Upgrade go-autorest to v11.1.2 2019-04-25 16:51:30 +08:00
Kubernetes Prow Robot
33f907a4df
Merge pull request #76912 from tallclair/cloudinfo
Reregister cAdvisor cloud info providers in Kubelet
2019-04-22 17:10:07 -07:00
Tim Allclair
c12b053390 Reregister cAdvisor cloud info providers in Kubelet 2019-04-22 15:43:45 -07:00
Pengfei Ni
620a5b32a9 Update vendors 2019-04-22 13:31:47 +08:00
Jordan Liggitt
56b1963705 github.com/onsi/ginkgo v1.6.0 2019-04-16 10:28:44 -04:00
Jordan Liggitt
12d66f6d64 github.com/golang/protobuf v1.2.0 2019-04-14 00:51:33 -04:00
Jordan Liggitt
2c6a6cd42a bump github.com/prometheus/client_model, github.com/prometheus/profcs to preferred versions 2019-04-14 00:01:52 -04:00
Davanum Srinivas
437a7333e3
remove unnecessary vendoring of cmd/cfssl
During dc9def6f93, which was a revert for
7a10073e4a we forgot to remove the extra
thing we started vendoring. So let's drop the cmd/cfssl

Change-Id: I308dc41cdb9b990f2b4ab8d59ad0445d5ac02e8c
2019-04-12 14:10:05 -04:00
Kubernetes Prow Robot
78f571dcfc
Merge pull request #76291 from dims/update-to-latest-cadvisor-remove-mesos-rkt
Update to latest cadvisor - cleanup mesos/rkt
2019-04-12 06:15:00 -07:00
Davanum Srinivas
70d562a6ac
Update to latest cadvisor - cleanup mesos/rkt
Change-Id: Ib5ae0cb13b93f8c87bb74e3ba33040df5f3d6a6f
2019-04-11 14:49:23 -04:00
Alok Kumar Singh
5c113cf435 Docker dependency updated to 18.09.4 i.e be7ac8be2ae072032a4005e8f232be3fc57e4127 2019-04-11 20:49:41 +05:30
Jordan Liggitt
e8e15acff6 github.com/stretchr/objx v0.1.1, github.com/stretchr/testify v1.2.2 2019-04-08 15:20:44 -04:00
Jordan Liggitt
3cabb5e654 github.com/sirupsen/logrus v1.2.0 2019-04-08 15:20:44 -04:00
Jordan Liggitt
e2e1f497d0 github.com/pborman/uuid v1.2.0 2019-04-08 15:20:44 -04:00
Jordan Liggitt
319ff2fd31 github.com/mitchellh/mapstructure v1.1.2
Used only by github.com/go-openapi/..., all expecting v1.1.2
2019-04-08 15:20:44 -04:00
Jordan Liggitt
1970be1ea9 github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329
Used only by github.com/go-openapi/..., all expecting 60711f1a8329
2019-04-08 15:20:43 -04:00
Jordan Liggitt
6c371b06c1 github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af
Used only by github.com/aws/aws-sdk-go, expecting c2b33e8439af
2019-04-08 15:20:43 -04:00
Jordan Liggitt
14df726621 github.com/docker/go-units v0.3.3
Used by github.com/go-openapi/..., expecting v0.3.3
2019-04-08 15:20:43 -04:00
Jordan Liggitt
8ad7a9595a github.com/davecgh/go-spew v1.1.1 2019-04-08 15:20:43 -04:00
Jordan Liggitt
a2ec981f67 github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973
Used only by github.com/prometheus/..., all expecting 3a771d992973
2019-04-08 15:20:43 -04:00
Jordan Liggitt
4bd9dcb855 github.com/bazelbuild/buildtools v0.0.0-20180226164855-80c7f0d45d7e
Used only by github.com/bazelbuild/bazel-gazelle, expecting 80c7f0d45d7e
2019-04-08 15:20:43 -04:00
Jordan Liggitt
2cbf496c8e github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
Used only by github.com/go-openapi/..., all expecting de5bf2ad4578
2019-04-08 15:20:43 -04:00
Jordan Liggitt
5627034673 github.com/PuerkitoBio/purell v1.1.0
Used only by github.com/go-openapi/..., all expecting v1.1.0
2019-04-08 15:20:43 -04:00
Jordan Liggitt
d0261b1077 generated: hack/update-vendor.sh 2019-04-03 10:19:40 -04:00
Jordan Liggitt
7061281d4b Remove unused github.com/go-ini/ini dep 2019-04-03 09:15:39 -04:00
Doug MacEachern
243da8c365 godeps: update vmware/govmomi to v0.20 release 2019-03-25 10:08:08 -07:00
Brian Goff
4482e3f8a0 Bump fsnotify vendor to 1.4.7
This fixes a number of issues including deadlocks and leaking file
descriptors due to not using `O_CLOEXEC`
2019-03-15 12:03:17 -07:00
Prasad Ghangal
317ecf58cc
Update golang.org/x/net/... dependencies to release-branch.go1.11
- latest grpc-ecosystem/go-grpc-middleware

Change-Id: Ida7d01e4606f6e0313e1355db6e85be0c0ef1dd1
2019-03-12 09:48:52 -04:00
Hemant Kumar
1bd9ed06d3 Update csi library version 2019-03-08 09:23:18 -05:00
Hemant Kumar
63eb25eb4b Introduce feature gate for volume expansion
Update CSI library version
2019-03-08 09:21:44 -05:00
Kubernetes Prow Robot
39718e4215
Merge pull request #75140 from Random-Liu/cadvisor-0-33-1
Update cadvisor to v0.33.1.
2019-03-08 00:53:41 -08:00
Kubernetes Prow Robot
535064773a
Merge pull request #73946 from dashpole/prometheus_core_metrics
Add kubelet resource metrics v1alpha1 endpoint
2019-03-07 22:43:28 -08:00
Lantao Liu
74f4579f07 Update cadvisor to v0.33.1. 2019-03-07 12:01:57 -08:00
David Ashpole
4e063fe007 update cadvisor godeps to v0.33.0 2019-02-27 11:02:48 -08:00
Kubernetes Prow Robot
1eb2acca99
Merge pull request #74248 from danielqsj/pdep
Update vendor prometheus/common/... to latest release
2019-02-25 11:33:43 -08:00
danielqsj
c6a16d6017 update vendor prometheus/client_golang to newest release 2019-02-22 22:51:41 +08:00
Kubernetes Prow Robot
a2592364be
Merge pull request #74260 from stafot/update-vendor-dependencies
Update vendor package github.com/hashicorp/golang-lru
2019-02-20 21:41:46 -08:00
Kubernetes Prow Robot
c06ca11b5d
Merge pull request #70896 from ksubrmnn/overlay_dsr
Adding Windows Overlay support to Kube Proxy
2019-02-20 12:53:13 -08:00
Kubernetes Prow Robot
23a085062c
Merge pull request #69782 from darkowlzz/storageos-updates
StorageOS attach device before volume attach
2019-02-20 12:51:57 -08:00
Stavros Foteinopoulos
df3fbf9295
Update vendor package github.com/hashicorp/golang-lru 2019-02-20 07:58:46 +02:00
David Ashpole
fec22bbb25 update gomega godep 2019-02-19 13:22:45 -08:00
danielqsj
d3d41a85b3 update vendor prometheus/common to newest release 2019-02-19 02:26:44 -07:00
Kubernetes Prow Robot
03320c1436
Merge pull request #73985 from BenTheElder/manual-vendor
mark vendor build targets manual
2019-02-13 16:12:02 -08:00
Benjamin Elder
91ddb093b8 run hack/update-bazel.sh 2019-02-12 18:38:36 -08:00
Benjamin Elder
e070d9fd67 vendor buildozer 2019-02-12 18:38:36 -08:00
Lubomir I. Ivanov
76ed5568c3 update the dependency pmezard/go-difflib
A fmt.Sprintf() bug was fixed upstream.
Use the latest SHA from upstream.
2019-02-12 04:08:31 +02:00
Kubernetes Prow Robot
b00b5d4ac0
Merge pull request #73713 from caesarxuchao/bump-json-patch-again
Importing the latest json patch and set the accumulated copy size limit
2019-02-06 21:13:45 -08:00
Kubernetes Prow Robot
04cc8f67fb
Merge pull request #73740 from krzysied/prettybench_vendor
Adding prettybench and go-junit-report to the vendor
2019-02-05 17:27:13 -08:00
Kubernetes Prow Robot
f3a6dbceb2
Merge pull request #68925 from casusbelli/fix_65312
Adding Quobyte Tenant to QuobyteVolumeSource to enable deletion of persistent volumes
2019-02-05 12:08:37 -08:00
ksubrmnn
a4272099e7 Update hcsshim and gowinio for Windows Overlay 2019-02-05 10:39:23 -08:00
Krzysztof Siedlecki
6c1a842248 adding prettybench and go-junit-report to vendor 2019-02-05 14:54:01 +01:00
Antoine Pelisse
7e4cc38401 Random unrelated vendor 2019-02-04 13:51:48 -08:00
Chao Xu
b8911b8d79 Importing latest json-patch. 2019-02-04 13:40:01 -08:00
Kubernetes Prow Robot
10a4d5aa8a
Merge pull request #73435 from micahhausler/aws-sdk-update-201901
Updated AWS SDK to v1.16.26 for ECR PrivateLink support
2019-02-04 11:43:03 -08:00
Davanum Srinivas
55a8dbcbfb
Update to latest gophercloud
Change-Id: I0145b899576f76e7116152fee978bc04b05080f8
2019-01-30 11:46:17 -05:00
Chao Xu
404c057b67 update json-patch to pick up bug fixes 2019-01-29 10:08:55 -08:00
Micah Hausler
9842136eed Updated AWS SDK to v1.16.26 for ECR privatelink support 2019-01-28 14:31:53 -08:00
Sunny
a4cc754fb4
StorageOS update api library 2019-01-28 22:57:58 +05:30
Kubernetes Prow Robot
a5e424dc17
Merge pull request #72923 from saschagrunert/dedent-update
Update dedent to latest release
2019-01-25 18:32:23 -08:00
Silvan Kaiser
cc71b0aebd Adding Tenant to QuobyteVolumeSource
Adds the tenant id to the QuobyteVolumeSource type and
updates the quobyte api client to support looking up
volume ids.
2019-01-22 14:42:12 +01:00
Kubernetes Prow Robot
ef2a5b948b
Merge pull request #72138 from dims/switch-location-for-goautoneg
Switch location for goautoneg vendored code
2019-01-18 14:42:46 -08:00
Sascha Grunert
ba7aaa911d
Update dedent to latest release
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-01-17 08:30:07 +01:00
Davanum Srinivas
16fd72d6c9
Switch location for goautoneg vendored code
Move to github.com/munnerz/goautoneg as bitbucket is flaky!

Change-Id: Iaa6e964ef0d6f308eea59bcc6f365ecd7dbf0784
2019-01-15 21:22:03 -05:00
Jordan Liggitt
c3871e69ff Remove swagger12, swagger-ui, api-reference, swagger-spec, go-bindata-assetfs 2019-01-15 12:02:47 -05:00
Jeff Grafton
06d5c50eb2 Update to latest kazel and update generated files
Also switch from github.com/kubernetes/repo-infra to k8s.io/repo-infra.
2019-01-08 14:47:26 -08:00
Jordan Liggitt
096186afb5 Add github.com/liggitt/tabwriter 2019-01-01 22:27:36 -05:00
Sen Lu
242ce12de7 vendor golint 2018-12-26 10:42:24 -08:00
Kubernetes Prow Robot
00ca6939cb
Merge pull request #72038 from bowei/change-gce-cloud-provider
Change gce cloud provider
2018-12-19 14:13:55 -08:00
Kubernetes Prow Robot
774ac6408d
Merge pull request #72114 from sjenning/bump-runc
vendor: bump runc to f000fe11
2018-12-18 21:27:49 -08:00
Bowei Du
6ef9105978 Update Bazel 2018-12-18 10:28:02 -08:00
Bowei Du
295a797047 Add vendored version of the cloud libraries 2018-12-18 10:26:46 -08:00
Seth Jennings
2b64276536 vendor: bump runc to f000fe11 2018-12-17 10:52:13 -06:00
Yecheng Fu
ccb66066a9 vendor github.com/prometheus/client_golang/prometheus/testutil package 2018-12-02 10:25:50 +08:00
Christoph Blecker
c7d3951927
Update github.com/json-iterator/go to 1.1.4 2018-11-20 18:13:01 -08:00
saad-ali
c63476d0c4 Update vendored CSI from v0.3 to v1.0.0 2018-11-15 16:39:42 -08:00
Davanum Srinivas
3fe776f24b
Update vendor dependencies
Change-Id: I3b1ca9f2687388c831d9d46a4e1de413ffae06ac
2018-11-10 07:50:31 -05:00
Humble Chirammal
92fa290ead Update heketi dependencies to sha@558b29266ce0a873991ecfb3edc41a668a998514.
Fixes #
https://github.com/kubernetes/kubernetes/issues/70802

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2018-11-09 21:08:56 +05:30
Christoph Blecker
d15da2c586
Update godeps 2018-11-07 11:02:07 -08:00
Christoph Blecker
57e1d0adcc
Move godep from vendor to third_party/forked/ 2018-11-06 11:44:02 -08:00
Jeff Grafton
52a08ddce6 Update to gazelle 0.15.0 2018-11-05 15:35:39 -08:00
k8s-ci-robot
45550cadbe
Merge pull request #70477 from andyzhangx/azure-ultrassd-sdk
add azure UltraSSD disk support
2018-11-01 22:16:55 -07:00
Mikhail Mazurskiy
8763223ab9
Update a few dependencies
github.com/go-openapi/*
github.com/asaskevich/govalidator
2018-11-01 09:59:43 +11:00
andyzhangx
d210b4bcf3 upgrade azure sdk to support ultra ssd
update Godeps.json

update azure sdk for ultrassd support

update bazel

fix build failure
2018-10-31 10:08:52 +00:00
Guoliang Wang
d462e1e8d7 Update vendor package github.com/coreos/... 2018-10-24 07:52:40 +00:00
k8s-ci-robot
b5c25728ec
Merge pull request #69718 from andyzhangx/azurefile-premium
support Azure premium file for azure file plugin
2018-10-18 05:18:50 -07:00
k8s-ci-robot
3348f9ae23
Merge pull request #69627 from dims/updating-ghodss-yaml-to-latest-version-2
Updating ghodss/yaml and gopkg.in/yaml.v2 to latest version 2
2018-10-12 14:48:26 -07:00
Davanum Srinivas
6364af128b
Updating ghodss/yaml and gopkg.in/yaml.v2 to latest version
Change-Id: I1f1a10b68a2d3e796724c6ac26f0ed3260153588
2018-10-10 10:24:09 -04:00
andyzhangx
12284c9817 upgrade azure go sdk for azure file premium support
update azure sdk for azure file premium support

update azure sdk to support azure file premium

update bazel
2018-10-09 13:28:51 +00:00
Joe Betz
4263c75211 Update etcd client to 3.3.9 2018-10-08 13:34:34 -07:00
Christoph Blecker
2e5578b230
Bump github.com/google/certificate-transparency-go to v1.0.21 2018-10-03 16:47:10 -07:00
k8s-ci-robot
ca7b4bab6f
Merge pull request #68874 from Lion-Wei/ipvs-graceful-termination-vendor
update vendor for ipvs graceful termination
2018-09-26 20:37:29 -07:00
k8s-ci-robot
a94ea824eb
Merge pull request #68238 from justinsb/update_reflect2_to_101
Update reflect2 to 1.0.1 (memory utilization fix)
2018-09-25 05:02:43 -07:00
Lion-Wei
7517f6baac update vendor 2018-09-20 16:16:15 +08:00
k8s-ci-robot
9cf822183f
Merge pull request #68442 from CaoShuFeng/json-patch
vendor: bump github.com/evanphx/json-patch
2018-09-12 15:05:03 -07:00
David Ashpole
788196e45b update cadvisor to v0.31.0 2018-09-10 10:31:56 -07:00
Cao Shufeng
2e974f30ab vendor: bump github.com/evanphx/json-patch
Grab important bug fix that can cause a `panic()` from this package on
certain inputs. See https://github.com/evanphx/json-patch/pull/64
2018-09-10 11:33:02 +08:00
Brandon Philips
2fbd47da56 vendor: bump github.com/evanphx/json-patch
Grab important bug fix that can cause a `panic()` from this package on
certain inputs. See 73af7f547e

Signed-off-by: Brandon Philips <brandon@ifup.org>
2018-09-07 17:09:13 -07:00
Jeff Grafton
6034bf68d0 Update to gazelle 0.14.0 and run hack/update-bazel.sh 2018-09-05 15:27:15 -07:00
Timothy St. Clair
0bb21f647f Update etcd client to 3.2.24 for latest release
Signed-off-by: Timothy St. Clair <timothysc@gmail.com>
2018-09-04 21:39:43 -05:00
Justin Santa Barbara
970e4da4c6 Update reflect2 to 1.0.1 (memory utilization fix)
Picking up https://github.com/modern-go/reflect2/pull/2 which lazy
initializes a map of all types which we don't use in k8s, saving
memory & initialization time.
2018-09-04 22:24:37 -04:00
Jess Frazelle
31ffd9f881
vendor: update docker cadvisor winterm
This vendor change was purely for the changes in docker to allow for
setting the Masked and Read-only paths.

See: moby/moby#36644

But because of the docker dep update it also needed cadvisor to be
updated and winterm due to changes in pkg/tlsconfig in docker

See: google/cadvisor#1967

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-08-30 11:40:05 -04:00
Doug MacEachern
5816a8bc18 godeps: update vmware/govmomi
Update required to continue work on #64021

- The govmomi tag API changed

- Pulling in the new vapi/simulator package for testing the VCP Zones impl
2018-08-22 11:11:11 -07:00
Kubernetes Submit Queue
6b41352679
Merge pull request #65779 from cblecker/mergo-update
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

update github.com/imdario/mergo to v0.3.5

**What this PR does / why we need it**:
Updates github.com/imdario/mergo library to v0.3.5. We were pinned because of a functionality change in the dependency, however, a new function was introduced with similar functionality to the old.

There is apparently some Debian packaging issues (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878254) because of this. I'm still not clear what those are, unless they are forcing the library to update, as opposed to using our `vendor/`.

That said, this will allow for some of those vendor conflicts to resolve for anyone else who is using client-go, so that's at least worthwhile.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
fixes #27543, fixes https://github.com/kubernetes/client-go/issues/431

**Special notes for your reviewer**:

**Release note**:
```release-note
NONE
```
2018-08-17 14:43:48 -07:00
Kubernetes Submit Queue
99c17d89c7
Merge pull request #66244 from sigma/pr/update-pb-ext
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

update github.com/matttproud/golang_protobuf_extensions to 1.0.1

**What this PR does / why we need it**:

This updates github.com/matttproud/golang_protobuf_extensions to a released
version.
There's no significant change in the code itself, and the corresponding
tests (which are not vendored) behave better with vgo (see details in #65683).

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2018-08-16 18:28:55 -07:00
Christoph Blecker
ed7304b30c
Bump cfssl to 56268a6 2018-08-08 21:22:01 -07:00
Christoph Blecker
952fc9f6f8
Vendor cfssl and cfssljson 2018-08-08 21:01:29 -07:00
jiatongw
5c44fd871f Update vmware/govmomi vendor: add vapi package
Zones implementation for vSphere cloud provider needs dependencies
which are not included in current vmware/govmomi vendor. So this
update added "vapi" package to support zones.
2018-08-03 22:11:42 -07:00
Pengfei Ni
af1875fca6 Update Azure Go SDK to v19.0.0 2018-07-25 17:39:33 +08:00
Solly Ross
9aa916d1e9 Update Godeps after removing influx tests
When the influx tests were removed, it should have also removed the
influx deps from Godeps.  This does that.
2018-07-19 21:12:11 -04:00
Yann Hodique
c4244a69e0 update github.com/matttproud/golang_protobuf_extensions to 1.0.1
This updates github.com/matttproud/golang_protobuf_extensions to a released
version.
There's no significant change in the code itself, and the corresponding
tests (which are not vendored) behave better with vgo (see details in #65683).
2018-07-17 09:20:07 -07:00
Christoph Blecker
f97fdf76dc
Remove unneeded deps 2018-07-07 12:20:46 -07:00
Kubernetes Submit Queue
942777e988
Merge pull request #64511 from quobyte/api_update
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Quobyte API update

**What this PR does / why we need it**:
Quobyte vendor API update
The current version supports both UUID/name of the volume for the storage class.

**Release note**:
```release-note
NONE
```
2018-07-05 12:53:05 -07:00
Christoph Blecker
12b2e2c2b5
Update github.com/imdario/mergo to v0.3.5 2018-07-03 13:32:11 -07:00
eisig
3a19e4cb1e update aws-sdk to support new region 2018-06-28 05:21:53 +00:00
Kubernetes Submit Queue
a9e872518a
Merge pull request #65383 from sigma/pr/update-toml
Automatic merge from submit-queue (batch tested with PRs 64122, 64936, 65288, 65383). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

update github.com/pelletier/go-toml to 1.2.0

**What this PR does / why we need it**:

Rationale: github.com/pelletier/go-toml is the only package that currently
prevents the future vendoring of github.com/golang/dep as it depends on
functions introduced in 1.1.0.

The only consumers of this package are github.com/spf13/viper (used to run e2e
tests) and github.com/bazelbuild/bazel-gazelle (bazel helper), so that's a
pretty low-risk change.

**Special notes for your reviewer**:

This should help reducing the noise when #64731 lands

**Release note**:
```release-note
NONE
```
2018-06-22 19:03:22 -07:00
Jeff Grafton
23ceebac22 Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
Jeff Grafton
a725660640 Update to gazelle 0.12.0 and run hack/update-bazel.sh 2018-06-22 16:22:18 -07:00
Jeff Grafton
01f94051c8 Remove the go_default_library_protos filegroups using buildozer 2018-06-22 16:22:18 -07:00
Yann Hodique
ed10dc793e update github.com/pelletier/go-toml to 1.2.0
Rationale: github.com/pelletier/go-toml is the only package that currently
prevents the future vendoring of github.com/golang/dep as it depends on
functions introduced in 1.1.0.

The only consumers of this package are github.com/spf13/viper (used to run e2e
tests) and github.com/bazelbuild/bazel-gazelle (bazel helper), so that's a
pretty low-risk change.
2018-06-22 11:04:31 -07:00
Kubernetes Submit Queue
8888a43abf
Merge pull request #65287 from sigma/pr/update-uuid
Automatic merge from submit-queue (batch tested with PRs 65024, 65287, 65345, 64693, 64941). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

update github.com/satori/go.uuid to 1.2.0

**What this PR does / why we need it**:

This makes sure that github.com/Azure/azure-sdk-for-go has the dependency it
requires: as of v14.6.0, it has a constraint for github.com/satori/go.uuid to be
at 1.2.0 (or above).
This was introduced in https://github.com/Azure/azure-sdk-for-go/pull/979
(see discussion for rationale)

Since github.com/Azure/azure-sdk-for-go is the only consumer of
github.com/satori/go.uuid, there is no reason not to use the correct version.

This also prepares the ground for a future migration to dep.

**Special notes for your reviewer**:

This should help reducing the noise after #64731 lands

```release-note
NONE
```
2018-06-22 06:10:14 -07:00
David Ashpole
e13362c93c update cadvisor godeps to v0.30.2 2018-06-21 13:28:00 -07:00
Yann Hodique
a20c7568e1 update github.com/satori/go.uuid to 1.2.0
This makes sure that github.com/Azure/azure-sdk-for-go has the dependency it
requires: as of v14.6.0, it has a constraint for github.com/satori/go.uuid to be
at 1.2.0 (or above).
This was introduced in https://github.com/Azure/azure-sdk-for-go/pull/979
(see discussion for rationale)

Since github.com/Azure/azure-sdk-for-go is the only consumer of
github.com/satori/go.uuid, there is no reason not to use the correct version.

This also prepares the ground for a future migration to dep.
2018-06-21 08:10:42 -07:00
Kubernetes Submit Queue
a2de1398f8
Merge pull request #65034 from caesarxuchao/json-case-sensitive
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Make kubernetes json serializer case sensitive

This PR imported the latest jsoniterator library so that case sensitivity during unmarhsaling is optional. The PR also set Kubernetes json serializer to be case sensitive.

Kubernetes json serializer had been case sensitive for 1.1-1.7 as we were using ugorji. This PR restores the behavior.

Fix #64612.

```release-notes
Kubernetes json deserializer is now case-sensitive as it was before 1.8.
If your config files contains fields with wrong case, the config files will be now invalid.
```
2018-06-14 15:41:26 -07:00
Chao Xu
dd69be30a5 vendor the latest json-iterator 2018-06-14 12:29:27 -07:00
Jess Frazelle
b6b47649e0
vendor: update hcsshim to v0.6.11
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-14 10:54:13 -04:00
David Ashpole
21fd3c5cfd update cadvisor godeps to v0.30.1 to revert cadvisor#1916 2018-06-11 11:36:17 -07:00
David Ashpole
4df5bd0917 update cadvisor godeps to v0.30.0 2018-06-05 17:05:35 -07:00
David Zhu
4ece3be08e Bazel BUILD fixes 2018-06-04 14:31:50 -07:00
David Zhu
103d5070f3 update golang/protobuf to v1.1.0 to satisfy CSI v0.3.0 hard requirement 2018-06-04 13:53:02 -07:00
David Zhu
62d42d7bbc Update container-storage-interface/spec vendor to v0.3.0 (and related dependencies) 2018-06-04 13:25:18 -07:00
Venkata Subbarao Chunduri
6eef91b7cf Quobyte API update 2018-05-30 13:56:37 +02:00
Jordan Liggitt
2d28e0d6a3
bump(github.com/evanphx/json-patch): 94e38aa1586e8a6c8a75770bddf5ff84c48a106b 2018-05-25 22:29:07 -04:00
Doug MacEachern
0791fca5ee update bazel 2018-05-15 10:08:38 -07:00
Doug MacEachern
c340f6f9a4 vSphere Cloud Provider: update vmware/gomvomi godeps 2018-05-15 10:06:56 -07:00
Davanum Srinivas
ddfcf1e193 Update to latest Gophercloud
6da026c32e...781450b3c4
2018-05-03 16:37:01 -04:00
Pengfei Ni
b1b930a39b Upgrade Azure Go SDK to v14.6.0 2018-04-26 09:38:48 +08:00
Kubernetes Submit Queue
3dbcd1ddce
Merge pull request #63059 from ceshihao/upgrade_json_package_fix_base64_newline
Automatic merge from submit-queue (batch tested with PRs 59965, 59115, 63076, 63059). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Upgrade dep json-iterator/go to fix base64 decode bug

**What this PR does / why we need it**:
upgrade dep `json-iterator/go` to fix base64 decode bug #62742

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #62742

**Special notes for your reviewer**:
Just upgrade `json-iterator/go` to latest which includes base64 decode fix https://github.com/json-iterator/go/pull/266
No other code changes

**Release note**:

```release-note
None
```
2018-04-25 17:07:18 -07:00
Kubernetes Submit Queue
667dd711e7
Merge pull request #61926 from filbranden/cgroupdriver10
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Update libcontainer to include PRs with fixes to systemd cgroup driver

**What this PR does / why we need it**:

PR opencontainers/runc#1754 works around an issue in manager.Apply(-1) that makes Kubelet startup hang when using systemd cgroup driver (by adding a timeout) and further PR opencontainers/runc#1772 fixes that bug by checking the proper error status before waiting on the channel.
    
PR opencontainers/runc#1776 checks whether Delegate works in slices, which keeps libcontainer systemd cgroup driver working on systemd v237+.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #61474

**Special notes for your reviewer**:
/assign @derekwaynecarr
cc @vikaschoudhary16 @sjenning @adelton @mrunalp 

**Release note**:

```release-note
NONE
```
2018-04-25 10:46:28 -07:00
ceshihao
5528a4d298 upgrade dep json-iterator/go to fix #62742 2018-04-25 13:59:01 +00:00
Christoph Blecker
4644761625
Clean up and remove unused deps 2018-04-24 23:55:29 -07:00
Filipe Brandenburger
54d93820ee Update libcontainer to include PRs with fixes to systemd cgroup driver
PR opencontainers/runc#1754 works around an issue in manager.Apply(-1) that
makes Kubelet startup hang when using systemd cgroup driver (by adding a
timeout) and further PR opencontainers/runc#1772 fixes that bug by
checking the proper error status before waiting on the channel.

PR opencontainers/runc#1776 checks whether Delegate works in slices,
which keeps libcontainer systemd cgroup driver working on systemd v237+.

PR opencontainers/runc#1781 makes the channel buffered, so if we time
out waiting on the channel, the updater will not block trying to it
since there are no longer any consumers.
2018-04-24 13:29:13 -07:00
Van Tu
e1cd5eeabc Update github.com/stretchr/testify to v1.2.1
cd $GOPATH/src/k8s.io/kubernetes
hack/godep-restore.sh
rm -rf Godeps
rm -rf vendor
hack/godep-save.sh
hack/update-staging-godeps.sh
2018-04-19 10:00:31 -04:00
Kubernetes Submit Queue
af91dfc9e6
Merge pull request #62499 from ixdy/update-kazel
Automatic merge from submit-queue (batch tested with PRs 62436, 62499, 62664, 62685, 62660). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Update kazel to include openapi tag detection fix

**What this PR does / why we need it**: includes the fix from https://github.com/kubernetes/repo-infra/issues/67 for https://github.com/kubernetes/repo-infra/issues/66, which was discovered in @thockin's PR https://github.com/kubernetes/kubernetes/pull/57600/files#r178665554.

**Special notes for your reviewer**: I'm not sure what's up with the large list of comment diffs in `Godeps.json`; it looks like the `git describe` strings were (unintentionally?) truncated in @brendanburns's PR https://github.com/kubernetes/kubernetes/pull/61955.

**Release note**:

```release-note
NONE
```

/assign @brendanburns @thockin @mikedanese
2018-04-17 17:31:13 -07:00
Jeff Grafton
81159d2cac Update kazel to include openapi tag detection fix 2018-04-17 11:17:03 -07:00
Christoph Blecker
f74f949ccc
Remove unneeded deps from vendor 2018-04-17 09:59:44 -07:00
Michael Taufen
b02f116172 update godeps to use latest pflag 2018-04-13 17:08:48 -07:00
Mike Danese
ec739269e8 godeps: remove github.com/kr/pty after #62360 2018-04-11 14:28:14 -07:00
Kubernetes Submit Queue
22440e1576
Merge pull request #62037 from cblecker/godep-bump
Automatic merge from submit-queue (batch tested with PRs 61959, 62037). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Bump godep version to v80

**What this PR does / why we need it**:
Update the minimum godep, to v80 (supposed to be the final version).

**Release note**:
```release-note
NONE
```
2018-04-04 02:45:08 -07:00
Kubernetes Submit Queue
a5133305a9
Merge pull request #61800 from rithujohn191/remove-gopass
Automatic merge from submit-queue (batch tested with PRs 61818, 61800). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Replace gopass.GetPasswdMasked() by terminal.ReadPassword()

**What this PR does / why we need it**:
Replace `gopass.GetPasswdMasked()` used for reading passwords from the terminal with [`terminal.ReadPassword()`](https://godoc.org/golang.org/x/crypto/ssh/terminal#ReadPassword). This removes the `gopass` import.

**Special notes for your reviewer**:
Ran the following commands to update `godep` files:
```
./hack/godep-restore.sh -v
./hack/godep-save.sh
./hack/update-staging-godeps.sh
./hack/update-bazel.sh
```

/sig auth
/kind enhancement
/assign @ericchiang

```release-note
NONE
```
2018-04-03 03:28:03 -07:00
Kubernetes Submit Queue
cb6453e7c0
Merge pull request #61955 from brendandburns/deps
Automatic merge from submit-queue (batch tested with PRs 61096, 61955, 61542, 60597). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Rev the Azure SDK for networking.

```release-note
Rev the Azure SDK for networking to 2017-06-01
```
2018-04-02 15:35:06 -07:00
rithu john
742bb5ea39 *: godep generated code 2018-04-02 15:15:11 -07:00
Christoph Blecker
0828b19996
Update godep in vendor 2018-04-02 12:57:41 -07:00
Kubernetes Submit Queue
3ea4e449c3
Merge pull request #57600 from thockin/vendor-gazelle
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Vendor gazelle and kazel

Rather that relying on upstream git repos that can break, vendor it all.  These are NOT head of tree, respectively - they are some backrev forms that were previously being used.

```release-note
NONE
```
2018-04-02 12:13:06 -07:00
Brendan Burns
0d508d1763 Rev the Azure Go SDK. 2018-04-02 10:28:07 -07:00
Tim Hockin
74451de6df Vendor kazel 2018-03-29 17:01:32 -07:00
Tim Hockin
3e583de0ac Vendor gazelle 2018-03-29 17:01:30 -07:00
Filipe Brandenburger
1f1595a243 Update Godeps after removing rkt.
This was done by executing the following two commands:

  $ hack/run-in-gopath.sh hack/godep-save.sh
  $ hack/run-in-gopath.sh hack/godep-restore.sh

Go packages github.com/appc/spec and github.com/coreos/go-systemd were
used by the rkt/ package that is now gone.
2018-03-27 09:29:35 -07:00
Kubernetes Submit Queue
18a7ea703b
Merge pull request #61354 from schylek/master
Automatic merge from submit-queue (batch tested with PRs 61354, 61366, 61386, 61394, 60755). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

vendor: Update github.com/evanphx/json-patch

Updates github.com/evanphx/json-patch dependency
to fix handling tests against empty objects/arrays.

Includes fix from evanphx/json-patch#50
2018-03-21 23:44:07 -07:00
Kubernetes Submit Queue
ef3539e69e
Merge pull request #60373 from sttts/sttts-1.10-cfssl
Automatic merge from submit-queue (batch tested with PRs 60373, 61098, 61352, 61359, 61362). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Bump cfssl to be compatible with Go 1.10
2018-03-21 22:39:09 -07:00
Dr. Stefan Schimanski
9f0636b0a2 Bump cfssl to be compatible with Go 1.10 2018-03-21 09:37:01 +01:00
Slawomir Chylek
758d3e7c57 vendor: Update github.com/evanphx/json-patch
Updates github.com/evanphx/json-patch dependency
to fix tests against empty objects/arrays.

Includes fix from evanphx/json-patch#50
2018-03-19 15:39:16 +01:00
Di Xu
87cfc33b14 bump spf13/cobra(c439c4): Terminate the stripping of flags when -- is found 2018-03-19 21:32:39 +08:00
Lantao Liu
360159037a Update cadvisor to v0.29.1 2018-03-07 23:33:57 +00:00
Kubernetes Submit Queue
c444954d9c
Merge pull request #58828 from rajansandeep/configtranslate
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Kube-dns configmap translation to CoreDNS

**What this PR does / why we need it**:
Translation of kube-dns ConfigMap (StubDomains and UpstreamNameserver) to equivalent Proxy in CoreDNS.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes kubernetes/kubeadm#662

**Special notes for your reviewer**:

Currently, the translation is done as follows:
Example ConfigMap of kube-dns.
```
apiVersion: v1
data:
  federations: |
    {"foo" : "foo.feddomain.com"}
  stubDomains: |
    {"abc.com" : ["1.2.3.4"], "my.cluster.local" : ["2.3.4.5"]}
  upstreamNameservers: |
    ["8.8.8.8", "8.8.4.4"]
kind: ConfigMap
metadata:
  creationTimestamp: 2018-01-22T20:21:56Z
  name: kube-dns
  namespace: kube-system
```

CoreDNS Corefile after translation.

```
   .:53 {
        errors
        health
        kubernetes cluster.local  in-addr.arpa ip6.arpa {
           upstream  8.8.8.8 8.8.4.4
           pods insecure
           fallthrough in-addr.arpa ip6.arpa
        }
       federation cluster.local {
           foo foo.feddomain.com
        }
        prometheus :9153
        proxy .  8.8.8.8 8.8.4.4
        cache 30
    }
    abc.com:53 {
        errors
        cache 30
        proxy . 1.2.3.4
    }
    my.cluster.local:53 {
        errors
        cache 30
        proxy . 2.3.4.5
    }
```



**Release note**:

```release-note
Kubeadm: CoreDNS supports migration of the kube-dns configuration to CoreDNS configuration when upgrading the service discovery from kube-dns to CoreDNS as part of Beta. 
```
2018-03-05 06:56:48 -08:00
Nikhita Raghunath
bae2db8b95 bump(6644d4): spf13/cobra: support bash completion for aliases 2018-03-02 21:28:13 +05:30
Kubernetes Submit Queue
6605b0a645
Merge pull request #60530 from superbrothers/fix-60517
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Fix kubectl completion so that file names are listed

**What this PR does / why we need it**:
This PR fixes kubectl completion so that file names are listed with `--filename`. I tested in bash and zsh. This problem is caused by spf13/cobra#520, so I updates vendor github.com/spf13/cobra to just before that commit.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #60517 

**Special notes for your reviewer**: @janetkuo @mengqiy @eparis 

**Release note**:

```release-note
NONE
```
2018-03-01 18:18:07 -08:00
Kubernetes Submit Queue
4dd458163a
Merge pull request #54631 from venkat-443/master
Automatic merge from submit-queue (batch tested with PRs 60376, 55584, 60358, 54631, 60291). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Update vendored Quobyte API

This update patch includes Quobyte API improvements.
[JSON API fix](https://github.com/quobyte/api/issues/12)
[API Tenant calls](https://github.com/quobyte/api/pull/10)
2018-02-28 03:37:33 -08:00
Kubernetes Submit Queue
a21a750249
Merge pull request #59333 from feiskyer/win
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

kubelet: setup WindowsContainerResources for windows containers

**What this PR does / why we need it**:

This PR setups WindowsContainerResources for windows containers. It implements proposal here: https://github.com/kubernetes/community/pull/1510.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #56734

**Special notes for your reviewer**:

**Release note**:

```release-note
WindowsContainerResources is set now for windows containers
```
2018-02-27 20:34:13 -08:00
Pengfei Ni
45d1a12836 Update godeps 2018-02-28 09:56:46 +08:00
Kazuki Suda
cd32f96c28 Fix kubectl completion so that file names are listed 2018-02-28 09:04:59 +09:00
jennybuckley
42a5b1668d run hack/godep-save.sh 2018-02-26 16:11:27 -08:00
Kubernetes Submit Queue
2413dc7fe9
Merge pull request #60382 from sbezverk/csi_spec_credentails_update
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

CSI credentials to secrets update

Finalizing refactor of k8s CSI core code, it was triggered by changes in CSI Spec 0.2.0

```release-note
None
```
2018-02-25 09:03:45 -08:00
Kubernetes Submit Queue
308647b019
Merge pull request #60135 from superbrothers/fix-completion-error-in-bash-3
Automatic merge from submit-queue (batch tested with PRs 60346, 60135, 60289, 59643, 52640). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Update vendor spf13/cobra to fix completion error in bash 3

**What this PR does / why we need it**: This PR updates vendor spf13/cobra to fix completion error in bash 3.

/ref spf13/cobra#628
/cc @eparis 

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes kubernetes/kubectl#121, kubernetes/kubernetes#29322, kubernetes/kubernetes#32676.

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2018-02-24 23:39:52 -08:00
Kazuki Suda
e604a7fdb1 Update vendor spf13/cobra to fix completion error in bash 3 2018-02-25 07:24:40 +09:00
Serguei Bezverkhi
c8956fa93c CSI code changes 2018-02-24 16:30:17 -05:00
Serguei Bezverkhi
e3c8ed2377 vendor files update 2018-02-24 16:29:55 -05:00
Serguei Bezverkhi
3aa462eab4 autogenerated api changes 2018-02-23 16:50:44 -05:00
Kubernetes Submit Queue
6af0768768
Merge pull request #60106 from dashpole/cadvisor_godep
Automatic merge from submit-queue (batch tested with PRs 60106, 59510, 60263, 60063, 59088). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Update cadvisor godeps to v0.29.0 and ignore per-cpu metrics

**What this PR does / why we need it**:
Updates the cAdvisor dependency to the cAdvisor release associated with the kubernetes 1.10 release.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #60052

**Special notes for your reviewer**:
This PR also adds per-cpu metrics to the ignoreMetrics list.  This is a new metric that can be ignored in the most recent cAdvisor release.
The reason for not collecting per-cpu metrics is that it can cause severe scalability issues.
For example, if using a 128 core machine, and running 100 containers, we have 12800 different streams of metrics just for per-cpu metrics which cAdvisor needs to process and transmit.
Additionally, per-cpu metrics are not used by any kubernetes components, and if a user needs these metrics, they can run cAdvisor as a daemonset. 

**Release note**:
```release-note
Disable per-cpu metrics by default for scalability.
Fix inaccurate disk usage monitoring of overlayFs.
Retry docker connection on startup timeout to avoid permanent loss of metrics.
```

/assign @dchen1107
2018-02-23 02:59:38 -08:00
Kubernetes Submit Queue
186b04d59b
Merge pull request #59844 from mikedanese/openapi
Automatic merge from submit-queue (batch tested with PRs 60196, 59844, 60255, 60254, 60251). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

godeps: bump go-openapi

This might help https://github.com/kubernetes/kubernetes/issues/59450

See https://github.com/go-openapi/spec/pull/61

This cuts ~25 seconds off of TestValidOpenAPISpec on my workstation.

```release-note
NONE
```
2018-02-23 01:44:37 -08:00
Kubernetes Submit Queue
ec77ddfe19
Merge pull request #59463 from dixudx/add_verify_spelling
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

add spelling checking script

**What this PR does / why we need it**:
Add spell checking script to avoid involving any typos.

Currently many small PRs are fixing those annoying typos, which is time-consuming and low efficient. We should add such a preflight check before a PR gets merged.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:
/sig testing
/area test-infra
/sig release
/cc @ixdy
/assign @liggitt @smarterclayton 
 
**Release note**:

```release-note
add spelling checking script
```
2018-02-22 23:46:15 -08:00
Kubernetes Submit Queue
9a75b4d7a9
Merge pull request #58816 from croomes/storageos_containerized_kubelet
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

StorageOS configurable device directory and mount options

**What this PR does / why we need it**:
This allows StorageOS volumes to be mounted when the kubelet is running in a container and we are unable to use the default device location (/var/lib/storageos/volumes).  With this PR, the node's device location is requested via the StorageOS api, falling back to the current behaviour if not configured.  The node's device location can be supplied as an environment variable (DEVICE_DIR) to the StorageOS container.  This is backwards-compatible and no changes are needed to existing deployments.

The PR also allows Mount options to be set for StorageOS volumes in the same way they're enabled for other volume plugins.

The StorageOS API dependency was updated to the latest version, but no functionality changes besides adding the DeviceDir property to the Controller object.

There is also a small refactor of the loopback device handling code in storageos_utils.go to capture stderr output.

**Release note**:
```release-note
StorageOS volume plugin updated to support mount options and environments where the kubelet runs in a container and the device location should be specified.
```

Not sure why godep changed the comments of unrelated packages in Godeps.json...

/sig storage
2018-02-22 18:11:34 -08:00
Di Xu
48434b44c4 vendor misspell 2018-02-23 09:33:14 +08:00
Mike Danese
1e90823c3b godeps: bump go-openapi 2018-02-22 13:43:02 -08:00
Kubernetes Submit Queue
6e856480c0
Merge pull request #55168 from nikhita/customresources-subresources
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

apiextensions: add subresources for custom resources

Fixes #38113
Fixes #58778

**Related**:
- Proposal: https://github.com/kubernetes/community/pull/913
- For custom resources to work with `kubectl scale`: https://github.com/kubernetes/kubernetes/pull/58283

**Add types**:

- Add `CustomResourceSubResources` type to CRD.
    - Fix proto generation for `CustomResourceSubResourceStatus`: https://github.com/kubernetes/kubernetes/pull/55970.
- Add feature gate for `CustomResourceSubResources`.
    - Update CRD strategy: if feature gate is disabled, this feature is dropped (i.e. set to `nil`).
- Add validation for `CustomResourceSubResources`:
    - `SpecReplicasPath` should not be empty and should be a valid json path under `.spec`. If there is no value under the given path in the CustomResource, the `/scale` subresource will return an error on GET.
    - `StatusReplicasPath` should not be empty and should be a valid json path under `.status`. If there is no value under the given path in the CustomResource, the status replica value in the /scale subresource will default to 0.
    - If present, `LabelSelectorPath` should be a valid json path. If there is no value under `LabelSelectorPath` in the CustomResource, the status label selector value in the `/scale` subresource will default to the empty string.
    - `ScaleGroupVersion` should be `autoscaling/v1`.
    - If `CustomResourceSubResources` is enabled, only `properties` is allowed under the root schema for CRD validation.

**Add status and scale subresources**:

- Use helper functions from `apimachinery/pkg/apis/meta/v1/unstructured/helpers.go`.
    - Improve error handling: https://github.com/kubernetes/kubernetes/pull/56563, https://github.com/kubernetes/kubernetes/pull/58215.
- Introduce Registry interface for storage.
- Update storage:
    - Introduce `CustomResourceStorage` which acts as storage for the custom resource and its status and scale subresources. Note: storage for status and scale is only enabled when the feature gate is enabled _and_ the respective fields are enabled in the CRD.
    - Introduce `StatusREST` and its `New()`, `Get()` and `Update()` methods.
    - Introduce `ScaleREST` and its `New()`, `Get()` and `Update()` methods.
        - Get and Update use the json paths from the CRD and use it to return an `autoscaling/v1.Scale` object.
- Update strategy:
    - In `PrepareForCreate`,
         - Clear `.status`.
         - Set `.metadata.generation` = 1
    - In `PrepareForUpdate`,
         - Do not update `.status`.
             - If both the old and new objects have `.status` and it is changed, set it back to its old value.
             - If the old object has a `.status` but the new object doesn't, set it to the old value.
             - If old object did not have a `.status` but the new object does, delete it.
         - Increment generation if spec changes i.e. in the following cases:
             - If both the old and new objects had `.spec` and it changed.
             - If the old object did not have `.spec` but the new object does.
             - If the old object had a `.spec` but the new object doesn't.
     - In `Validate` and `ValidateUpdate`,
        - ensure that values at `specReplicasPath` and `statusReplicasPath` are >=0 and < maxInt32.
        - make sure there are no errors in getting the value at all the paths.
    - Introduce `statusStrategy` with its methods.
        - In `PrepareForUpdate`:
            - Do not update `.spec`.
                - If both the old and new objects have `.spec` and it is changed, set it back to its old value.
                - If the old object has a `.spec` but the new object doesn't, set it to the old value.
                - If old object did not have a `.spec` but the new object does, delete it.
             - Do not update `.metadata`.
        - In `ValidateStatusUpdate`:
            - For CRD validation, validate only under `.status`.
            - Validate value at `statusReplicasPath` as above. If `labelSelectorPath` is a path under `.status`, then validate it as well.
- Plug into the custom resource handler:
    - Store all three storage - customResource, status and scale in `crdInfo`.
    - Use the storage as per the subresource in the request.
    - Use the validator as per the subresource (for status, only use the schema for `status`, if present).
    - Serve the endpoint as per the subresource - see `serveResource`, `serveStatus` and `serveScale`.
- Update discovery by adding the `/status` and `/scale` resources, if enabled.

**Add tests**:

- Add unit tests in `etcd_test.go`.
- Add integration tests.
    - In `subresources_test.go`, use the [polymporphic scale client](https://github.com/kubernetes/kubernetes/tree/master/staging/src/k8s.io/client-go/scale) to get and update `Scale`.
    -  Add a test to check everything works fine with yaml in `yaml_test.go`.

**Release note**:

```release-note
`/status` and `/scale` subresources are added for custom resources.
```
2018-02-22 13:37:35 -08:00
David Ashpole
65394fe18c update cadvisor godeps and ignore per-cpu metrics 2018-02-22 09:17:02 -08:00
Christoph Blecker
a26c120501
Bump dependencies for build tag fixes
bump github.com/vmware/govmomi/vim25 to HEAD
bump bitbucket.org/bertimus9/systemstat to HEAD
2018-02-21 12:50:32 -08:00
Nikhita Raghunath
66a4e5122a bump(go-openapi/validate): d509235108fcf6ab4913d2dcb3a2260c0db2108e 2018-02-22 01:11:28 +05:30
Kubernetes Submit Queue
cdbc4fbe20
Merge pull request #58544 from ericchiang/oidc-v2
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

oidc authentication: switch to v2 of coreos/go-oidc

Switch to v2 of [coreos/go-oidc](https://github.com/coreos/go-oidc), which uses square/go-jose to verify tokens and supports more signing algorithms.

Most of this PR removes dependencies used by the older version of github.com/coreos/go-oidc, and updates vendor files.

This PR has been tested against tokens issued by Okta, Google, and CoreOS's dex.

Closes https://github.com/kubernetes/kubernetes/issues/57806

```release-note
kube-apiserver: the OpenID Connect authenticator can now verify ID Tokens signed with JOSE algorithms other than RS256 through the --oidc-signing-algs flag.
kube-apiserver: the OpenID Connect authenticator no longer accepts tokens from the Google v3 token APIs, users must switch to the "https://www.googleapis.com/oauth2/v4/token" endpoint.
```

cc @rithujohn191 @liggitt 
cc @kubernetes/sig-auth-pr-reviews
2018-02-21 09:07:23 -08:00
Kubernetes Submit Queue
6e6c4ce1f2
Merge pull request #60091 from ravisantoshgudimetla/monitor-kubepods
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Bump runc to latest and modify test cases for linux cgroup manager.

**What this PR does / why we need it**:
This PR has 2 commits
- Bumps runc to latest and fixes trailing "/" problem in ExpandSlice of runc
- Fixes the cgroup_manager_linux_tests.go test cases to have "/" as prefix.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes  #59993

**Special notes for your reviewer**:
cc @sjenning @derekwaynecarr 
**Release note**:

```release-note
NONE
```
2018-02-20 23:58:53 -08:00
Kubernetes Submit Queue
7725425522
Merge pull request #59821 from dims/update-latest-gophercloud-1.10
Automatic merge from submit-queue (batch tested with PRs 59634, 59821, 57850, 59916, 60032). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Update to latest gophercloud/gophercloud for 1.10

**What this PR does / why we need it**:

Looks like we end up with just the following change:
https://github.com/gophercloud/gophercloud/pull/730
(Prevent Recursive BuildRequestBody)

The full set of changes between the old and new SHA are here:
8e59687aa4...6da026c32e


**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2018-02-20 12:39:34 -08:00
ravisantoshgudimetla
c33be7354f bump(github.com/opencontainers/runc): 595bea022f077a9e17d7473b34fbaf1adaed9e43 2018-02-20 14:07:00 -05:00
Kubernetes Submit Queue
96ec318718
Merge pull request #59842 from ixdy/update-rules_go-02-2018
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

 Update bazelbuild/rules_go, kubernetes/repo-infra, and gazelle dependencies

**What this PR does / why we need it**: updates our bazelbuild/rules_go dependency in order to bump everything to go1.9.4. I'm separating this effort into two separate PRs, since updating rules_go requires a large cleanup, removing an attribute from most build rules.

**Release note**:

```release-note
NONE
```
2018-02-19 22:23:05 -08:00
Jeff Grafton
ef56a8d6bb Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
Eric Chiang
379af0405c
bump(github.com/coreos/go-oidc): 065b426bd41667456c1a924468f507673629c46b 2018-02-16 10:57:52 -08:00
Serguei Bezverkhi
7365f2522e Updating vendor file and dependency 2018-02-16 13:28:38 -05:00
Davanum Srinivas
375360312a Update to latest gophercloud/gophercloud
Looks like we end up with the following changes:
1a43566306cb8cebad8cae85c67b15b3c254f316 - Prevent Recursive BuildRequestBody
debc1adf8e41fb5c5b7e2021a1be0b4d0c78318a - Networking v2: Create Floating IP with Subnet
1db95d798aa72ec12a6e60e40749cea56073d2fb - Compute v2: Add unit tests for Ephemeral field
0b8b348f5ad19aa4513ad9f8ad24f766a6623ad9 - compute: flavors: add Ephemeral attribute
8a6dfa8264e8b64523272c7a205e5f08bb6c118f - Compute v2: Flavor Access Remove (#688)
35ab3f13f69349f99ba8b9c9c36a7031ae2963dd - Flavor Extra Spec Update
800a4c0d57fbe8403b0bb6f13a8340c8fc990ad5 - Flavor Extra Spec Delete
be3fd7845c1928cbc5bbe289f2e39f5dec2e7278 - Flavor Extra Specs Create
c2cafb46bb409768f420742757949fd05fb1d704 - Flavor Extra Specs: List / Get (#686)
7b1b87753c31d4900587840774a019bbfa770698 - Compute v2: Flavor Access Add (#687)
1a43566306cb8cebad8cae85c67b15b3c254f316 - Prevent Recursive BuildRequestBody
debc1adf8e41fb5c5b7e2021a1be0b4d0c78318a - Networking v2: Create Floating IP with Subnet

The full set of changes between the old and new SHA are here:
8e59687aa4...6da026c32e
2018-02-14 14:02:57 -05:00