apiserver/pkg/server/options
Monis Khan 298cf1beec Encryption config: correctly handle overlapping providers
This change updates NewPrefixTransformers to not short-circuit on
the first transformer that has a matching prefix.  If the same type
of encryption ProviderConfiguration is used more than once, they
will share the same prefix.  A failure in the first one should not
prevent a later match from being attempted.

Added TestCBCKeyRotationWithOverlappingProviders unit test to
prevent regressions.  Note that this test explicitly exercises this
flow using an EncryptionConfiguration object as the structure of the
resulting transformer is an important part of the check.

Signed-off-by: Monis Khan <mkhan@redhat.com>

Kubernetes-commit: 4dc16f29a7285a4bcaff1915728953d8a55e1b6e
2019-09-06 12:09:43 -04:00
..
encryptionconfig Encryption config: correctly handle overlapping providers 2019-09-06 12:09:43 -04:00
testdata Allow kube-apiserver to test the status of kms-plugin. 2019-05-30 11:15:35 -07:00
OWNERS Updated OWNERS files to include link to docs 2019-01-30 20:05:00 +01:00
admission.go Remove the propagated scheme from the Admission chain 2019-02-16 13:28:14 -08:00
admission_test.go fix typo 2018-04-04 16:03:17 +08:00
api_enablement.go Remove the propagated scheme from the Admission chain 2019-02-16 13:28:14 -08:00
api_enablement_test.go Moved flag and globalflag 2019-02-15 10:28:13 -05:00
audit.go adds dynamic audit integration test 2018-10-16 16:17:33 -06:00
audit_test.go update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate 2019-03-04 12:46:52 -05:00
authentication.go fix typo in warning advice for permissions 2019-01-04 09:58:06 -05:00
authentication_test.go Allow kube-scheduler to tolerate cluster auth config lookup failure 2018-12-05 13:51:06 -05:00
authorization.go Move from glog to klog 2018-11-09 13:49:10 -05:00
coreapi.go removes Authorizer and ExternalClientSet from kubeapiserver's admission initializer. 2017-10-03 18:08:30 +02:00
deprecated_insecure_serving.go Fix max port value to 65535 2019-06-24 15:13:27 -04:00
doc.go move apiserver options 2017-02-02 09:36:48 -05:00
egress_selector.go Add support for konnectivity service to the etcd3 client. 2019-08-27 15:58:06 -07:00
etcd.go Allow kube-apiserver to test the status of kms-plugin. 2019-05-30 11:15:35 -07:00
etcd_test.go Allow kube-apiserver to test the status of kms-plugin. 2019-05-30 11:15:35 -07:00
events.go adds dynamic audit configuration 2018-10-18 21:34:17 -05:00
feature.go Remove build/verify scripts for swagger 1.2 API docs, API server swagger ui / swagger 1.2 config 2019-01-15 10:44:36 -05:00
recommended.go Get network-proxy working with GCE. 2019-05-20 12:44:51 -07:00
server_run_options.go add /livez as a liveness endpoint for kube-apiserver 2019-08-26 16:57:25 -07:00
server_run_options_test.go add /livez as a liveness endpoint for kube-apiserver 2019-08-26 16:57:25 -07:00
serving.go Moved flag and globalflag 2019-02-15 10:28:13 -05:00
serving_test.go fix duplicated imports of k8s code (#77484) 2019-05-08 18:39:56 +00:00
serving_with_loopback.go kube-scheduler: enable secure ports 10259 2018-09-05 16:42:16 +08:00
webhook.go adds dynamic audit configuration 2018-10-18 21:34:17 -05:00