Commit Graph

18727 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
d9df6b0331 Merge pull request #117251 from linxiulei/wh
Make connection lost retryable in webhook
2023-05-22 09:34:58 -07:00
HirazawaUi
b6364dddfe update webhook test to go 1.21 2023-05-21 21:32:45 +08:00
Eric Lin
2658a2b627 Make connection lost retryable in webhook
When a http2 connection dies due to ping timeout, http2 client gets an
error of "http2: client connection lost". This is similar to
ConnectionReset case so it should be retryable.

Signed-off-by: Eric Lin <exlin@google.com>
2023-05-20 19:02:55 +00:00
Kubernetes Prow Robot
6d09ab86c2 Merge pull request #118093 from Icarus9913/fix/wk/apiserver
fix apiserver InstallAPIGroups slices out of range
2023-05-19 16:28:17 -07:00
Icarus9913
07c9455360 fix apiserver InstallAPIGroups slices out of range
Signed-off-by: Icarus9913 <icaruswu66@qq.com>
2023-05-19 09:53:42 +08:00
Kubernetes Prow Robot
bb67eb5bd2 Merge pull request #117952 from atiratree/fix-kubectl-plugin-tests
fix false positive kubectl plugin unit tests
2023-05-18 00:34:33 -07:00
Kubernetes Prow Robot
b8e460fe4d Merge pull request #118086 from aramase/aramase/c/refactor_grpc_status_code_err
update err status code check in transformation metrics
2023-05-17 15:42:47 -07:00
Anish Ramasekar
526d45416f update err status code check in transformation metrics
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2023-05-17 20:34:25 +00:00
Kubernetes Prow Robot
2a50ef677e Merge pull request #117818 from vihangm/inMemDescribers
Add all describers to the exported DefaultObjectDescriber
2023-05-17 11:52:33 -07:00
Vihang Mehta
885f3d7a7d Sort and limit to the describers the return (string, error)
Signed-off-by: Vihang Mehta <vihang@pixielabs.ai>
2023-05-17 16:36:46 +00:00
Filip Křepinský
bafae5c076 rename err to lookupErr 2023-05-17 14:55:07 +02:00
Filip Křepinský
8b9cbe6202 fix false positive kubectl plugin unit tests
- test.args should be passed instead of the os.Args of the test framework
  to prevent simple invocation of kubectl without args that could
  manifest in false positive test runs
- plugin execution should have a different test path
- tests should invoke functioning kubectl commands instead of the mock
  ones to ensure the correct subcommand is executed without a failure
2023-05-17 14:52:00 +02:00
Kubernetes Prow Robot
b950f7ffb6 Merge pull request #118027 from humblec/hack-install-etcd
etcd: Update version to 3.5.9
2023-05-17 04:52:33 -07:00
Kubernetes Prow Robot
02f4d643ea Merge pull request #118036 from skitt/docker-distribution-2.8.2
Bump docker/distribution to 2.8.2
2023-05-16 18:46:32 -07:00
Antoine Pelisse
b81cfb9cb8 Update vendor 2023-05-16 13:10:45 -07:00
Antoine Pelisse
15c5713015 managedfields: Remove gvk from SkipNonApplied
Let's remove the dependency on the GVK in SkipNonApplied internal
manager, since we can deduce the type from the given object.
2023-05-16 13:03:48 -07:00
Antoine Pelisse
b52e57c589 managedfields: Improve/strengthen version checking for Apply 2023-05-16 13:03:48 -07:00
Antoine Pelisse
559d12fcce managedfields: Create NewFakeFieldManager
And simplify how a lot of the fakes are created. Notably, the converter
was never really used to do anything so this is simplified.
2023-05-16 13:03:48 -07:00
Antoine Pelisse
45853e20ae openapi: Create client -> TypeConverter function
Allows creating a typeconverter from a client (i.e. by taking the data
of the client and formatting it so that one can create a type
converter).
2023-05-16 13:03:48 -07:00
Kubernetes Prow Robot
54d2ced4d6 Merge pull request #117985 from howardjohn/patch-2
Fix comments on InformerFor
2023-05-16 08:11:48 -07:00
Kubernetes Prow Robot
d91fd5138e Merge pull request #117753 from humblec/mitchelle
dependencies: update gh/mitchellh/go-wordwrap
2023-05-16 08:11:36 -07:00
Humble Chirammal
e3eb4bd0c5 updating dependencies.yaml for etcd v3.5.9 version
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-16 20:27:17 +05:30
adil ghaffar
d6e488b998 Changing annotate PrintFlags from annotate to annotated 2023-05-16 14:39:15 +03:00
Stephen Kitt
3680a5230c Bump docker/distribution to 2.8.2
k/k doesn't use much code from docker/distribution so this doesn't
change anything that's actually relevant, but 2.8.1 is identified as
affected by CVE-2022-28391 and CVE-2023-2253; bumping to 2.8.2 avoids
k/k triggering scanners on those CVEs.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2023-05-16 09:20:40 +02:00
Humble Chirammal
3b69fa2fa5 dependencies: update github.com/mitchellh/go-wordwrap v1.0.1
https://github.com/mitchellh/go-wordwrap/compare/v1.0.0...v1.0.1

Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-16 10:18:52 +05:30
Kubernetes Prow Robot
ffb4172ff1 Merge pull request #115754 from linxiulei/sched
Start informers after leader election
2023-05-15 15:41:36 -07:00
Kubernetes Prow Robot
ea4cc84cf7 Merge pull request #118014 from liggitt/mapstructure
Update kube-openapi, drop mapstructure
2023-05-15 14:41:35 -07:00
Jordan Liggitt
d6d1dbdd82 Update kube-openapi, drop mapstructure 2023-05-15 16:42:00 -04:00
Kubernetes Prow Robot
4d4d92808b Merge pull request #117544 from ruquanzhao/removeUndefinedConvert
fix undefined convertion
2023-05-15 13:21:47 -07:00
Eric Lin
a52dcd0d9f Add DelayCacheUntilActive option to start informers after leader election
If scheduler fails to be active (elected if leader election is enabled),
setting this option will not start informers so that to avoid memory
overhead.

