Commit Graph

131257 Commits

Author SHA1 Message Date
Aaron Prindle
e8536c0191 add item + union and item + zeroroneof output tests 2025-07-16 22:38:45 +00:00
Aaron Prindle
be72d963b8 add validate/zeroorone_test.go and add +k8s:zeroOrOneOfMember output tests 2025-07-16 22:38:45 +00:00
Aaron Prindle
10b20852e3 feat(validation-gen): add +k8s:zeroOrOneOfMember tag validator and associated validate method 2025-07-16 22:38:45 +00:00
Aaron Prindle
81f18759e6 add validate/union_test.go and add +k8s:unionMember and +k8s:unionDiscriminator output tests 2025-07-16 22:38:44 +00:00
Aaron Prindle
5bc9b69114 feat(validation-gen): add +k8s:unionMember and +k8s:unionDiscriminator tag validators and associated validate methods 2025-07-16 22:38:44 +00:00
Aaron Prindle
bfb42fc31c refactor item.go with buildMatchConditions, make itemTagValidator a LateTagValidator 2025-07-16 22:38:44 +00:00
Aaron Prindle
5d1c5ebd8c add ParentPath to context, remove Parent from context and plumb changes in validators 2025-07-16 22:38:32 +00:00
Aaron Prindle
c50da38aa1 allow field validators to generate variables 2025-07-16 22:33:58 +00:00
Kubernetes Prow Robot
de97faf7ac Merge pull request #132598 from bart0sh/PR182-DRA-handle-serving-failures
DRA plugin: handle gRPC serving failures
2025-07-16 14:18:24 -07:00
Kubernetes Prow Robot
f130a825c2 Merge pull request #132994 from utam0k/kep-5278-feature-gate
Add NominatedNodeNameForExpectation feature flag
2025-07-16 12:12:45 -07:00
Kubernetes Prow Robot
2fdba619ab Merge pull request #132979 from ylink-lfs/chore/residual_intptr_removal
chore: residual intptr removal with ptr.To
2025-07-16 12:12:38 -07:00
Kubernetes Prow Robot
47f1bb2b22 Merge pull request #132950 from serathius/apf_recursive
Use object size estimation for non-recursive list
2025-07-16 12:12:31 -07:00
Kubernetes Prow Robot
5df27c4922 Merge pull request #132833 from saschagrunert/kms-gogo
Convert `k8s.io/kms/apis` from gogo to protoc
2025-07-16 12:12:24 -07:00
Kubernetes Prow Robot
b61534d1c8 Merge pull request #132817 from p0lyn0mial/upstream-watchlist-table-none-server-bk
watchlist supports sending resources in Table format
2025-07-16 11:04:30 -07:00
Kubernetes Prow Robot
190b3cca2b Merge pull request #132212 from astraw99/fix-sts-validation
Add validation of `volumeClaimTemplates` in StatefulSet
2025-07-16 11:04:23 -07:00
Sascha Grunert
8e6651520e Convert k8s.io/kms/apis from gogo to protoc
Use standard protoc for the kms APIs instead of gogo.

Part of kubernetes#96564

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-07-16 16:46:39 +02:00
Kubernetes Release Robot
2f605f49fc CHANGELOG: Update directory for v1.34.0-beta.0 release 2025-07-16 14:40:35 +00:00
Kubernetes Prow Robot
0c44a2b00b Merge pull request #132901 from serathius/watchcache-snapshots-beta
Graduate ListFromCacheSnapshot to Beta
2025-07-16 07:28:24 -07:00
Ed Bartosh
e4320fe25c e2e_node: DRA: test handling fatal serving failures
Added an e2e_node test to verify that the DRA plugin and
registration services cancel provided context when handling
fatal gRPC serving errors.
2025-07-16 15:49:41 +03:00
Ed Bartosh
ea05ad8887 e2e_node: DRA: add errorOnCloseListener
Introduce a mock net.Listener for tests that triggers a controlled
error on Close, enabling reliable simulation of gRPC server failures
in test scenarios.
2025-07-16 15:49:41 +03:00
Ed Bartosh
fc21d3f37d e2e: DRA: enable test plugin to cancel main context on error
Add a cancelMainContext field to ExamplePlugin and options. This
function allows the plugin to cancel an upper-level context when a
background error occurs. The HandleError method now calls this
function if it is set.

This enables DRA drivers to perform a graceful shutdown when a fatal
background error triggers context cancellation.
2025-07-16 15:49:41 +03:00
Ed Bartosh
1981c985b1 e2e: DRA: support test and public options
Refactor StartPlugin and related test helpers to accept a variadic
list of options of any type, allowing both public and test-specific
options to be passed.
2025-07-16 15:49:41 +03:00
Patrick Ohly
d44b737447 DRA: handle grpc.Server.Serve failures
Added an errHandler callback to startGRPCServer for handling errors.
Replaced direct logging of server failures with calls to the
provided error handler. This change ensures that errors are surfaced
and handled consistently.

Co-authored-by: Ed Bartosh <eduard.bartosh@intel.com>
2025-07-16 15:49:32 +03:00
Ed Bartosh
169965350c e2e_node: Refactor DRA tests to use variadic options
Refactor the DRA e2e_node test helpers and test cases to accept
variadic kubeletplugin.Option arguments.

This change improves test flexibility and maintainability, allowing
new options to be passed in the future without requiring widespread
code changes.

