Commit Graph

864 Commits

Author SHA1 Message Date
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
Gautier Delorme
ac753f44cc upgrade kustomize to v4.1.3
Signed-off-by: Gautier Delorme <gautier.delorme@gmail.com>
2021-05-21 09:11:30 +02:00
Kubernetes Prow Robot
5de1a754c8
Merge pull request #102147 from kolyshkin/update-runc-rc94-take-II
vendor: bump runc to rc95
2021-05-20 17:16:56 -07:00
Kir Kolyshkin
f3cdfc488e vendor: bump runc to rc95
runc rc95 contains a fix for CVE-2021-30465.

runc rc94 provides fixes and improvements.

One notable change is cgroup manager's Set now accept Resources rather
than Cgroup (see https://github.com/opencontainers/runc/pull/2906).
Modify the code accordingly.

Also update runc dependencies (as hinted by hack/lint-depdendencies.sh):

        github.com/cilium/ebpf v0.5.0
        github.com/containerd/console v1.0.2
        github.com/coreos/go-systemd/v22 v22.3.1
        github.com/godbus/dbus/v5 v5.0.4
        github.com/moby/sys/mountinfo v0.4.1
        golang.org/x/sys v0.0.0-20210426230700-d19ff857e887
        github.com/google/go-cmp v0.5.4
        github.com/kr/pretty v0.2.1
        github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2021-05-19 23:51:59 -07:00
Kubernetes Prow Robot
85674ae53d
Merge pull request #101685 from Jiawei0227/scaleio
Remove scaleio volume plugins from k8s codebase
2021-05-19 18:25:05 -07:00
Kubernetes Prow Robot
5bdb097802
Merge pull request #101759 from navidshaikh/pr/bump-cni
Bump containernetworking/cni to v0.8.1
2021-05-19 15:25:03 -07:00
Jiawei Wang
94db1e18ba Remove scaleio from volume plugins 2021-05-19 10:35:21 -07:00
Davanum Srinivas
0803ea49b9
update testing related dependencies
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-05-18 21:54:06 -04:00
Jordan Liggitt
4b45d0d921 Revert "Merge pull request 101888 from kolyshkin/update-runc-rc94"
This reverts commit b1b06fe0a4, reversing
changes made to 382a33986b.
2021-05-18 09:13:47 -04:00
Kir Kolyshkin
b49744f177 vendor: bump runc to rc94
One notable change is cgroup manager's Set now accept Resources rather
than Cgroup (see https://github.com/opencontainers/runc/pull/2906).
Modify the code accordingly.

Also update runc dependencies (as hinted by hack/lint-depdendencies.sh):

	github.com/cilium/ebpf v0.5.0
	github.com/containerd/console v1.0.2
	github.com/coreos/go-systemd/v22 v22.3.1
	github.com/godbus/dbus/v5 v5.0.4
	github.com/moby/sys/mountinfo v0.4.1
	golang.org/x/sys v0.0.0-20210426230700-d19ff857e887
	github.com/google/go-cmp v0.5.4
	github.com/kr/pretty v0.2.1
	github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2021-05-11 11:56:42 -07:00
Navid Shaikh
185f65fbdd Bump containernetworking/cni to v0.8.1
Fix CVE-2021-20206
2021-05-06 20:18:50 +05:30
Pengfei Ni
bee44da7a2 Update Azure Go SDK version to v53.1.0 2021-04-23 02:30:48 +00:00
John Howard
a849c8998c Update kube-openapi and gnostic dependencies
Pulling in https://github.com/kubernetes/kube-openapi/pull/220
2021-04-19 12:24:05 -07:00
David Porter
b5dd78da3d vendor: cadvisor v0.39.0
Main upgrades:
- github.com/opencontainers/runc v1.0.0-rc93
- github.com/containerd/containerd v1.4.4
- github.com/docker/docker v20.10.2
- github.com/mrunalp/fileutils v0.5.0
- github.com/opencontainers/selinux v1.8.0
- github.com/cilium/ebpf v0.2.0
2021-03-08 22:10:29 -08:00
monopole
ba39d22e39 until stable: pin-dependency, update-vendor, update-bazel, lint-dep 2021-03-08 16:50:43 -08:00
Benjamin Elder
b0a86806f0 hack/update-vendor.sh 2021-03-07 15:34:44 -08:00
Jordan Liggitt
a5307b00cc Update vendor to drop unused openapi deps 2021-03-04 13:10:00 -05:00
Benjamin Elder
56e092e382 hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
Maciej Iwan Iwanowski
d573ab8317
Upgrading cAdvisor to 0.38.8 2021-02-22 19:37:05 +01:00
Jordan Liggitt
4e7a9e5bcc Update github.com/NYTimes/gziphandler 2021-02-03 16:57:36 -05:00