Commit Graph

132786 Commits

Author SHA1 Message Date
Michael Aspinwall
9757d8d8ef Document 0 as a special case in RV comparison 2025-10-01 03:09:26 +00:00
Michael Aspinwall
84f85712be feat: Add matcher and conformance tests ensuring that RV is uint128 2025-10-01 00:01:50 +00:00
Michael Aspinwall
7c24e62d7c Add additional types for resource version comparison testing 2025-09-30 17:16:07 +00:00
Michael Aspinwall
37fcfcd29e feat: Add conformance tests for all resources for comparable resource version 2025-09-29 23:32:07 +00:00
Michael Aspinwall
2cef54c145 feat: Add helper function for client-go to compare resource version 2025-09-29 20:41:24 +00:00
Kubernetes Prow Robot
1ffdc16b71 Merge pull request #134314 from xigang/node_controller_zone
node_lifecycle_controller: fix ComputeZoneState method comment
2025-09-29 11:30:24 -07:00
Kubernetes Prow Robot
da552ef1d7 Merge pull request #134240 from yongruilin/master_vg_strategy-call
Refactor: Centralize declarative validation logic
2025-09-29 11:30:17 -07:00
Kubernetes Prow Robot
8ebc216c59 Merge pull request #134185 from DanBokete/deprecate-caseless-validation
Feat: Adds warnings when ResourceSlice driver names contain uppercase characters
2025-09-29 09:40:18 -07:00
Kubernetes Prow Robot
50cc9905b6 Merge pull request #132059 from jm-franc/configurable-tolerance-e2e-test
Add configurable tolerance e2e test.
2025-09-29 07:40:19 -07:00
Kubernetes Prow Robot
5161bf0058 Merge pull request #134268 from joshjms/gce-test-fix-etcd-manifest
gce: Fix etcd manifest
2025-09-28 08:00:16 -07:00
joshjms
6a5d0ef423 gce: fix etcd manifest
Signed-off-by: joshjms <joshjms1607@gmail.com>
2025-09-28 22:06:16 +08:00
xigang
574b09b7de nodelifecycle: fix ComputeZoneState method comment
Signed-off-by: xigang <wangxigang2014@gmail.com>
2025-09-28 10:56:56 +08:00
Kubernetes Prow Robot
ed49decb4a Merge pull request #134309 from hakman/npd-1.34.0
Update NPD to v1.34.0
2025-09-27 19:38:16 -07:00
Ciprian Hacman
2b3f1877be Update NPD to v1.34.0 2025-09-27 19:57:47 +03:00
Dan Bokete
b40b67b9cf Deprecate caseless driver name validation and enforce lowercase warnings
- Deprecate IsDNS1123SubdomainCaseless to avoid caseless validation issues.
- Warn when ResourceSlice driver names contain uppercase characters.
- Clarify driver names must be DNS subdomains and use only lowercase letters.
- Update tests, staging code, and OpenAPI spec to reflect the changes.
2025-09-27 13:23:59 +01:00
yongruilin
96349a4608 chore: Move declarative validation featuregates to staging apiserver 2025-09-26 22:30:16 +00:00
yongruilin
e6e6c6fdfb Remove unused WithTakeover and WithValidationIdentifier 2025-09-26 17:22:48 +00:00
yongruilin
9a7e2291d1 refactor: Remove Validate(Update)Declaratively and improve error handling 2025-09-26 17:22:48 +00:00
Joe Betz
d2ec0308c7 simplify scale subresource testing and document expectations
Co-Authored-by: Yongrui Lin <yongrlin@outlook.com>
2025-09-26 17:22:48 +00:00
yongruilin
713cb97a85 test: Add unit tests for metricIdentifier function 2025-09-26 17:22:48 +00:00
yongruilin
2d7dd9164f Refactor: Centralize declarative validation and migration logic
The boilerplate for running declarative validation was duplicated across multiple resource strategies. This included feature gate checks, metric identifier generation, error comparison, and conditional merging logic, which made the code verbose and difficult to maintain.

