kubernetes/pkg/api
Lalit Chauhan 92dcd02459 Add helpers for declarative validation tests
Introduces new testing helpers to simplify testing of declarative validation rules. The new `VerifyValidationEquivalence` and `VerifyUpdateValidationEquivalence` functions reduce boilerplate by encapsulating the logic for:

- Toggling the `DeclarativeValidation` and `DeclarativeValidationTakeover` feature gates.
- Comparing the validation output from the imperative and declarative paths.

The declarative validation tests for CertificateSigningRequest and ReplicationController are updated to use these new, simpler helpers.
2025-09-16 16:57:21 +00:00
..
endpoints/testing Move endpoints test-helper funcs to a package 2021-07-01 18:26:45 -07:00
job pkg/api(s): drop pointer wrapper functions 2024-09-23 23:00:34 +02:00
legacyscheme hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
node DisallowInvalidLabelValueInNodeSelector 2024-12-12 15:06:14 +08:00
persistentvolume DisallowInvalidLabelValueInNodeSelector 2024-12-12 15:06:14 +08:00
persistentvolumeclaim Bump RecoverVolumeExpansionFailure to GA 2025-07-10 12:19:31 -04:00
pod extended resource backed by DRA: implementation 2025-07-29 18:55:21 +00:00
service Merge pull request #132214 from Peac36/fix/131497 2025-07-21 14:14:26 -07:00
servicecidr update internal API 2025-01-20 13:01:53 +00:00
storage use generic Set in api 2023-09-25 19:04:08 +08:00
testing Add helpers for declarative validation tests 2025-09-16 16:57:21 +00:00
v1 Merge pull request #132642 from yuanwang04/restart-rules 2025-07-24 16:44:51 -07:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00