Commit Graph

22648 Commits

Author SHA1 Message Date
Joe Betz
7f5e1baeee Bump gengo/v2 to latest
Co-authored-by: Tim Hockin <thockin@google.com>
Co-authored-by: Aaron Prindle <aprindle@google.com>
Co-authored-by: Yongrui Lin <yongrlin@google.com>
# Conflicts:
#	vendor/modules.txt
2025-03-03 09:49:50 -05:00
Kubernetes Prow Robot
c5b83f7c6c Merge pull request #129375 from carlory/remove-fg-AppArmor
Remove general available feature-gate AppArmor
2025-03-02 05:18:55 -08:00
Kubernetes Prow Robot
78c41fbcc9 Merge pull request #130515 from Jefftree/revert-cle-beta-types
Revert "LeaseCandidate v1beta1 API"
2025-03-01 14:55:02 -08:00
David Ashpole
29c219dceb update go.opentelemetry.io dependencies to v1.33.0/v0.58.0 2025-03-01 19:18:34 +00:00
Jefftree
05a90bf642 Revert "Add LeaseCandidate v1beta1"
This reverts commit fad4594fd9.
2025-03-01 14:14:25 +00:00
Jefftree
1a1b566d61 Revert "LeaseCandidate alpha -> beta,"
This reverts commit ac7a95efb0.
2025-03-01 14:14:19 +00:00
Jefftree
71622aee49 Revert "generated"
This reverts commit 2d10dec3a2.
2025-03-01 14:10:35 +00:00
HirazawaUi
d5c072117d Clarify host_port field in CRI 2025-03-01 16:57:45 +08:00
Kubernetes Prow Robot
75633d0838 Merge pull request #130506 from jpbetz/document-client-gen-ordering
Clarify ordering requirements of client-gen --input
2025-02-28 18:21:09 -08:00
Kubernetes Prow Robot
c9d54b92ca Merge pull request #130450 from JoelSpeed/fix-contains-cidr
Fix implementation of ContainsCIDR to allow non-equal addresses
2025-02-28 18:20:55 -08:00
Kubernetes Prow Robot
aad87f2ee9 Merge pull request #130388 from thockin/error_matcher_and_origin
Add an error matcher, convert 2 tests
2025-02-28 17:14:55 -08:00
Joe Betz
df9d5f0bf8 Clarify ordering requirements of client-gen --input 2025-02-28 18:56:43 -05:00
Kubernetes Prow Robot
d04883c90c Merge pull request #130061 from mimowo/make-backoffperindex-stable
Graduate Backoff Limit Per Index as stable
2025-02-28 13:37:02 -08:00
Kubernetes Prow Robot
2fc329c857 Merge pull request #129334 from serathius/streaming-json-list-encoder
Streaming json list encoder
2025-02-28 13:36:55 -08:00
Kubernetes Prow Robot
01ed8ed4ff Merge pull request #130474 from dims/bump-x/crypto-and-x/oauth2
Bump x/oauth2 and x/crypto
2025-02-28 11:31:03 -08:00
Tim Hockin
c8111709e5 Add an error matcher, convert 2 tests
I fixed up the TestValidateEndpointsCreate path to show the matcher
instead of manual origin checking.

I picked TestValidateTopologySpreadConstraints because it was the last
failing test on my screen when I changed on of the commonly hard-coded
error strings. I fixed exactly those validation errors that were needed
to make this test pass.  Some of the Origin values can be debated.

The `field/testing.Matcher` interface allows tests to configure the
criteria by which they want to match expected and actual errors.  The
hope is that everyone will use Origin for Invalid errors.

There's some collateral impact for tests which use exact-comparisons and
don't expect origins.  These are all candidates for using the matcher.
2025-02-28 08:36:26 -08:00
Kubernetes Prow Robot
ef1c659569 Merge pull request #130291 from Jefftree/cle-beta
LeaseCandidate v1beta1 API
2025-02-28 08:26:56 -08:00
Kubernetes Prow Robot
c92dde6941 Merge pull request #129338 from pohly/log-client-go-certificates
client-go certificate: context-aware APIs and logging
2025-02-28 07:08:57 -08:00
Marek Siarkowicz
e7c743b2eb Streaming JSON encoder for List 2025-02-28 13:33:36 +01:00
Patrick Ohly
f9051901ce client-go certificate: context-aware APIs and logging
For NewManager, the Config struct gets changed (not extended!) so that the
caller can provide a logger instead of just a logging function. Breaking the
API was chosen because it avoids having to maintain two different log calls in
various places (one for printf-style logging, one for structured logging).

RequestCertificateWithContext is an extension. It enables getting rid of
context.TODO calls.

NewFileStoreWithLogger also is an extension.
2025-02-28 10:37:06 +01:00
Tim Hockin
6b7e38f018 Fix nits from PR 130355 2025-02-28 00:06:11 -08:00
Kubernetes Prow Robot
803e9d6495 Merge pull request #130355 from yongruilin/validation_origin
validation: Add Origin field to field.Error for more precise error tracking
2025-02-28 00:04:23 -08:00
yongruilin
07477c656e test: convert ValidateEndpointsCreate to use error Origin field in test
Update ValidateEndpointsCreate validation tests to use the new Origin field for more precise error comparisons. It leverage the Origin field instead of detailed error messages, improving test robustness and readability.

