Commit Graph

139 Commits

Author SHA1 Message Date
Jordan Liggitt
f33dc28094 generated: hack/update-hack-tools.sh && hack/update-vendor.sh 2020-07-25 16:45:02 -04:00
Giuseppe Scrivano
a6a3bf2eb4
vendor: update google/cadvisor and opencontainers/runc
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-06-24 18:39:50 +02:00
Jordan Liggitt
d9bb0b8ee1 go1.14: run hack/update-vendor.sh 2020-06-23 19:04:43 -04:00
Robert Van Voorhees
3cef97e8b5
[security] Vulnerability in golang.org/x/text/encoding/unicode v0.3.2
Hello gophers,

Version v0.3.3 of golang.org/x/text fixes a vulnerability in the golang.org/x/text/encoding/unicode package which could lead to the UTF-16 decoder entering an infinite loop, causing the program to crash or run out of memory.

An attacker could provide a single byte to a UTF16 decoder instantiated with UseBOM or ExpectBOM to trigger an infinite loop if the String function on the Decoder is called, or the Decoder is passed to golang.org/x/text/transform.String.

transform.String has also been hardened not to enter an infinite loop if a Transformer keeps returning ErrShortSrc even if atEOF is true.

This issue was first filed as Issue 39491 by GitHub user abacabadabacaba and reported to the security team by Anton Gyllenberg. It is tracked as CVE-2020-14040.

Cheers,

