Commit Graph

1102 Commits

Author SHA1 Message Date
Paco Xu
744d9bfda3 update github.com/coredns/corefile-migration v1.0.20
- Minor change: Don't return Unsupported/Deprecated plugins for non-migration cases, i.e. when the start version is the same as the end version.
2023-02-25 21:39:44 +08:00
Patrick Ohly
aa1279b5eb dependencies: update gomega to v1.26.0
If gomega.Eventually/Consistently run into a situation where it observes some
state of e.g. a pod which does not satisfy the condition and then further
polling fails with API server errors, gomega will report both the most recent
pod state and API error instead of just the API error.
2023-01-25 09:55:50 +01:00
Kubernetes Prow Robot
5a3540f462
Merge pull request #114825 from pohly/e2e-pod-consistently-pending
e2: fix check of "pod is consistently pending"
2023-01-22 12:56:02 -08:00
Mike Danese
f61c4245c1 vendor: removed unused dep github.com/elazarl/goproxy 2023-01-18 18:31:50 +00:00
Patrick Ohly
6b5f77b163 e2e framework/pod: add gomega matchers
They can be used for polling with a get function and gomega.Eventually or
gomega.Consistently.
2023-01-16 09:05:37 +01:00
Davanum Srinivas
d9b98bc36a
Update to new release of moby/ipvs
hack/pin-dependency.sh github.com/moby/ipvs v1.1.0

- go to a fixed tag for `vishvananda/netns`
- no more references to `pkg/errors`

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-01-14 16:13:24 -05:00
Kubernetes Prow Robot
3e049c5e68
Merge pull request #114883 from bobbypage/cadvisor_v047
deps: Bump cAdvisor to v0.47.1
2023-01-12 09:04:54 -08:00
Madhav Jivrajani
8b064fa4be *: Bump version of vmware/govmomi
Bumping version to include changes that
better handle TLS errors. Bump nescessary
to prepare for when the version of Go is
bumped to 1.20

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2023-01-12 15:08:45 +05:30
David Porter
761dd3640e deps: Bump to cAdvisor v0.47.1
Signed-off-by: David Porter <david@porter.me>
2023-01-11 16:07:12 -08:00
Olivier Lemasle
8b8e20fcdb Bump kube-openapi 2023-01-11 11:48:07 +01:00
Patrick Ohly
baf832d80d dependencies: update ginkgo to v2.7.0
The new ginkgo release adds sorting of specs. This was triggered by
the observation that parallel test execution of Kubernetes E2E tests
sometimes ran the same spec twice and (presumably) other specs not at all
because spec order was random due to iteration over a map.

Sorting should avoid that problem.
2023-01-09 20:54:58 +01:00
Joe Betz
8a69d206a2 Fix 114661 via cel-go bump to 0.12.6 to pick up cel-go#620 2023-01-05 14:24:00 -05:00
Kubernetes Prow Robot
020fb2eb77
Merge pull request #113538 from pohly/e2e-ginkgo-timeline
e2e: ginkgo timeline
2022-12-21 13:53:28 -08:00
Patrick Ohly
f3ef400431 dependencies: update to ginkgo v2.6.1, gomega v1.24.2
Ginkgo v2.5.0 adds support for a "timeline": a full description of what happened
while a specific test ran, including failures, timeouts, and log output.