Co-authored-by: Tim Hockin <thockin@google.com>
2025-02-28 06:55:58 +00:00
Jefftree
2d10dec3a2 generated 2025-02-27 17:50:36 +00:00
Jefftree
ac7a95efb0 LeaseCandidate alpha -> beta, 2025-02-27 17:50:36 +00:00
Kubernetes Prow Robot
b8c95e1954 Merge pull request #129688 from cpanato/update-main-go124
[go] Bump images, dependencies and versions to go 1.24.0
2025-02-27 09:10:30 -08:00
Davanum Srinivas
0fede7b8a2 Bump x/oauth2 and x/crypto
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-02-27 10:59:37 -05:00
Jefftree
fad4594fd9 Add LeaseCandidate v1beta1 2025-02-27 15:41:26 +00:00
Joel Speed
b7c80f7f15 Fix implementation of ContainsCIDR to allow non-equal addresses 2025-02-27 14:57:27 +00:00
Monokaix
e5becd01c8 correct ResyncPeriod comments
Signed-off-by: Monokaix <changxuzheng@huawei.com>
2025-02-27 15:04:07 +08:00
yongruilin
02f7dc55d1 feat: Add Origin field to Error and related methods
This change introducing a new field in Error. It would be used in testing to compare the expected errors without matching the detail strings.

Co-authored-by: Tim Hockin <thockin@google.com>
2025-02-27 05:20:48 +00:00
Kubernetes Prow Robot
a18b4a8d97 Merge pull request #129158 from LionelJouin/fix-128831
Fix ResourceClaim status API inconsistency
2025-02-26 20:32:30 -08:00
Kubernetes Prow Robot
1b4c3483ce Merge pull request #127577 from vaibhav2107/eviction-hard
Added the MergeDefaultEvictionSettings Kubelet Config
2025-02-26 12:10:30 -08:00
Kubernetes Prow Robot
25dc6c9820 Merge pull request #130281 from z1cheng/issue_130264
Implement chunking for gzip encoder in deferredResponseWriter
2025-02-26 10:16:36 -08:00
Michal Wozniak
a91ed902fe Graduate Backoff Limit Per Index as stable
Reenable the JobBackoffLimitPerIndex_Reenabling integration test
2025-02-26 17:06:37 +01:00
z1cheng
2472f4965f Implement chunking for gzip encoder in deferredResponseWriter
Signed-off-by: z1cheng <imchench@gmail.com>
2025-02-26 22:23:17 +08:00
Kubernetes Prow Robot
126a5824de Merge pull request #130443 from serathius/watchcache-limit
Remove limit support from btree store
2025-02-26 05:12:30 -08:00
Marek Siarkowicz
168c338f7c Remove limit support from btree store
We cannot use limit as it would apply it before filtering, which is done
in cacher. Limit is not currently used, but let's remove it to be save,
until filtering is implemented in store.
2025-02-26 12:02:02 +01:00
Jordan Liggitt
8090db5dcf Switch to private instances of rand for seeding for tests 2025-02-26 11:27:10 +01:00
cpanato
88300c406b bump go.mod to set min go1.24
Signed-off-by: cpanato <ctadeu@gmail.com>
2025-02-26 11:27:07 +01:00
cpanato
597b54720e Bump images, dependencies and versions to go 1.24.0
Signed-off-by: cpanato <ctadeu@gmail.com>
2025-02-26 11:26:54 +01:00
Marek Siarkowicz
fea89f25d1 Move GetCurrentResourceVersion to storage.Interface 2025-02-26 11:26:05 +01:00
Kubernetes Prow Robot
3d9fcb7c01 Merge pull request #130412 from serathius/watchcache-progress
Move watch progress to separate package.
2025-02-26 00:16:41 -08:00
Marek Siarkowicz
4c635ecf82 Rename CacheProxy to CacheDelegator 2025-02-25 20:55:27 +01:00
Kubernetes Prow Robot
ffad281e3e Merge pull request #130060 from carlory/fix-quota-scope
Fix the `ResourceQuota` admission plugin does not respect ANY scope change
2025-02-25 08:24:29 -08:00
Kubernetes Prow Robot
49f419e84e Merge pull request #129657 from p0lyn0mial/upstream-cacher-resilient-init-back-off
storage/cacher/ready: dynamically calculate the retryAfterSeconds
2025-02-25 07:10:30 -08:00
Marek Siarkowicz
740db0f01d Move watch progress to separate package. 2025-02-25 15:44:05 +01:00
Kubernetes Prow Robot
4b12e89d0d Merge pull request #130279 from serathius/watchcache-snapshot
Watchcache snapshot
2025-02-25 05:08:37 -08:00
Lukasz Szaszkiewicz
04f0bd4e83 storage/cacher/ready: dynamically calculate the retryAfterSeconds
retryAfterSeconds is based on the time elapsed since the state (ready, unready) was last changed.
2025-02-25 13:58:20 +01:00
carlory
eb0f003d25 Fix a bug where the ResourceQuota admission plugin does not respect ANY scope change when a resource is being updated. i.e. to set/unset an existing pod's terminationGracePeriodSeconds field. 2025-02-25 10:26:34 +08:00