Commit Graph

883 Commits

Author SHA1 Message Date
Jefftree
d01c42c454 go mod vendor 2021-11-16 17:38:55 -08:00
Joe Betz
d73403dc12 Pin new dependency: github.com/google/cel-go v0.9.0 2021-11-10 13:15:40 -05:00
David Porter
c6452be958 Bump cAdvisor to v0.43.0
Bumping cAdvisor from v0.39.2 -> v0.43.0

* Also pin transitive dependencies
  * containerd v1.4.9 -> v1.4.11
  * docker v20.10.2+incompatible> v20.10.7+incompatible

Signed-off-by: David Porter <david@porter.me>
2021-11-09 17:09:00 -08:00
Kubernetes Prow Robot
4ce435cc95
Merge pull request #105251 from calvin0327/issue-upgrade-coredns
Update corefile-migration to v1.0.14 and update coredns to 1.8.6
2021-11-05 14:48:39 -07:00
Zach Zhu
20cc72344e upgrade github.com/evanphx/json-patch to v4.12.0
Fix partial negative indice support in json patch
2021-10-26 11:20:45 +08:00
Patrick Ohly
169e8b65a0 klog 2.30.0, logr 1.2.0, zapr 1.2.0
The new releases fix logging of KObj in JSON output: klog implements the new
logr.Marshaler interface and zapr uses it instead of Stringer when logging the
ObjectRef created by KObj.
2021-10-22 15:32:20 +02:00
calvin0327
941c78f411 Update corefile-migration to v1.0.14 and update coredns to 1.8.6 2021-10-12 11:03:52 +08:00
Karthik K N
c5b4e05834 Updated vendor files and pinned versions 2021-09-13 15:42:42 +05:30
Kubernetes Prow Robot
1e607a500f
Merge pull request #104880 from dcantah/update-hcsshim-0.8.21
vendor: bump hcsshim to v0.8.22
2021-09-10 11:21:21 -07:00
Daniel Canter
3eef755b3b vendor: bump hcsshim to v0.8.22
This tag of hcsshim brings in a couple welcome features/improvements. One being
exposing a way to query for hns endpoint statistics (Packets received/sent etc.).
This tag also contains some optimizations for querying whether a certain HCN feature
is supported, which is a common workflow in kube-proxy on Windows. The first result
from querying HCN is now cached so further calls can skip the hcn query as well as the
version range parsing that was performed. This also gets rid of some redundant logs
that used to hit everytime the version range parsing occurred.

The Go-winio dep bump, and all of the ctrd deps are transitive only. Nothing new is needed/intended
to be used.

Signed-off-by: Daniel Canter <dcanter@microsoft.com>
2021-09-10 00:54:24 -07:00
Patrick Ohly
cb6a653777 klog 2.20.0, logr v1.1.0, zapr v1.1.0
This replaces the experimental logr v0.4 with the stable v1.1.0
release. This is a breaking API change for some users because:
- Comparing logr.Logger against nil is not possible anymore:
  it's now a struct instead of an interface. Code which
  allows a nil logger should switch to *logr.Logger as type.
- Logger implementations must be updated in lockstep.

Instead of updating the forked zapr code in json.go, directly using
the original go-logr/zapr is simpler and avoids duplication of effort.

The updated zapr supports logging of numeric verbosity. Error messages
don't have a verbosity (= always get logged), so "v" is not getting
added to them anymore.

Source code logging for panic messages got fixed so that it references
the code with the invalid log call, not the json.go implementation.

Finally, zapr includes additional information in its panic
messages ("zap field", "ignored key", "invalid key").
2021-09-09 14:43:43 +02:00
Kir Kolyshkin
9c0f9b204f vendor: bump runc to 1.0.2
For the complete release notes, see
 - https://github.com/opencontainers/runc/releases/tag/v1.0.2

In particular, this fixes the check cgroup v1 systemd manager check
if a container needs to be frozen before Set(), and adds a knob to
skip the check/freeze entirely (to be used by the next commit).

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2021-08-23 13:05:23 -07:00
Eddie Zaneski
b18d6ee61d
Update cobra to v1.2.1
Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
2021-08-18 15:02:25 -06:00
Kubernetes Prow Robot
4b4d12f8a6
Merge pull request #102913 from pacoxu/upgrade-promotheus-common
upgrade prometheus/common to v0.28.0
2021-08-09 08:03:31 -07:00
Kir Kolyshkin
eb5df869ba vendor: bump runc to 1.0.1
The commands used were (roughly):

	hack/pin-dependency.sh github.com/opencontainers/runc v1.0.1
	hack/lint-dependencies.sh
	# Follow its recommendations.
	hack/pin-dependency.sh github.com/cilium/ebpf v0.6.2
	hack/pin-dependency.sh github.com/opencontainers/selinux v1.8.2
	hack/pin-dependency.sh github.com/sirupsen/logrus v1.8.1
	# Recheck.
	hack/lint-dependencies.sh
	GO111MODULE=on go mod edit -dropreplace github.com/willf/bitset
	hack/update-vendor.sh
	# Recheck.
	hack/lint-dependencies.sh
	hack/update-internal-modules.sh
	# Recheck.
	hack/lint-dependencies.sh

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2021-07-16 12:36:26 -07:00
pacoxu
7a36a5b827 fix test failures in legacy cloud provider: add 'projects/' after upgrade
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-07-13 12:42:23 +08:00
pacoxu
2926b4572e upgrade google.golang.org/api to v0.45.0
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-07-12 11:33:22 +08:00
Davanum Srinivas
6c72fbaa89
update vendor after switch
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-07-07 22:31:37 -04:00
Odin Ugedal
61d88af9e4
Revert "Update runc to 1.0.0" 2021-07-05 14:03:04 +02:00
Kir Kolyshkin
4e7cf5413d vendor: bump runc to 1.0.0 pre
This is to check if runc 1.0.0 (to be released shortly) works with k8s.

