apiserver/pkg/util
Siyuan Zhang 9bb4aa730a Refactor compatibility version code
Replace DefaultComponentGlobalsRegistry with new instance of componentGlobalsRegistry in test api server.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

move kube effective version validation out of component base.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

move DefaultComponentGlobalsRegistry out of component base.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

move ComponentGlobalsRegistry out of featuregate pkg.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

remove usage of DefaultComponentGlobalsRegistry in test files.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

change non-test DefaultKubeEffectiveVersion to use DefaultBuildEffectiveVersion.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

Restore useDefaultBuildBinaryVersion in effective version.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

rename DefaultKubeEffectiveVersion to DefaultKubeEffectiveVersionForTest.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

pass options.ComponentGlobalsRegistry into config for controller manager and scheduler.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

Pass apiserver effective version to DefaultResourceEncodingConfig.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

change statusz registry to take effective version from the components.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

Address review comments

Signed-off-by: Siyuan Zhang <sizhang@google.com>

update vendor

Signed-off-by: Siyuan Zhang <sizhang@google.com>

Kubernetes-commit: 8fc3a33454ba38783bb63de41ecf5343e2ced67c
2024-12-20 07:03:03 +00:00
..
apihelpers Wire serving codecs to CBOR feature gate. 2024-11-01 16:05:32 -04:00
compatibility Refactor compatibility version code 2024-12-20 07:03:03 +00:00
dryrun Revert "remove unwanted values returned from dry-run" 2022-04-06 12:34:42 -04:00
feature Add CBOR feature gates. 2024-11-04 10:40:19 -05:00
flowcontrol Linter to ensure go-cmp/cmp is used ONLY in tests 2025-01-24 17:03:29 -05:00
flushwriter remove import doc comments 2024-12-02 14:43:58 +01:00
notfoundhandler aggregator: pass apiServiceRegistrationControllerInitiated signal directly to apiserviceRegistration controller 2021-10-20 11:06:27 +02:00
openapi Cleanup defer from SetFeatureGateDuringTest function call 2024-04-23 10:39:47 +02:00
peerproxy reset err in resolveServingLocation() when the req can be served by local apiserver 2024-09-27 16:54:08 -07:00
proxy remove import doc comments 2024-12-02 14:43:58 +01:00
responsewriter add test for inmemory response writer 2024-10-25 20:54:18 +00:00
shufflesharding Less demanding test cases in TestUniformDistribution 2021-01-25 01:44:08 -05:00
webhook webhook: alter regex to account for x509sha1 GODEBUG removal 2024-12-30 13:39:17 -08:00
wsstream Re-add the legacy wsstream package and deprecate it 2023-05-23 16:15:07 -07:00
x509metrics Initialize the AuditEvent with the AuditContext (#113611) 2023-07-03 18:28:13 +00:00