This commit introduces a new helper function, `rest.ValidateDeclarativelyWithMigrationChecks`, to encapsulate this common logic. All relevant strategies have been refactored to use this new function, resulting in cleaner and more concise code.
2025-09-26 17:22:46 +00:00
Kubernetes Prow Robot
0bdf1f89c3 Merge pull request #134279 from yongruilin/master_customunique
feat(validation-gen): Introduce k8s:customUnique to control listmap uniqueness
2025-09-26 10:10:16 -07:00
Kubernetes Prow Robot
4f72f0fdbf Merge pull request #134113 from jpbetz/resource-claim-status-pool
Enable Declarative Validation Pool status field of ResourceClaim
2025-09-26 09:16:18 -07:00
Jean-Marc François
d559a4afe7 Add configurable tolerance e2e test. 2025-09-26 10:58:20 -04:00
Kubernetes Prow Robot
aecc114b37 Merge pull request #134275 from humblec/fix
Fix error messages in volume path handler
2025-09-26 07:42:19 -07:00
Kubernetes Prow Robot
f97ee63b5d Merge pull request #134254 from dims/make-containerd-download-more-robust
containerd download should be more robust to remove flakiness
2025-09-26 03:04:19 -07:00
Kubernetes Prow Robot
f884da7ff9 Merge pull request #134277 from lalitc375/devex
Improve developer experience for DV tests
2025-09-25 21:12:16 -07:00
Kubernetes Prow Robot
9a3dce00ae Merge pull request #134271 from Jefftree/scheme-nil
Add nil scheme check in GetReference
2025-09-25 14:54:15 -07:00
Kubernetes Prow Robot
bab29b5b62 Merge pull request #134274 from neolit123/1.35-fix-discovery-client-lb
kubeadm: use JoinHostPort for Waiter functions
2025-09-25 12:26:15 -07:00
Joe Betz
7efc77f493 Apply feedback 2025-09-25 14:51:52 -04:00
yongruilin
7bab54a7c8 emit comment for uniqueness is disabled by k8s:customUnique 2025-09-25 17:37:17 +00:00
yongruilin
059d1794e6 test(validation-gen): Enable uniqueness validation tests for listmap 2025-09-25 17:37:16 +00:00
yongruilin
71797498f9 test(certificates): Add ratcheting test for CSR conditions 2025-09-25 17:37:16 +00:00
yongruilin
3da0a255f7 Enable listmap uniqueness & run codegen 2025-09-25 17:37:09 +00:00
Lalit Chauhan
3015e58e40 Improve tests devex for DV tests. 2025-09-25 17:29:30 +00:00
Lubomir I. Ivanov
bd075eb98c kubeadm: use JoinHostPort in WaitControlPlaneClient
Using naive string concat with ":" does not work for IPv6.
Apply the fix to WaitForKubelet as well.
2025-09-25 19:11:10 +02:00
Humble Devassy Chirammal
ad8f91fb0f Fix error messages in volume path handler
Signed-off-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
2025-09-25 22:37:03 +05:30
yongruilin
8138390e51 feat(certificates): Add k8s:customUnique tag to CertificateSigningRequestStatus 2025-09-25 16:42:46 +00:00
yongruilin
09e96ae3f1 chore(validation-gen): Update output_tests for k8s:customUnique 2025-09-25 16:42:40 +00:00
yongruilin
81e2d21176 feat(validation-gen): Add k8s:customUnique tag for disabling uniqueness validation 2025-09-25 16:42:31 +00:00
Davanum Srinivas
6031ff29c1 make containerd download more robust 2025-09-25 12:17:34 -04:00
Kubernetes Prow Robot
243d8c000e Merge pull request #133190 from aman4433/kube-proxy-statusz-endpoints
kube-proxy: list available endpoints in /statusz
2025-09-25 07:28:23 -07:00
Jefftree
051b29bde3 Add nil scheme check in GetReference 2025-09-25 14:28:17 +00:00
Kubernetes Prow Robot
2003bd0ced Merge pull request #134265 from neolit123/1.35-fix-discovery-client-lb
kubeadm: ensure waiting for apiserver uses a local client
2025-09-25 06:36:20 -07:00
Lubomir I. Ivanov
0010d3992a kubeadm: ensure waiting for apiserver uses a local client
When waiting for the kube-apiserver to report 'ok'
in the 'init' and 'join' phase 'wait-control-plane', a client
constructed from the 'admin.conf' is used. In the case of the
kube-apiserver, the discovery client is used so that
anonymous-auth works. But if 'admin.conf' is used as is,
it would point to the CPE and not the LAE.

Implement a new method WaitControlPlaneClient() for both
init.go and join.go that patches the 'Server' field in the
loaded v1.Config to point to the LAE, before constructing
a client set and using it in the kube-apiserver waiter.
2025-09-25 14:43:45 +02:00
Kubernetes Prow Robot
0969bb173c Merge pull request #134260 from cpanato/update-rules
update publishing rules for 1.33/1.34 to set go1.24.7
2025-09-25 04:22:17 -07:00
Carlos Panato
a96ac3a276 update publishing rules for 1.33/1.34 to set go1.24.7
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-09-25 09:55:13 +02:00
Kubernetes Prow Robot
0e014fc8dd Merge pull request #134192 from hoteye/fix-context-usage-in-discovery
Fix context usage in kubeadm discovery file
2025-09-25 00:40:24 -07:00
Kubernetes Prow Robot
29bb3a5d07 Merge pull request #133841 from yangjunmyfm192085/fixcmdtest
[failing-test] fix kubectl exec command in cmd test
2025-09-24 13:02:15 -07:00
Aman Shrivastava
409ad3944f added unit test for /statusz endpoints 2025-09-24 21:34:08 +05:30