apiserver/pkg/server/options
Monis Khan 8d68e6f323 Load encryption config once
This change updates the API server code to load the encryption
config once at start up instead of multiple times.  Previously the
code would set up the storage transformers and the etcd healthz
checks in separate parse steps.  This is problematic for KMS v2 key
ID based staleness checks which need to be able to assert that the
API server has a single view into the KMS plugin's current key ID.

Signed-off-by: Monis Khan <mok@microsoft.com>

Kubernetes-commit: f507bc255382b2e2095351053bc17e74f7100d35
2022-08-29 17:25:48 -04:00
..
encryptionconfig Load encryption config once 2022-08-29 17:25:48 -04:00
testdata Ensure testing credentials are labeled as such 2020-02-04 10:36:05 -08:00
OWNERS Cleanup OWNERS files (No Activity in the last year) 2021-12-10 15:18:50 -05:00
admission.go Generate and format files 2022-07-19 20:54:13 -04:00
admission_test.go fix typo 2018-04-04 16:03:17 +08:00
api_enablement.go fix typo `registry` 2021-08-08 18:37:16 +08:00
api_enablement_test.go fix typo `registry` 2021-08-08 18:37:16 +08:00
audit.go Ensure the dir of --audit-log-path exists 2022-06-27 17:21:02 +03:00
audit_test.go Ensure the dir of --audit-log-path exists 2022-06-27 17:21:02 +03:00
authentication.go Add DisableAnonymous to DelegatingAuthenticationOptions 2022-09-01 11:58:51 -04:00
authentication_dynamic_request_header.go API Server Changes 2022-03-07 09:20:45 -05:00
authentication_test.go wire up a means to dynamically reload ca bundles for kube-apiserver 2019-10-07 14:06:42 -04:00
authorization.go Generate and format files 2022-07-19 20:54:13 -04:00
coreapi.go kubelet tracing 2021-10-10 09:17:27 -04:00
deprecated_insecure_serving.go remove DeprecatedInsecureServingOptionsWithLoopback 2022-09-11 21:22:18 +08:00
doc.go move apiserver options 2017-02-02 09:36:48 -05:00
egress_selector.go fix all keps links 404 for kep folder migration 2021-01-14 14:03:21 +08:00
etcd.go Load encryption config once 2022-08-29 17:25:48 -04:00
etcd_test.go Load encryption config once 2022-08-29 17:25:48 -04:00
feature.go Remove args enable-swagger-ui since no effect from 1.14 2021-09-15 10:32:35 +08:00
recommended.go Load encryption config once 2022-08-29 17:25:48 -04:00
server_run_options.go kube-apiserver: mark unused master-service-namespace flag as deprecated 2022-09-30 16:13:13 +08:00
server_run_options_test.go cleanup(apiserver): delete the --max-resource-write-bytes & --json-patch-max-copy-bytes description. 2021-12-08 17:12:37 +08:00
serving.go run hack/update-netparse-cve.sh 2021-08-20 01:16:14 +02:00
serving_test.go run hack/update-netparse-cve.sh 2021-08-20 01:16:14 +02:00
serving_unix.go generated: Run hack/update-gofmt.sh 2021-08-12 17:13:11 -04:00
serving_unix_test.go generated: Run hack/update-gofmt.sh 2021-08-12 17:13:11 -04:00
serving_windows.go generated: Run hack/update-gofmt.sh 2021-08-12 17:13:11 -04:00
serving_with_loopback.go Switch the order of adding SNICert and creating LoopbackClientConfig 2021-04-22 23:17:39 +00:00
serving_with_loopback_test.go run hack/update-netparse-cve.sh 2021-08-20 01:16:14 +02:00
tracing.go update to v1.12.0 of semconv 2022-09-18 19:33:02 -04:00
tracing_test.go kubelet tracing 2021-10-10 09:17:27 -04:00