Commit Graph

20744 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
9bd0ef5f17 Merge pull request #122558 from linxiulei/webhook-http2
Use http/2 for localhost webhook
2024-01-04 19:11:26 +01:00
Patrick Ohly
9c6b42af46 promote contextual logging to beta, enabled by default
As discussed in
https://github.com/kubernetes/enhancements/pull/4219#issuecomment-1807811995
benchstat reports no significant difference in most test cases for
scheduler_perf for -v3. At -v5, there is some slowdown, but that is justified
because the output becomes more useful for debugging.

Enabling the feature by default ensures that log output becomes better
regardless whether users know and remember to enable it.
2024-01-04 18:10:04 +01:00
Kubernetes Prow Robot
e1576c8e43 Merge pull request #121924 from saschagrunert/leaky
Remove `leaky` package and move `PodInfraContainerName` to staging
2024-01-04 17:59:30 +01:00
Kubernetes Prow Robot
4cc0af1d16 Merge pull request #121917 from SataQiu/clean-import-hack
Remove import hack about k8s.io/utils/clock/testing
2024-01-04 17:59:21 +01:00
Brian Pursley
4aecb151b8 Fix kubectl drain error handling bug.
Fixed a bug where kubectl drain would consider a pod as having been deleted if an error occurs while calling the API.
2024-01-04 08:53:57 -05:00
Eric Lin
246e69fb99 Use http/2 for localhost webhook
Signed-off-by: Eric Lin <exlin@google.com>
2024-01-04 09:09:10 +00:00
Kubernetes Prow Robot
cacdf6c707 Merge pull request #122023 from ardaguclu/set-credentials-exec-flags
kubectl config set-credentials: Add InteractiveMode and ProvideClusterInfo flags
2024-01-03 17:21:06 +01:00
Kubernetes Prow Robot
838536f664 Merge pull request #122468 from carlory/remove-fg-RemoveSelfLink
remove GA featuregate RemoveSelfLink
2024-01-03 16:16:25 +01:00
Kubernetes Prow Robot
a7af34e1b8 Merge pull request #122347 from aramase/aramase/c/move_kms_apis
kmsv2: move encryption config types to standard API server config location
2024-01-03 16:16:18 +01:00
Ivo Gosemann
10a6885da1 feat(cli-runtime): wrap meta.NoKindMatchErrors 2024-01-03 11:53:18 +01:00
Anish Ramasekar
af8da8e01c [StructuredAuthnConfig] add comment for extra keys unique requirement
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2024-01-02 19:58:20 +00:00
bzsuni
5405dd0f9b Update goleak from v1.2.1 to v1.3.0
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2024-01-03 00:20:48 +08:00
Lan Liang
d3b8eba690 Update konnectivity to 0.29.0
update konnectivity server&agent images to 0.29.0

  bump konnectivity deps to 0.29.0

Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-01-02 14:24:35 +00:00
j4ckstraw
c3775de747 fix logic error
Signed-off-by: j4ckstraw <j4ckstraw@foxmail.com>
2024-01-01 18:06:24 +08:00
Mohammed Yasin
2203cb7dde fix: create tls secret cert to crt for --cert flag
- Fixed help message for crete tls for --cert flag
- Renamed to "cert" to "crt"

Signed-off-by: Mohammed Yasin <yasindce1998@gmail.com>
2023-12-29 06:19:55 +00:00
Kubernetes Prow Robot
1b6b3ba013 Merge pull request #122346 from Jefftree/patcher-fix-openapigetter-nil
Make Patcher tolerant of OpenAPIGetter being nil
2023-12-27 22:01:30 +01:00
HirazawaUi
20fe2a3539 Add decoding time to the audit log 2023-12-26 22:39:19 +08:00
carlory
3b67181c93 remove GA featuregate RemoveSelfLink 2023-12-25 00:29:38 +08:00
Arda Güçlü
acbbaddada Initialize default attach func regardless of the value of flag 2023-12-22 09:50:48 +03:00
Kazuki Suda
90e68e3a02 Update the help mesage of interactive flag in kubectl delete 2023-12-21 21:46:31 +09:00
Kubernetes Prow Robot
0cabb55f7c Merge pull request #122315 from fazledyn-or/Fix_Inappropriate_Logic
Fixed Inappropriate Logical Expression
2023-12-21 10:31:20 +01:00
Kubernetes Prow Robot
0d530551bc Merge pull request #122393 from mzaian/etcd-3511
etcd: Update to version 3.5.11
2023-12-21 06:41:55 +01:00
fazledyn-or
d317b01244 Fixed Inappropriate Logical Expression
The length of `finalInterceptors` will always be a
non-zero value. In that case, the comparison will
always return a True value, making the comparison
meaningless.

Signed-off-by: fazledyn-or <ataf@openrefactory.com>
2023-12-21 09:44:20 +06:00
Lubomir I. Ivanov
47ee56a7f2 core/v1: remove note about hostAliases not working with hostNetwork
Support for this was added in 1.8 by PR 50646.
Local tests confirm that the feature indeed works.
E2e tests seem to be missing.
2023-12-20 18:09:21 +02:00
Mohamed Omar Zaian
c8a2d5684d etcd: Update to version 3.5.11 2023-12-20 11:18:35 +01:00
Madhav Jivrajani
a8da4202c0 .*: bump golang.org/x/tools to v0.16.1
Bumping tools to include the fix for a nil pointer
deref error in go/types. See golang/go#64812
for more details.