There are no functional changes to test coverage or behavior.
2025-07-16 15:42:12 +03:00
utam0k
52fab5969c Add NominatedNodeNameForExpectation feature flag
Signed-off-by: utam0k <k0ma@utam0k.jp>
2025-07-16 21:33:33 +09:00
Kubernetes Prow Robot
c4beea784c Merge pull request #130593 from mortent/DRAAllocatorImprovements
DRA: Improve allocator with better backtracking
2025-07-16 04:58:23 -07:00
Marek Siarkowicz
fd23fa3d42 Graduate ListFromCacheSnapshot to Beta 2025-07-16 12:52:01 +02:00
Kubernetes Prow Robot
b1b15a57e6 Merge pull request #132838 from AwesomePatrol/drop-experimental-etcd-flags
Drop experimental flags from etcd
v1.34.0-beta.0
2025-07-16 02:18:23 -07:00
Kubernetes Prow Robot
d5b2a0438d Merge pull request #132401 from togettoyou/refactor-admission-plugin-flags
Refactor: isolate flag registration to kube-apiserver to eliminate global state
2025-07-15 22:44:29 -07:00
Kubernetes Prow Robot
7871085906 Merge pull request #132295 from pohly/dra-version-skew
DRA: automated upgrade/downgrade testing
2025-07-15 22:44:23 -07:00
astraw99
6e93244532 Add validation of volumeClaimTemplates in StatefulSet 2025-07-16 12:24:35 +08:00
Kubernetes Prow Robot
b77dd78ea9 Merge pull request #132924 from serathius/watchcache-hpa
Prevent running two HPA cachers for different API versions
2025-07-15 20:58:29 -07:00
Kubernetes Prow Robot
be2e836c0e Merge pull request #129404 from champly/fix-killpodoptions-serialization
fix: killPodOptions support JSON serialization
2025-07-15 20:58:22 -07:00
Junhao Zou
ae4a43de6d Refactor: isolate flag registration to kube-apiserver to eliminate global state 2025-07-16 11:01:37 +08:00
Kubernetes Prow Robot
2be3069eb4 Merge pull request #132944 from serathius/watchcache-mark-inconsistent
Inconsistency resets cache snapshots and prevents collection of new ones until cache is marked consistent again
2025-07-15 18:54:22 -07:00
ylink-lfs
5b4c1872a0 chore: residual intptr removal with ptr.To 2025-07-16 09:07:25 +08:00
Kubernetes Prow Robot
e55e75f6d9 Merge pull request #132768 from enj/enj/f/authn_egress
Add egress selector support to JWT authenticator
2025-07-15 17:48:29 -07:00
Kubernetes Prow Robot
584de05d47 Merge pull request #131157 from natasha41575/fix-resize-observedgen
[FG:InPlacePodVerticalScaling] fix observedGeneration in pod resize conditions
2025-07-15 17:48:22 -07:00
Kubernetes Release Robot
e9aab4648f CHANGELOG: Update directory for v1.31.11 release 2025-07-15 23:11:24 +00:00
Kubernetes Release Robot
dc0ca0be3f CHANGELOG: Update directory for v1.33.3 release 2025-07-15 22:19:29 +00:00
Kubernetes Release Robot
d6caa36dcc CHANGELOG: Update directory for v1.32.7 release 2025-07-15 22:18:25 +00:00
Kubernetes Prow Robot
f1bca15796 Merge pull request #132744 from xigang/probe_exec
kubelet: enhance exec probe logging with pod and container context
2025-07-15 13:16:37 -07:00
Kubernetes Prow Robot
20344f9aba Merge pull request #132345 from ffromani/e2e-podresourcesapi-labels
e2e: node: fix podresources API feature label
2025-07-15 13:16:29 -07:00
Kubernetes Prow Robot
3024ef872a Merge pull request #132163 from yue9944882/fix-audit-authn-latency
Bugfix: record authentication latency before audit filter wraps up
2025-07-15 13:16:22 -07:00
Monis Khan
b69fd9d42c Add egress selector support to JWT authenticator
This change adds the StructuredAuthenticationConfigurationEgressSelector
beta feature (default on).  When enabled, each JWT authenticator
specified via the AuthenticationConfiguration.jwt array can
optionally specify either the controlplane or cluster egress
selector by setting the issuer.egressSelectorType field.  When
unset, the prior behavior of using no egress selector is retained.

Egress selection is valuable when the persona configuring the JWT
authenticator and the persona managing the control plane are
different individuals.  This change allows the latter to protect
control plane network services from unexpected connections.

Signed-off-by: Monis Khan <mok@microsoft.com>
2025-07-15 16:03:07 -04:00
Kubernetes Prow Robot
a76eddf608 Merge pull request #132548 from gavinkflam/130656-fix-duplicate-validations-2
bug: Remove duplicate DaemonSet update validations
2025-07-15 12:06:30 -07:00
Kubernetes Prow Robot
06b62dcae7 Merge pull request #132276 from michaelasp/warningemu
Add warnings for use of Alpha features with Emulated Version
2025-07-15 12:06:23 -07:00
Natasha Sarkar
62521d8350 fix observedGeneration in pod resize conditions 2025-07-15 18:23:30 +00:00
Kubernetes Prow Robot
05a596033c Merge pull request #132958 from aroradaman/revert-130837-kube-proxy-node-manager
Revert "Kube proxy node manager"
2025-07-15 10:56:52 -07:00
Kubernetes Prow Robot
394f412767 Merge pull request #132617 from aramase/aramase/f/kep_4412_pod_cache_key_type
Add ServiceAccountTokenCacheType support to credential provider plugin
2025-07-15 10:56:45 -07:00