Signed-off-by: Eric Lin <exlin@google.com>
2023-05-15 19:52:04 +00:00
Kubernetes Prow Robot
2a4bf451b2 Merge pull request #117547 from wojtek-t/apf_dynamic_retry_after
Return dynamic RetryAfter header from APF
2023-05-15 12:19:07 -07:00
Kubernetes Prow Robot
23ea6996d2 Merge pull request #118015 from tenzen-y/list-supprted-operators
Scheduler: Pass the supported nodeSelectorOperators to the field.NotSupported
2023-05-15 11:05:39 -07:00
John Howard
3867569ae2 codegen 2023-05-15 10:16:18 -07:00
Kubernetes Prow Robot
1487fc762f Merge pull request #117982 from jpbetz/sig-roles-jpbetz
Add api-machinery TL owners permissions for jpbetz
2023-05-15 09:07:29 -07:00
Joe Betz
f0f92853ad Add api-machinery TL owners permissions for jpbetz 2023-05-15 11:09:54 -04:00
Kubernetes Prow Robot
3a65b989e3 Merge pull request #117645 from humblec/etcd-2
dependencies: update etcd dependencies to v3.5.9
2023-05-15 07:49:39 -07:00
Kubernetes Prow Robot
87d8c4ed0a Merge pull request #117139 from pohly/test-integration-race-detection-update-utils
dependencies: bump k8s.io/utils
2023-05-15 07:49:28 -07:00
Yuki Iwai
1ca8f84eed Scheduler: Pass the supported nodeSelectorOperators to the field.NotSupported
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2023-05-15 21:43:00 +09:00
Kubernetes Prow Robot
714b165af8 Merge pull request #117901 from ardaguclu/use-getter-allowed-cmds
Use getter function for plugin subcommand resolution
2023-05-15 02:27:27 -07:00
Patrick Ohly
83fb5a50bc dependencies: bump k8s.io/utils
This includes a fix for a race condition.
2023-05-15 08:58:05 +02:00
Arda Güçlü
daebf1c735 Simplify plugin resolution check function 2023-05-15 08:51:46 +03:00
Kubernetes Prow Robot
e425a6f6e4 Merge pull request #117904 from HeavenTonight/master
fix:translations zh_CN LC_MESSAGES k8s.po error
2023-05-14 20:09:27 -07:00
Kubernetes Prow Robot
3d2989600a Merge pull request #117958 from humblec/gcfg.v1
deps: go-gcfg update to the v1.2.3
2023-05-14 12:51:37 -07:00
Humble Chirammal
dcefc42b35 update vendor dependencies for the change
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-14 12:34:48 +05:30
Humble Chirammal
ae74923878 etcd depdencies are updated to v3.5.9
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-14 12:24:40 +05:30
Kubernetes Prow Robot
d8f60a1e8c Merge pull request #117959 from humblec/openconsensus
opencensus update to v0.24.0
2023-05-12 21:25:36 -07:00
Kubernetes Prow Robot
8479db5876 Merge pull request #117946 from lavalamp/lavalamp-taking-a-break
lavalamp is taking a long break
2023-05-12 14:34:47 -07:00
John Howard
7248b9263f Fix comments on InformerFor 2023-05-12 13:23:17 -07:00
Kubernetes Prow Robot
84c8abfb8b Merge pull request #117961 from humblec/ginkgo
ginkgo update to v2.9.4 and gomega to 1.27.6
2023-05-12 09:39:20 -07:00
Kubernetes Prow Robot
58ba509fe5 Merge pull request #117748 from humblec/autirest
dependencies: update gh/Azure/go-autorest to latest version
2023-05-12 09:39:13 -07:00