This fix is needed for when we bump to go1.22.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2023-12-20 14:31:31 +05:30
Kubernetes Prow Robot
7897910469 Merge pull request #122395 from pohly/ginkgo-gomega-update
dependencies: gomega v1.30.0 + ginkgo v2.13.2
2023-12-20 09:43:17 +01:00
Patrick Ohly
c8f9ebfb72 dependencies: gomega v1.30.0 + ginkgo v2.13.2
The new gomega.BeTrueBecause and gomega.BeFalseBecause are going to be useful
for https://github.com/kubernetes/kubernetes/issues/105678.
2023-12-19 16:18:05 +01:00
Anish Ramasekar
75695dae10 move encryption config types to standard API server config location
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2023-12-18 20:54:24 +00:00
Steve Kuznetsov
868114a41d k8s.io/code-generator: include all metav1 applyconfigs
When users of `applyconfiguration-gen` use any of the `metav1` types in
their own types, they expect to have correct apply configurations
generated without having to explicitly pass anything to the tool. In the
same way that we used to include `metav1.ObjectMeta` and
`metav1.TypeMeta`, we now include all of the `metav1` types that have
apply-configurations generated for them in `client-go`. There's no
downside to loading these types, so there's no reason to omit any.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2023-12-18 13:39:27 -07:00
Kubernetes Prow Robot
2b5c0c281d Merge pull request #122310 from weilaaa/use_buildin_max_min_instead
use build-in max and min func to instead of k8s.io/utils/integer funcs
2023-12-18 19:25:34 +01:00
Kubernetes Prow Robot
296e1bfb40 Merge pull request #122332 from SataQiu/drop-127-api-testdata
Drop v1.27.0 API testdata
2023-12-18 18:13:43 +01:00
Kubernetes Prow Robot
c8047a604a Merge pull request #122331 from SataQiu/v1.29.0-api-testdata
Add v1.29.0 API testdata
2023-12-18 18:13:34 +01:00
Kubernetes Prow Robot
368dfe3a88 Merge pull request #122036 from linxiulei/cleanup
Minor cleanup for handlers/watch
2023-12-18 13:16:03 +01:00
Kubernetes Prow Robot
b46e436e18 Merge pull request #121684 from jmhbnz/fix-etcd-repo
Fix etcd repository path to prevent redirects
2023-12-18 10:27:04 +01:00
Kubernetes Prow Robot
38e715de26 Merge pull request #122083 from mengjiao-liu/cleanup-HealthcheckType
Clean up unused type `HealthcheckType`.
2023-12-18 08:33:40 +01:00
Kubernetes Prow Robot
76cd7521aa Merge pull request #121912 from JoelSpeed/cel-ip-addr
CEL library extensions for IP Address and CIDR network parsing
2023-12-16 11:06:04 +01:00
James Blair
b6c1f8ef08 Fix etcd repository path to prevent redirects.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-12-16 19:50:02 +13:00
Kubernetes Prow Robot
4cff5e8d2d Merge pull request #122329 from jpbetz/fix-crd-drop-fields
Bug fix: Enable CRD field dropping for validation ratcheting
2023-12-15 20:55:48 +01:00
Jefftree
9d1829c33a Make OpenAPIGetter tolerant of nil 2023-12-15 13:44:54 -05:00
Joel Speed
b3285fa8df Add tests for CIDR type 2023-12-15 12:03:09 +00:00
Joel Speed
31f9384646 Add tests for IP type 2023-12-15 12:03:07 +00:00
Joel Speed
e1f9aa450b Add costing estimations for IP and CIDR 2023-12-15 12:03:06 +00:00
Joel Speed
4710f085b3 Add IP and CIDR libraries to CEL environment for 1.30 2023-12-15 12:03:05 +00:00
Joel Speed
2f585b4512 Add CIDR network CEL extension
This adds new CEL functions to the library for validating if a string is a CIDR notation.

This will work in conjunction with the IPAddr to allow checking if an IPAddr exists within a particular network.
2023-12-15 12:03:04 +00:00
Joel Speed
13b22b23a1 Add special IP validations to IP CEL type 2023-12-15 11:02:34 +00:00
Joel Speed
c6aa360d3e Add IP address CEL extension
This adds new CEL functions to the library for validating if a string is an IP address,
and, if it can be parsed as an IP address, adds additional accessors to get properties
of the IP address.
2023-12-15 11:02:33 +00:00
weilaaa
eb8f3f194f use build-in max and min func to instead of k8s.io/utils/integer funcs 2023-12-15 15:09:11 +08:00
Joe Betz
f676c99d6e Wire in field dropping for CRDs 2023-12-14 23:40:19 -05:00
SataQiu
88cfff678b Drop v1.27.0 API testdata 2023-12-15 12:16:28 +08:00