The commands used were (roughly):

	hack/pin-dependency.sh github.com/opencontainers/runc v1.0.0
	hack/lint-dependencies.sh
	# Follow its recommendations.
	hack/pin-dependency.sh github.com/cilium/ebpf v0.6.1
	hack/pin-dependency.sh github.com/opencontainers/selinux v1.8.2
	hack/pin-dependency.sh github.com/sirupsen/logrus v1.8.1
	# Recheck.
	hack/lint-dependencies.sh
	GO111MODULE=on go mod edit -dropreplace github.com/willf/bitset
	hack/update-vendor.sh
	# Recheck.
	hack/lint-dependencies.sh
	hack/update-internal-modules.sh
	# Recheck.
	hack/lint-dependencies.sh

[v2: rebased, updated runc 3a0234e1fe2e82 -> 2f8e8e9d977500]
[v3: testing master + runc pr 3019]
[v4: updated to 93a01cd4d0b7a0f08a]
[v5: updated to f093cca13d3cf8a484]
[v6: rebased]
[v7: updated to runc v1.0.0]
[v8: rebased]

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2021-06-30 16:16:32 -07:00
Nabarun Pal
0ab03d3d5b
dependencies: remove go-bindata
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-29 19:16:51 +05:30
David Ashpole
79550ed40c Add distributed tracing to the apiserver using OpenTelemetry 2021-06-25 05:20:27 -07:00
Kubernetes Prow Robot
06dfe683ce
Merge pull request #103123 from dims/remove-fakefs-to-drop-spf13/afero-dependency
Remove fakefs to drop spf13/afero dependency
2021-06-24 07:57:41 -07:00
Davanum Srinivas
5feff280e1
remove fakefs to drop spf13/afero dependency
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-06-24 09:51:34 -04:00
Jordan Liggitt
730c21d386 Drop etcd tests dependency 2021-06-23 10:22:58 -04:00
Pushkar Joglekar
63a23f1ed7 Transitive dependency: high CVE fix
heketi that is dependency for glusterfs was updated to import a fork of jwt-go that fixes
a high severity CVE-2020-26160 by importing a forked repo (form3tech-oss/jwt-go) that fixes
the CVE as the original repo (dgrijalva/jwt-go) has a fix with breaking changes and
the repo is generally loosely maintained.

This fork is already being used in other places in kubernetes. Heketi 10.3.0 includes this fix.

NOTE: The vulnerable function is not used by heketi or kubernetes. So the vulnerable package is a
transitive dependency and this fix will reduce false postive CVE alerts on kubernetes

Bumped github.com/auth0/go-jwt-middleware to v1.0.0 which removes dgrijalva/jwt-go cleanly

Fixing test failures: pull-kubernetes-dependencies

Removing unused dependencies in replace block to fix test failures: pull-kubernetes-dependencies

Bump go-jwt-middleware to v1.0.1 to *not* pull in examples only deps
2021-06-22 07:35:13 -07:00
Benjamin Elder
35e9d97f3e update Azure/go-ansiterm to v0.0.0-20210617225240-d185dfc1b5a1
fixes constant overflow on windows/386
2021-06-18 16:11:58 -07:00
Kubernetes Prow Robot
e9c6ec639c
Merge pull request #102783 from mcbenjemaa/update-dep-gnostic
Update gnostic to the latest version
2021-06-18 09:52:18 -07:00
Mohamed chiheb Ben jemaa
c691386fef Update github.com/googleapis/gnostic to v0.5.5 and updating transitive dependencies go-cmp, protobuf,, to adapt the latest gnostic release which cosists of [Update protos for Go protoc plugin compatibility] 2021-06-17 17:05:05 +01:00
Robert Clark
1b27430b50 Updating AWS-SDK-Go to version 1.38.49
This commit is for all the vendor specific code changes introduced
by pinning the dependency at 1.38.49 and running update-vendor.sh