Katie for the Go team
2020-06-17 07:57:05 -04:00
Davanum Srinivas
15fa9902e9
Updating dependency golang.org/x/oauth2 to version v0.0.0-20191202225959-858c2ad4c8b6
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:53:01 -04:00
Davanum Srinivas
f981628ce8
move linting dependencies to hack/tools/tools.go
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-20 13:45:38 -04:00
Davanum Srinivas
12146cb4df
Do not include bazel related deps in root go.mod
- add ./hack/tools/go.mod, this makes ./hack/tools a distinct module
- hack/tools/tools.go undescore imports bazel related tools, over time we
can add others.
- hack/*.sh scripts will cd to hack/tools and go install tools from there

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-19 22:01:50 -04:00
Jordan Liggitt
93c7b24562 github.com/googleapis/gnostic v0.4.1 2020-03-31 23:07:50 -04:00
Davanum Srinivas
d275539551 Updating dependency golang.org/x/xerrors to version v0.0.0-20191204190536-9bdfabe68543 2020-03-25 12:09:41 -04:00
Davanum Srinivas
2b8b3b4008 Updating dependency golang.org/x/time to version v0.0.0-20191024005414-555d28b269f0 2020-03-25 12:09:41 -04:00
Davanum Srinivas
75ceb7baa8 Updating dependency golang.org/x/net to version v0.0.0-20200202094626-16171245cfb2 2020-03-25 12:09:41 -04:00
Davanum Srinivas
0dd6bf6258 Updating dependency github.com/google/go-cmp to version v0.4.0 2020-03-25 12:09:32 -04:00
Benjamin Elder
86ead63158 update golang.org/x/crypto 2020-02-20 13:17:51 -08:00
Mike Danese
009c731a88 vendor golang.org/x/sync/singleflight 2019-12-10 13:12:04 -08:00
Jordan Liggitt
297570e06a hack/update-vendor.sh 2019-11-06 17:42:34 -05:00
Mike Danese
380f42727d remove dependency on cfssl 2019-11-04 08:37:10 -08:00
Tim Allclair
9a02ef7fe5 Bump golang.org/x/tools version for staticcheck compat 2019-08-19 17:16:24 -07:00
Tim Allclair
7e5a64e011 Vendor staticcheck 2019-08-19 17:16:24 -07:00
Christoph Blecker
5f971d6d88
Update vendor 2019-08-13 17:51:45 -07:00
Jordan Liggitt
bd2dc5e5a2 vendor gotest.tools/gotestsum 2019-07-31 17:43:02 -04:00
Davanum Srinivas
b508986304
updating github.com/miekg/dns to v1.1.4 2019-06-19 06:38:33 -04:00
Davanum Srinivas
7858719b4c
updating gopkg.in/square/go-jose.v2 to v2.2.2 2019-06-19 06:38:33 -04:00
Kalya Subramanian
e0fec1dc28 Include golang.org/x/sys/windows/svc/mgr to manage Windows services 2019-05-20 23:28:56 +00:00
Benoit Sigoure
ef492e2d70 vendor: update golang.org/x/oauth2 and cloud.google.com/go
Pick up the bug fix for golang/oauth2#237
Bump up cloud.google.com/go as a result of updating the OAuth2 code.

This commit was generated by:
./hack/pin-dependency.sh golang.org/x/oauth2 9f3314589c9a
./hack/pin-dependency.sh cloud.google.com/go v0.34.0
./hack/update-vendor.sh
git add vendor
git add -u
2019-04-23 14:00:51 -07:00
Jordan Liggitt
389f76235c golang.org/x/tools v0.0.0-20190313210603-aa82965741a9 (release-branch.go1.12) 2019-04-08 15:20:46 -04:00
Jordan Liggitt
97c130b056 golang.org/x/crypto v0.0.0-20181025213731-e84da0312774 (release-branch.go1.12) 2019-04-08 15:20:46 -04:00
Jordan Liggitt
921f3ea8da golang.org/x/sys v0.0.0-20190209173611-3b5209105503 (release-branch.go1.12) 2019-04-08 15:20:45 -04:00
Jordan Liggitt
55d52fd5c3 golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db (release-branch.go1.12) 2019-04-08 15:20:45 -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
Davanum Srinivas
2aa1348e6c
Update to go 1.12 version of golang.org/x/net
Change-Id: I3f2fa5d7b6811c9eca58992318d19e44ec9131fd
2019-03-12 11:30:24 -04: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
David Ashpole
fec22bbb25 update gomega godep 2019-02-19 13:22:45 -08:00
Benjamin Elder
91ddb093b8 run hack/update-bazel.sh 2019-02-12 18:38:36 -08:00
Krzysztof Siedlecki
6c1a842248 adding prettybench and go-junit-report to vendor 2019-02-05 14:54:01 +01:00
Sen Lu
242ce12de7 vendor golint 2018-12-26 10:42:24 -08:00
Yann Hodique
4d9c01d747 replace golang.org/x/exp/inotify with standalone library
The inotify code was removed from golang.org/x/exp several years ago. Therefore
importing it from that path prevents downstream consumers from using any module
that makes use of more recent features of golang.org/x/exp.

This change is a followup to google/cadvisor#2060 which was merged with #70889

This fixes #68478
2018-11-13 14:51:40 -08:00
Wenjia Zhang
b540527df0 update code change for golang.org/x/net/... to release-branch.go1.10 2018-11-06 16:04:02 -08:00
Wenjia Zhang
7ce2c6f4f0 update godeps for golang.org/x/net/... to release-branch.go1.10 2018-11-06 15:40:23 -08:00
Jeff Grafton
6034bf68d0 Update to gazelle 0.14.0 and run hack/update-bazel.sh 2018-09-05 15:27:15 -07: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
Christoph Blecker
1c5b968152
Bump golang.org/x/crypto dep 2018-08-08 21:01:29 -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
Dr. Stefan Schimanski
9f0636b0a2 Bump cfssl to be compatible with Go 1.10 2018-03-21 09:37:01 +01:00
Alin-Gheorghe Balutoiu
448ed6e875 Add sys/windows/svc to vendor
This is needed for service manager support on Windows
in kubernetes binaries.
2018-03-07 00:51:42 +01:00
Marcin Owsiany
c7dea44a69 Add golang.org/x/tools/benchmark/parse godep. 2018-02-14 14:22:18 +01:00
Allen Petersen
6d19de343f Run godep-save.sh and update-staging-godeps.sh 2018-01-02 22:00:44 -08:00
Jeff Grafton
efee0704c6 Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
Rohit Agarwal
fe5ef1b494 Update cAdvisor.
Also update golang.org/x/sys because of google/cadvisor#1786
2017-11-10 14:54:28 -08:00
Jeff Grafton
aee5f457db update BUILD files 2017-10-15 18:18:13 -07:00
Tim Hockin
ac4ffb1e6e Vendor godep v79 and use it 2017-09-29 15:16:09 -07:00
David Ashpole
e5a6a79fd7 update cadvisor, docker, and runc godeps 2017-09-05 12:38:57 -07:00
Renaud Gaubert
1daaeb352f Bumped gRPC version to 1.3.0 2017-08-23 09:55:55 -07:00
Shyam JVS
3b014e103b Revert "Updated gRPC vendoring to support Keep Alive" 2017-08-22 15:16:52 +02:00
Renaud Gaubert
faee6d6d5d Updated gRPC version to support Keep Alive 2017-08-18 15:26:38 -07:00
Jeff Grafton
653d05c169 Regenerate all BUILD files in vendor/ from scratch using gazelle 2017-08-16 15:48:25 -07:00
Jeff Grafton
a7f49c906d Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
Jeff Grafton
33276f06be Use buildozer to remove deprecated automanaged tags 2017-08-11 09:31:50 -07:00
Jeff Grafton
cf55f9ed45 Autogenerate BUILD files 2017-08-11 09:30:23 -07:00
Tobias Klauser
1fd18181ab bump(golang.org/x/sys): 7a4fde3fda8ef580a89dbae8138c26041be14299 2017-07-20 11:54:42 +02:00
Kubernetes Submit Queue
69a9759d90 Merge pull request #46744 from karataliu/wincri4
Automatic merge from submit-queue

Support windows in dockershim

**What this PR does / why we need it**:
This is the 2nd part for https://github.com/kubernetes/kubernetes/issues/45927 .

The non-cri implementation dockertools was removed from kubelet v1.7 .
Part of previous work for supporting windows container lies in v1.6 dockertools, this PR is to port them to dockershim.

Main reference file in v1.6 dockertools windows support:
https://github.com/kubernetes/kubernetes/blob/v1.6.4/pkg/kubelet/dockertools/docker_manager_windows.go

**Which issue this PR fixes**
45927, for now catching up the implementation of v1.6

**Special notes for your reviewer**:
The code change includes 4 parts, put them together as we discussed in https://github.com/kubernetes/kubernetes/pull/46089

1. Update go-winio package to a newer version
  'go-winio' package is used by docker client.
  This change is to bring the support for Go v1.8, specifically included in the PR: https://github.com/Microsoft/go-winio/pull/48 
Otherwise it will produce a lot of error like in: https://github.com/fsouza/go-dockerclient/issues/648 

2. Add os dependent getSecurityOpts helper method. 
seccomp not supported on windows
  Corresponding code in v1.6: https://github.com/kubernetes/kubernetes/blob/v1.6.4/pkg/kubelet/dockertools/docker_manager_windows.go#L78

3. Add updateCreateConfig.
Allow user specified network mode setting. This is to be compatible with what kube-proxy package does on Windows. 
  Also, there is a Linux section in both sandbox config and container config: LinuxPodSandboxConfig, LinuxContainerConfig.
And that section later goes to Config and HostConfig section under docker container createConfig. Ideally hostconfig section should be dependent on host os, while config should depend on container image os.
  To simplify the case, here it assumes that windows host supports windows type container image only. It needs to be updated when kubernetes is to support windows host running linux container image or the like.
  Corresponding code in v1.6: https://github.com/kubernetes/kubernetes/blob/v1.6.4/pkg/kubelet/dockertools/docker_manager_windows.go#L57

4. Add podIpCache in dockershim. 
  For v1.6 windows implementation, it still does not use sandbox, thus only allow single container to be exposed.
  Here added a cache for saving container IP, to get adapted to the new CRI api.
Corresponding code in v1.6:
No sandbox: https://github.com/kubernetes/kubernetes/blob/v1.6.4/pkg/kubelet/dockertools/docker_manager_windows.go#L66
Use container id as pod ip: https://github.com/kubernetes/kubernetes/blob/v1.6.4/pkg/kubelet/dockertools/docker_manager.go#L2727

**Release note**:
2017-06-07 20:03:19 -07:00
Clayton Coleman
868cdeca8a
bump(golang.org/x/crypto/nacl):d172538b2cfce0c13cee31e647d0367aa8cd2486 2017-06-06 10:50:37 -04:00
Dong Liu
33c34f0ae4 Upgrade go-winio package to v0.4.2, supporting go v1.8 . 2017-06-02 05:59:20 -05:00
Jordan Liggitt
986cdfa6ff
bump(golang.org/x/tools/container/intsets): 2382e3994d48b1d22acc2c86bcad0a2aff028e32 2017-05-30 15:12:30 -04:00
Eric Chiang
0b549190b4 vendor: re-run bazel build 2017-04-28 13:19:26 -07:00
Eric Chiang
6bcecdc33c bump(golang.org/x/oauth2): a6bd8cefa1811bd24b86f8902872e4e8225f74c4 2017-04-28 13:19:21 -07:00
Mike Danese
59fc948a06 bump rules_go and go version for bazel builds
and bump gazel to a version that supports 1.8
2017-04-25 11:23:33 -07:00
Mike Danese
a05c3c0efd autogenerated 2017-04-14 10:40:57 -07:00
Timothy St. Clair
93c051e28f Level sets dependency graph to consume etcd 3.1.5 2017-04-11 08:34:40 -05:00
Michael Fraenkel
a01a493d5d Update golang.org/x/crypto
- Update bazel for new vendored crypto
2016-12-29 18:49:18 -05:00
Brendan Burns
7201562cc3 bump(golang.org/x/text): 2910a502d2bf9e43193af9d68ca516529614eed3 2016-12-21 14:57:26 -08:00
Saad Ali
d41b3b0929 Revert "Add missing vendor files to make godeps happy" 2016-11-02 20:56:06 -07:00
saadali
e9afbd5cdf Add missing vendor files to make godeps happy 2016-11-02 18:55:10 -07:00
Manjunath A Kumatagi
1ad61acdc2 Update golang.org/x/sys/unix package 2016-09-27 01:17:25 -07:00
Davanum Srinivas
64efc3a744 Update Google Cloud API client import paths
Bump version of golang.org/x/oauth2
Vendor google.golang.org/cloud/
Vendor google.golang.org/api/
Vendor cloud.google.com/go/compute/
Replace google.golang.org/cloud with cloud.google.com/go/

Fixes #30069
2016-09-13 22:21:06 -04:00
Brendan Burns
ba7f61c340 Add a dependency on github.com/howeycgopass 2016-08-27 21:29:12 -07:00
mbohlool
0c51663aac Add go-openapi dependencies and update Godeps 2016-08-18 13:50:50 -07:00
Timothy St. Clair
5f008faa8b Update godeps for etcd 3.0.4 2016-08-09 08:51:15 -05:00
Lantao Liu
cb1b3c86d3 Bump cadvisor dependencies to latest head. 2016-07-27 18:29:19 -07:00
George Tankersley
902b9faa6f vendor: add cfssl dependency 2016-07-19 11:25:38 -07:00
Timothy St. Clair
e5ed62e87c Update golang.org/x/net godep for http2 issues being seen during scale
tests
2016-07-15 18:14:47 -05:00
Girish Kalele
6de83d5853 Update Godeps for github.com/skynetservices/skydns and github.com/miekg/dns 2016-06-29 14:05:43 -07:00
Kris
751af3a838 Bump inotify to pickup fix for memory leak 2016-06-22 18:27:06 -07:00
Dawn Chen
1ea5c460bc Bump cAdvisor to v0.23.4 2016-06-17 16:26:39 -07:00
Davide Agnello
bb1ae12906 Vendor/Godep updates 2016-06-08 18:17:42 -07:00
Timothy St. Clair
786b7989a0 Update golang.org/x/net for http2 enablement 2016-05-27 14:25:57 -05:00
saadali
c708e2cc82 Update vendor dir and Godeps.json with new Godep 2016-05-11 17:02:50 -07:00
Tim Hockin
3c0c5ed4e0 Move deps from _workspace/ to vendor/
godep restore
pushd $GOPATH/src/github.com/appc/spec
git co master
popd
go get go4.org/errorutil
rm -rf Godeps
godep save ./...
git add vendor
git add -f $(git ls-files --other vendor/)
git co -- Godeps/LICENSES Godeps/.license_file_state Godeps/OWNERS
2016-05-08 20:30:21 -07:00