Ginkgo v2.6.0 adds ReportBeforeSuite which we need for
https://github.com/kubernetes/kubernetes/issues/114313.
2022-12-20 07:55:51 +01:00
Paco Xu
1cfbc8768b github.com/Microsoft/hcsshim to v0.8.25 2022-12-17 22:08:54 +08:00
Ernest Wong
a4e4cec28f
Bump github.com/aws/aws-sdk-go to v1.44.147 2022-12-14 14:18:46 +00:00
Kubernetes Prow Robot
d2ed6d355e
Merge pull request #114279 from pacoxu/coredns-v1.10.0
update coredns to v1.10.0
2022-12-10 12:21:52 -08:00
ialidzhikov
712dea4ae3 Update github.com/aws/aws-sdk-go
from v1.44.116 to v1.44.136
2022-12-07 09:23:24 +02:00
Paco Xu
9b633b3dde update github.com/coredns/corefile-migration v1.0.18 2022-12-05 11:05:39 +08:00
David Porter
a2c4672163 deps: Bump cAdvisor to v0.46.0
Signed-off-by: David Porter <david@porter.me>
2022-11-08 18:49:14 -08:00
Kubernetes Prow Robot
74352d88aa
Merge pull request #113577 from pacoxu/prometheus-client
upgrade github.com/prometheus/client_golang to v1.14.0
2022-11-08 12:42:49 -08:00
Paco Xu
ecbafed7c3 upgrade runc to v1.1.4 2022-11-08 16:42:48 +08:00
Paco Xu
c3add32859 upgrade prometheus-client to v1.14.0 2022-11-08 16:25:12 +08:00
Fabio Bertinatto
c3529513ca dependencies: bump CSI to v1.17.0
This is required in order to promote DelegateFSGroupToCSIDriver
to GA.
2022-11-04 07:26:17 -03:00
Paco Xu
1d04ee4cb6 upgrade github.com/prometheus/client_golang to v1.13.1 2022-11-03 16:22:07 +08:00
Patrick Ohly
e6ad2f2f23 dependencies: update to gomega v1.23.0 and ginkgo v2.4.0 and dependencies
Gomega adds support for formatting extensions and StopTrying in matchers.
Ginkgo enhances DeferCleanup.

This also triggered an update of other dependencies.
2022-10-28 12:50:09 +02:00
Kubernetes Prow Robot
ccb6275142
Merge pull request #113084 from dims/bump-aws-sdk-go-for-1.26
Pick up new AWS region by bumping aws-sdk-go for 1.26
2022-10-19 11:35:19 -07:00
Patrick Ohly
d1dbf7ae3e dependencies: update to gomega v1.22.1 and ginkgo v2.3.1
This adds support for timeouts and intermediate reports in Eventually and
Consistently.
2022-10-17 12:12:54 +02:00
Davanum Srinivas
af76f3b72a
Bump AWS libraries to latest
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-10-16 11:38:08 -04:00
Kubernetes Prow Robot
542ec97705
Merge pull request #113037 from pacoxu/fsnotify-v1.6.0
update fsnotify to v1.6.0
2022-10-13 23:00:57 -07:00
John McBride
dfb55ba48a Bumps cobra from 1.5.0 to 1.6.0
- Upgrades mousetrap license to latest Apache 2.0