lint-dependencies.sh shows no issues
2021-06-17 08:42:25 -07:00
Kubernetes Prow Robot
24b716673c
Merge pull request #102847 from jayunit100/userspace-proxy-dns-demangler
fix dns modifications inside of the kube-proxy for windows userspace
2021-06-17 07:26:20 -07:00
Kubernetes Prow Robot
122d635245
Merge pull request #102441 from feiskyer/update-vendor
Update Azure Go SDK to v55.0.0
2021-06-16 17:04:19 -07:00
Kubernetes Prow Robot
c81f2773dc
Merge pull request #102920 from dims/move-to-github.com/coreos/go-systemd/v22
Switch to github.com/coreos/go-systemd/v22 and drop older package
2021-06-16 12:48:41 -07:00
Kubernetes Prow Robot
0b2f06f43e
Merge pull request #102894 from chrishenzie/csi-spec-v1.5.0
Use container-storage-interface spec v1.5.0
2021-06-16 12:48:24 -07:00
Davanum Srinivas
7fcdbbef06
Switch to github.com/coreos/go-systemd/v22 and drop older package
- We use the new v22 module released on May 10
- We drop the unmaintained `github.com/coreos/pkg`

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-06-16 11:14:16 -04:00
jay vyas
cf2a3c3230 Kube proxy for windows userspace, remove dns Mangling, vendor updates 2021-06-16 08:55:18 -04:00
Pengfei Ni
b98824c55d Update Azure Go SDK to v55.0.0 2021-06-16 12:26:45 +00:00
Jordan Liggitt
6448181d95 Update to etcd v3.5.0 client 2021-06-15 22:50:46 -04:00
Chris Henzie
f02948e776 Use container-storage-interface spec v1.5.0
Includes support for the SINGLE_NODE_SINGLE_WRITER and
SINGLE_NODE_MULTI_WRITER volume capability access modes
2021-06-15 15:11:19 -07:00
Jordan Liggitt
5cfc39ef5e Update protobuf,grpc,etcd dependencies
1. Updated etcd/protobuf/grpc dependencies:

echo "
hack/pin-dependency.sh github.com/golang/protobuf latest
hack/pin-dependency.sh google.golang.org/protobuf latest
hack/pin-dependency.sh go.etcd.io/etcd/api/v3 v3.5.0-rc.0
hack/pin-dependency.sh go.etcd.io/etcd/client/v3 v3.5.0-rc.0
hack/pin-dependency.sh go.etcd.io/etcd/client/pkg/v3 v3.5.0-rc.0
hack/pin-dependency.sh go.etcd.io/etcd/pkg/v3 v3.5.0-rc.0
hack/pin-dependency.sh go.etcd.io/etcd/server/v3 v3.5.0-rc.0
hack/pin-dependency.sh go.etcd.io/etcd/tests/v3 v3.5.0-rc.0
hack/pin-dependency.sh google.golang.org/grpc latest
" | bash

2. Linted transitive dependencies until versions are clean:

hack/lint-dependencies.sh  | grep "  hack/pin-dependency.sh" | bash

3. Linted dependencies until dropped versions are clean:

hack/lint-dependencies.sh  | grep "dropreplace" | bash

4. Updated vendor and internal modules:

hack/update-vendor.sh
hack/update-internal-modules.sh

Repeated steps 2-4 until clean
2021-06-15 10:06:09 -04:00
Kubernetes Prow Robot
42472c3a00
Merge pull request #102735 from dims/switch-to-github.com/robfig/cron/v3
Update to github.com/robfig/cron/v3
2021-06-15 06:44:01 -07:00
Kubernetes Prow Robot
0665fb2e5a
Merge pull request #102825 from n4j/bug/KubectlWindowsCrash
Fix - Winterm issue on Windows 8.1 in kubectl exec
2021-06-14 22:00:08 -07:00
Davanum Srinivas
4b36a5cbe9
Switch to github.com/robfig/cron/v3
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-06-14 19:03:03 -04:00
Dan Lorenc
8748f3105b Update corefile-migration to v1.0.12.
The coredns/corefile-migration project switched to a fork of
coredns/caddy to remove dependencies it doesn't actually need. Picking
up this update here in k/k results in a significantly smaller go.mod.

Signed-off-by: Dan Lorenc <dlorenc@google.com>
2021-06-13 00:06:37 -05:00
Neeraj Shah
60ab908119 Fix - Winterm issue on Windows 8.1 in kubectl exec 2021-06-12 08:52:49 +05:30
Davanum Srinivas
d9f82f7eba
Drop viper stuff in test/
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-06-04 09:38:22 -04:00
Kubernetes Prow Robot
81b9789eaa
Merge pull request #102467 from pacoxu/json-patch-5.5.0
upgrade json-patch to v4.11.0
2021-06-04 01:21:26 -07:00
pacoxu
6e0650e3e1 upgrade gopkg.in/evanphx/json-patch to v4.11.0
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-06-04 13:15:09 +08:00
Davanum Srinivas
29def9ff6a
Updating to prometheus/common v0.26.0
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-06-03 06:48:13 -04:00
Giuseppe Scrivano
5b0bafabf6
vendor: upgrade cadvisor to 0.39.2
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-06-01 15:20:27 +02:00