Commit Graph

20009 Commits

Author SHA1 Message Date
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
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
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
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
SataQiu
8cf0c79fc8 Add v1.29.0 API testdata 2023-12-15 12:12:07 +08:00
yulng
06679402e7 remove PruneWhitelist, use prune-allowlist instead
Signed-off-by: yulng <wei.yang@daocloud.io>
Signed-off-by: Paco Xu <paco.xu@daocloud.io>
2023-12-15 11:51:14 +08:00
Kubernetes Prow Robot
a3adc759a3 Merge pull request #121601 from carlory/fix-pvc-condition
fix wrong condition description in PVC
2023-12-14 22:07:46 +01:00
Kubernetes Prow Robot
e12d4b63d6 Merge pull request #121773 from pohly/zapr-update
dependencies: zapr v1.3.0, zap v1.26.0
2023-12-14 18:14:22 +01:00
Eric Lin
87d817e62d handlers/watch: refactor watch serving to prepare offloading
Signed-off-by: Eric Lin <exlin@google.com>
2023-12-14 16:37:25 +00:00
Kubernetes Prow Robot
c2dc7fc672 Merge pull request #122321 from xmudrii/drop-release-1.25
Drop publishing-bot rules for the release-1.25 branch
2023-12-14 16:00:03 +01:00
Marko Mudrinić
16f35785f9 Drop publishing-bot rules for the release-1.25 branch
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2023-12-14 13:33:54 +01:00
Kubernetes Prow Robot
8690bbc9c1 Merge pull request #122146 from pohly/dra-helper-context-support
DRA helper: enhance context support
2023-12-14 12:57:25 +01:00
Kubernetes Prow Robot
2a1c78e501 Merge pull request #122027 from wojtek-t/sort_outside_critical_loop
Don't sort in the critical section
2023-12-14 10:49:06 +01:00
Kubernetes Prow Robot
012f0b85ab Merge pull request #120393 from Ritikaa96/kubectl-create-deploy
Improvements added in kubectl create deployment help
2023-12-14 08:49:55 +01:00
Kubernetes Prow Robot
54cffe88d0 Merge pull request #122229 from thockin/fix_prerelease_string
Fix prerelease codegen log string
2023-12-14 07:27:03 +01:00
Ricardo Lopes
86ab185fa1 Migrate client-go/metadata to contextual logging (#122225)
* client-go: migrate metadata to contextual logging

Signed-off-by: Ricardo Lopes <ricardoapl.dev@gmail.com>

* client-go: test for metadata contextual logs

Signed-off-by: Ricardo Lopes <ricardoapl.dev@gmail.com>

* refactor: extract context for table driven testing

Signed-off-by: Ricardo Lopes <ricardoapl.dev@gmail.com>

* refactor: pass context as first parameter

Signed-off-by: Ricardo Lopes <ricardoapl.dev@gmail.com>

---------

Signed-off-by: Ricardo Lopes <ricardoapl.dev@gmail.com>
2023-12-14 07:26:45 +01:00
Kubernetes Prow Robot
d1f4e93ddf Merge pull request #122173 from KubeKyrie/optimize-trace-span-name
change func WithTracing  parameter naming, serviceName to spanName
2023-12-14 07:26:09 +01:00
Kubernetes Prow Robot
e7e3eaf065 Merge pull request #122168 from rlsvarinskis/event_metrics_fix
Fix etcd storage_events_received_total metric not being registered
2023-12-14 06:19:10 +01:00
Kubernetes Prow Robot
3c8241f4f3 Merge pull request #122115 from wojtek-t/cleanup_watch_handler
Minor cleanups in watch handler toward unification between http and websockets
2023-12-14 06:17:49 +01:00
Kubernetes Prow Robot
2b2418cae7 Merge pull request #122085 from byako/improve-dra-api-comments
dynamic-resource-allocation: Update helper code API comments
2023-12-14 06:17:23 +01:00
Kubernetes Prow Robot
583a79a456 Merge pull request #122069 from linxiulei/le_opt0
Optimistically update leader lock
2023-12-14 05:10:46 +01:00
Kubernetes Prow Robot
0c24ec6e8a Merge pull request #121983 from andyzhangx/remove-warning-logs
cleanup: remove getStorageAccountName warning messages
2023-12-14 05:09:16 +01:00
Kubernetes Prow Robot
0bfb25beec Merge pull request #121964 from kannon92/ephemeral-storage-not-alpha
drop alpha comment on ephemeral storage
2023-12-14 05:08:49 +01:00
Kubernetes Prow Robot
98748cc812 Merge pull request #122193 from cici37/fixPresentCost
CEL library: set presence check cost back to zero after cel-go upgrade.
2023-12-14 01:11:00 +01:00
Kubernetes Prow Robot
888b99f6dc Merge pull request #121914 from siyuanfoundation/health-rf
k8s.io/apiserver: refactor GenericAPIServer healthz code.
2023-12-13 23:56:04 +01:00