Signed-off-by: John McBride <jpmmcbride@gmail.com>
2022-10-13 14:52:39 +00:00
Paco Xu
3fee9d2735 update fsnotify to v1.6.0 2022-10-13 13:24:55 +08:00
Kubernetes Prow Robot
8d1ba6a086
Merge pull request #112731 from pacoxu/blackfriday-v2
upgrade Blackfriday to v2 and re-implement render
2022-09-29 08:44:53 -07:00
Paco Xu
65cb35f931 pin github.com/russross/blackfriday/v2 to v2.1.0 2022-09-26 13:52:58 +08:00
Davanum Srinivas
866ef3c46e
run hack/update-vendor.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-09-24 13:27:13 -04:00
Davanum Srinivas
005a5ca081
update github.com/go-openapi/jsonreference to drop github.com/PuerkitoBio/purell
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-09-20 20:49:55 -04:00
Kubernetes Prow Robot
886b3cbc19
Merge pull request #112588 from pacoxu/fsnotify-v1.5.4
update fsnotify/fsnotify to v1.5.4
2022-09-20 12:07:16 -07:00
Davanum Srinivas
298b629e44
run pin-dependency.sh and then hack/update-vendor.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-09-20 06:55:59 -04:00
Paco Xu
d20d83310e update fsnotify/fsnotify to v1.5.4 2022-09-20 11:14:49 +08:00
Kubernetes Prow Robot
6820a383be
Merge pull request #112545 from dims/update-etcd-3.5.5-and-all-otel-related-to-latest
Update etcd 3.5.5 and all otel related libraries to newer versions
2022-09-19 19:15:31 -07:00
Kubernetes Prow Robot
25b93a607a
Merge pull request #112352 from pohly/e2e-ginkgo-progress
e2e: better ginkgo progress reports
2022-09-19 01:04:32 -07:00
Patrick Ohly
1e4edaf2fe e2e: bump ginkgo to v2.2.0
The new release adds support for intermediate progress reports.
2022-09-18 10:10:07 +02:00
Davanum Srinivas
5be80c05c4
updated etcd to v3.5.5 and newer otel libraries as well
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-09-17 21:47:24 -04:00
Humble Chirammal
d2f11fe7f9 update vendor dependencies for glusterfs removal code
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-09-13 20:17:05 +05:30
Patrick Ohly
311144fb3e dependencies: update to ginkgo v2.1.6 and gomega v1.20.1
Ginkgo v2.1.6 adds ginkgo.SuppressProgressReporting which is needed
to suppress too verbose output each time the ReportAfterEach of the custom
progress reporter is invoked.
2022-08-30 19:57:47 +02:00
Kubernetes Prow Robot
bf2e850b3a
Merge pull request #111910 from tosi3k/go-runtime-metrics
Enable new set of Go metrics in Kubernetes
2022-08-29 12:26:48 -07:00
Kubernetes Prow Robot
3a4e3a0b56
Merge pull request #111964 from DangerOnTheRanger/cel-estimate-fix-update
Fix CEL size estimation
2022-08-29 08:00:38 -07:00
Antoni Zawodny
ce65b712f8 Enable new set of Go metrics in Kubernetes 2022-08-26 09:44:10 +02:00
Antoni Zawodny
f78e7a2b19 Bump prometheus/client_golang to v1.13.0 2022-08-26 05:40:17 +02:00
Kubernetes Prow Robot
6ea7527522
Merge pull request #111909 from tosi3k/bump-prom-client
Bump prometheus/client_golang to v1.12.2
2022-08-23 20:09:00 -07:00
Davanum Srinivas
d206d7f0a6
drop gophercloud/gophercloud from vendor/
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-08-22 16:43:14 -04:00
Kermit Alexander II
4a703d6cbc Run pin-dependency.sh and update-vendor.sh. 2022-08-22 16:59:14 +00:00
Antoni Zawodny
e3ccfb128d Bump prometheus/client_golang to v1.12.2 2022-08-18 13:57:22 +02:00
Jiawei Wang
d52cdeae79 cleanup: Remove storageos volume plugins from k8s codebase 2022-08-03 20:19:59 +00:00
David Porter
d9fda8ab3b vendor: Bump cAdvisor to v0.45.0
Signed-off-by: David Porter <david@porter.me>
2022-08-03 09:47:06 -07:00
Natasha Sarkar
83c3c37a87
Update kubectl kustomize to kyaml/v0.13.9, cmd/config/v0.10.9, api/v0.12.1, kustomize/v4.5.7 (#111606) 2022-08-02 20:13:51 -07:00
Kubernetes Prow Robot
70dcb0f129
Merge pull request #111618 from Jiawei0227/flocker
cleanup: Remove flocker volume plugins from k8s codebase
2022-08-02 09:16:16 -07:00
Jiawei Wang
9c869b3dfc cleanup: Remove quobyte volume plugins from k8s codebase 2022-08-02 00:47:02 +00:00
Jiawei Wang
ff063889a7 cleanup: Remove flocker volume plugins from k8s codebase
Flocker storage plugin removed from k8s codebase.

Flocker, an early external storage plugin in k8s,
has not been in maintenance and their business is
down. As far as I know, the plugin is not being
used anymore.

This PR removes the whole flocker dependency and
codebase from core k8s to reduce potential security
risks and reduce maintenance work from the sig-storage community.
2022-08-02 00:42:50 +00:00
Nic Cope
7a2c6a432f Use checksums instead of fsyncs to manage discovery cache corruption
Part of the API discovery cache uses an HTTP RoundTripper that
transparently caches responses to disk. The upstream implementation of
the disk cache is hard coded to call Sync() on every file it writes.
This has noticably poor performance on modern Macs, which ask their disk
controllers to flush all the way to persistant storage because Go uses
the `F_FULLFSYNC` fnctl. Apple recommends minimizing this behaviour in
order to avoid degrading performance and increasing disk wear.

The content of the discovery cache is not critical; it is indeed just a
cache and can be recreated by hitting the API servers' discovery
endpoints. This commit replaces upstream httpcache's diskcache
implementation with a similar implementation that can use CRC-32
checksums to detect corrupted cache entries at read-time. When such an
entry is detected (e.g. because it was only partially flushed to
permanent storage before the host lost power) the cache will report a
miss. This causes httpcache to fall back to its underlying HTTP
transport (i.e. the real API server) and re-cache the resulting value.

Apart from adding CRC-32 checksums and avoiding calling fsync this
implementation differs from upstream httpcache's diskcache package in
that it uses FNV-32a hashes rather than MD5 hashes of cache keys in
order to generate filenames.

Signed-off-by: Nic Cope <nicc@rk0n.org>
2022-07-27 00:13:30 -07:00
Cici Huang
35669cc69c Bump cel-go to v0.12.4 2022-07-14 18:23:57 +00:00
Kubernetes Prow Robot
19a22f7637
Merge pull request #111008 from cici37/bumpCEL
Bump cel-go to v0.12.3
2022-07-14 03:03:04 -07:00
Cici Huang
c67e914373 Bump cel-go to v0.12.3 2022-07-13 20:19:59 +00:00
Cici Huang
a421fd4834 Bump cel-go to v0.12.1 2022-07-11 17:05:32 +00:00
Cici Huang
772a252b06 Bump cel-go to v0.12.0 2022-07-11 08:40:34 -07:00
Dave Chen
d61adab518 Stop using the deprecated Measure method
As what suggested by Ginkgo migration guide, `Measure` node was
deprecated and replaced with `It` node which creates `gmeasure.Experiment`.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-11 17:40:33 +08:00
Dave Chen
f792256954 e2e: adapt output tests to Ginkgo v2 and Gomega 1.19
Full stack traces are on by default. The approach for collecting results is
different. Tests run in their own goroutine, therefore runTests is no longer
part of their callstack. To cover stack traces with more than one entry, a new
test case gets added with a separate helper function.

Gomega object formatting now includes the type.

This removes the last remaining reference to Ginkgo v1.

Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
375b2a5fb2 Build Ginkgo binary
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
857458cfa5 update ginkgo from v1 to v2 and gomega to 1.19.0
- update all the import statements
- run hack/pin-dependency.sh to change pinned dependency versions
- run hack/update-vendor.sh to update go.mod files and the vendor directory
- update the method signatures for custom reporters

Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:44:46 +08:00
Dave Chen
597071af17 Bump kube-openapi to the latest
This will help us to get rid of `Ginkgo` v1 dep.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-06-29 11:47:18 +08:00
Kubernetes Prow Robot
487512bb56
Merge pull request #109510 from sugangli/pinhole-fw
Firewall Pinhole Fix for ILB and NetLB
2022-06-23 16:13:20 -07:00
Sugang Li
c64846da00 update kube-controller-manager dependencies 2022-06-23 18:07:18 +00:00
Kubernetes Prow Robot
272386c9b6
Merge pull request #110496 from kolyshkin/runc-1.1.3
vendor: bump runc to 1.1.3
2022-06-23 07:59:43 -07:00
Luca Comellini
51fafd7de3
Bump grpc to v1.47.0
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2022-06-13 22:08:47 -07:00
Kubernetes Prow Robot
f15b0d1bd7
Merge pull request #110489 from pacoxu/kubeadm-coredns-v1.9.3
kubeadm: upgrade coredns to v1.9.3
2022-06-13 12:16:12 -07:00
Davanum Srinivas
6f2889718f
Switch to released version of v3.8.0 - github.com/emicklei/go-restful/v3
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-06-11 11:27:08 -04:00
Kubernetes Prow Robot
867b5cc31b
Merge pull request #110513 from dims/switch-to-v1.0.2-of-github.com/chai2010/gettext-go
Switch to v1.0.2 of github.com/chai2010/gettext-go
2022-06-10 19:20:18 -07:00
Kubernetes Prow Robot
3f1a9f9f3e
Merge pull request #110512 from dims/switch-to-released-tag-v1.0.0-for-github.com/daviddengcn/go-colortext
Switch to released tag v1.0.0 for github.com/daviddengcn/go-colortext
2022-06-10 18:02:18 -07:00
Kubernetes Prow Robot
48fe99a312
Merge pull request #110511 from dims/switch-to-released-tag-v0.1.0-of-github.com/pquerna/cachecontrol
Switch to released tag v0.1.0 of github.com/pquerna/cachecontrol
2022-06-10 18:02:07 -07:00
Davanum Srinivas
1ff96ede74
Switch to v1.0.2 of github.com/chai2010/gettext-go
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-06-10 19:58:10 -04:00
Kubernetes Prow Robot
f3f50b4d7c
Merge pull request #110510 from dims/switch-to-github.com/MakeNowJust/heredoc-v1.0.0-and-avoid-SHA
Switch to v1.0.0 of github.com/MakeNowJust/heredoc (avoid SHA)
2022-06-10 16:23:44 -07:00
Davanum Srinivas
8cf2ef5558
Switch to released tag v1.0.0 for github.com/daviddengcn/go-colortext
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-06-10 17:12:24 -04:00
Kubernetes Prow Robot
59644ff7bd
Merge pull request #110371 from andyzhangx/upgrade-go-autorest-adal
upgrade Azure/go-autorest/autorest to v0.11.27
2022-06-10 13:19:56 -07:00
Davanum Srinivas
9e1bbfdc65
Switch to released tag v0.1.0 of github.com/pquerna/cachecontrol
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-06-10 15:52:44 -04:00
Davanum Srinivas
3990685432
Switch to v1.0.0 of github.com/MakeNowJust/heredoc (avoid SHA)
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-06-10 14:51:33 -04:00
Kir Kolyshkin
865c9e8fb9
vendor: bump runc to 1.1.3
Release notes:
 https://github.com/opencontainers/runc/releases/tag/v1.1.3

In particular, this one is important:

 * Retry on dbus disconnect logic in libcontainer/cgroups/systemd now
   works as intended; this fix does not affect runc binary itself but
   is important for libcontainer users such as Kubernetes. (#3476)

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2022-06-09 16:19:50 -07:00
Davanum Srinivas
ab690750df
Switch to v3 of github.com/emicklei/go-restful
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-06-09 14:11:41 -04:00
Paco Xu
178dc11b75 kubeadm: upgrade coredns to v1.9.3 2022-06-09 18:45:26 +08:00
andyzhangx
7ac98854e2 upgrade Azure/go-autorest/autorest to v0.11.27
update
2022-06-04 01:52:47 +00:00
Patrick Ohly
93199ee1ed dependencies: bump CSI to v1.6.0
The main difference is that GetCapacityResponse.MaximumVolumeSize is no longer
marked as "alpha".
2022-05-09 08:26:20 +02:00
Patrick Ohly
3e6974e0ba dependencies: logr and zapr v1.2.3
The updated zapr is more resilient against MarshalLog crashing. Not a known
problem in Kubernetes, though.
2022-05-06 15:16:56 +02:00
cici37
334d8fb7a2 Update GRPC 2022-05-04 18:41:20 -07:00
cici37
e8f6184d86 Update genproto and antlr. 2022-05-04 18:37:30 -07:00
cici37
a86dd29157 Bump cel-go to v0.11.2 2022-05-04 18:32:06 -07:00
Jordan Liggitt
9e1064a26b Regenerate vendor 2022-05-04 10:27:41 -04:00
David Porter
b0da29dcb8 Bump cAdvisor to v0.44.1
Bump cAdvisor to v0.44.1 to pick up fix for containerd task timeout
which resulted in empty network metrics.

Signed-off-by: David Porter <david@porter.me>
2022-04-25 17:18:38 -07:00
Kubernetes Prow Robot
fe4cbf6514
Merge pull request #109104 from kolyshkin/bump-runc-1.1.1
vendor: bump runc to 1.1.1
2022-03-29 20:36:59 -07:00
Kubernetes Prow Robot
699aeb735f
Merge pull request #109092 from kolyshkin/mock-1.6.0
vendor: bump golang/mock to 1.6.0
2022-03-29 17:36:16 -07:00
Kir Kolyshkin
79c17cf44e vendor: bump runc to 1.1.1
Release notes:
  https://github.com/opencontainers/runc/releases/tag/v1.1.1

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2022-03-29 06:58:09 -07:00
Kir Kolyshkin
fd21ade6d5 vendor: bump golang/mock to 1.6.0
Commit e3ed3ba7c9 bumps golang/mock to 1.6.0 in hack/tools.
It makes sense to keep its version in sync, so let's do the same
in the top level go.mod.

Generated by

	./hack/pin-dependency.sh github.com/golang/mock v1.6.0
	./hack/lint-dependencies.sh
	./hack/update-vendor.sh
	./hack/update-internal-modules.sh

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2022-03-28 21:49:04 -07:00
Elana Hashman
07af1bab70
deps: update runc to 1.1.0
This updates vendored runc/libcontainer to 1.1.0,
and google/cadvisor to a version updated to runc 1.1.0
(google/cadvisor#3048).

Changes in vendor are generated by (roughly):

        ./hack/pin-dependency.sh github.com/google/cadvisor v0.44.0
        ./hack/pin-dependency.sh github.com/opencontainers/runc v1.1.0
        ./hack/update-vendor.sh
        ./hack/lint-dependencies.sh # And follow all its recommendations.
        ./hack/update-vendor.sh
        ./hack/update-internal-modules.sh
        ./hack/lint-dependencies.sh # Re-check everything again.

Co-Authored-By: Kir Kolyshkin <kolyshkin@gmail.com>
2022-03-28 16:23:18 -07:00
Stephen Kitt
080c6c711e
Upgrade to blang/semver/v4 v4.0.0
This is the first version to be fully go-mod-compatible.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2022-03-28 09:33:23 +02:00
Kubernetes Prow Robot
736a023167
Merge pull request #108988 from neolit123/1.24-update-system-validators
update k8s.io/system-validators to v1.7.0
2022-03-25 23:45:35 -07:00
Lubomir I. Ivanov
fe7af1c68b bump k8s.io/system-validators to v1.7.0
- add blkio as an optionally required cgroup
- update blang/semver to v4
- bump the min go version to 1.16
2022-03-25 02:26:01 +02:00
Manu Gupta
f9abf7e7ac Updates moby/sys mountinfo package to v0.6.0
Update to moby/sys/mountinfo package that contains MountedFast
function. The function uses OpenAt2 call for newer kernels
to determine if a mount-point is present or not.
2022-03-19 16:09:21 -07:00
Jefftree
8a1d5947ad googleapis/gnostic -> google/gnostic 2022-03-15 20:44:03 -07:00
Kubernetes Prow Robot
9d512581b8
Merge pull request #108643 from liggitt/cobra
Update cobra to v1.4.0
2022-03-10 19:23:08 -08:00
cici37
7572b26fba Bump cel-go to v0.10.1 2022-03-10 14:50:35 -08:00
Jordan Liggitt
60b9af476f Update cobra to v1.4.0 2022-03-10 16:19:43 -05:00
Joe Betz
2a6b85c395 Bump cel-go to v0.10.0 2022-03-07 20:47:04 -05:00
Damien Grisonnet
7f3f8d25c8 bump client_golang to v1.12.1
Bump client_golang to v1.12.1 to fix a concurrency issue in the Go
Collector that was introduced by the library in v1.12.0.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2022-02-24 10:25:12 +01:00
Romain Aviolat
0a98875e95
feat: add missing SOCKS5 features
Goal of this commit is to add some missing features when the
Kubernetes API is accessed through a SOCKS5 proxy. That's for
example the case when port-forwarding is used (`kubectl port-forward`)
or when exec'ing inside a container (`kubectl exec`), with this
commit it'll now be possible to use both.

Signed-off-by: Romain Aviolat <romain.aviolat@kudelskisecurity.com>
Signed-off-by: Romain Jufer <romain.jufer@kudelskisecurity.com>
2022-01-21 11:49:41 +01:00
-e
8a4e66049e upgrade prometheus/client_golang to v1.12.0(common to v0.32.1) 2022-01-19 22:30:33 +08:00
-e
cbe72f5d0b upgrade cespare/xxhash/v2 to v2.1.2 2022-01-19 22:17:27 +08:00
Kubernetes Prow Robot
8b45805523
Merge pull request #106912 from Letme/patch-1
Update to runc v 1.0.3
2022-01-19 01:28:06 -08:00
Kubernetes Prow Robot
7046fc258d
Merge pull request #104733 from thaJeztah/bump_moby_term
go.mod: github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6
2021-12-20 19:24:45 -08:00
Crt Mori
fadb36effb Update to runc v 1.0.3
fix GetStats for unsupported hugetlb needed to run on RaspberryPi4 with non-hugetlb compiled kernel (standard). This includes the https://github.com/opencontainers/runc/pull/3233

Used commands from hack folder to generate the new dependency:

```
hack/pin-dependency.sh github.com/opencontainers/runc v1.0.3
hack/update-vendor.sh

hack/lint-dependencies.sh
```
2021-12-13 22:32:45 +01:00
Davanum Srinivas
420145e529
drop things from vendor/ directory
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-12-08 08:07:03 -05:00
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
Sebastiaan van Stijn
717e541926
go.mod: github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6
full diff: 9d4ed18562...3f7ff695ad

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-09-02 15:26:04 +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