apiserver/pkg/server
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
..
egressselector Add support for konnectivity service to the etcd3 client. 2019-08-27 15:58:06 -07:00
filters Replace HTTP compression with an inline handler 2019-05-04 17:36:36 -04:00
healthz add /livez as a liveness endpoint for kube-apiserver 2019-08-26 16:57:25 -07:00
httplog apiserver: store httplog in context 2019-06-14 13:09:13 +02:00
mux Remove executable file permission from OWNERS files 2019-01-03 12:18:20 -05:00
options Encryption config: correctly handle overlapping providers 2019-09-06 12:09:43 -04:00
resourceconfig Moved flag and globalflag 2019-02-15 10:28:13 -05:00
routes migrate kube-apiserver metrics to stability framework 2019-08-22 15:38:42 -07:00
storage Unify runtime.SerializerInfo with negotiate.AcceptedMediaTypes 2019-03-21 21:00:55 -04:00
config.go Add support for konnectivity service to the etcd3 client. 2019-08-27 15:58:06 -07:00
config_selfclient.go apiextensions-apiserver: add pkg/cmd/server/testing pkg for integration bootstrapping 2018-06-13 15:53:41 +02:00
config_selfclient_test.go Split TestLoopbackHostPort into 2 tests 2019-04-23 14:52:39 -07:00
config_test.go add /livez as a liveness endpoint for kube-apiserver 2019-08-26 16:57:25 -07:00
deprecated_insecure_serving.go cleanup: move the comment to its place 2019-05-23 12:29:12 +08:00
doc.go update docs.go files under staging/src/k8s.io/apiserver/pkg/server 2019-02-03 20:43:13 +00:00
genericapiserver.go Use CRD validation field in server-side apply 2019-08-28 15:28:49 -07:00
genericapiserver_test.go fix duplicated imports of k8s code (#77484) 2019-05-08 18:39:56 +00:00
handler.go Move from glog to klog 2018-11-09 13:49:10 -05:00
healthz.go add /livez as a liveness endpoint for kube-apiserver 2019-08-26 16:57:25 -07:00
healthz_test.go add readyz endpoint for kube-apiserver readiness checks 2019-05-30 11:19:49 -07:00
hooks.go add /livez as a liveness endpoint for kube-apiserver 2019-08-26 16:57:25 -07:00
plugins.go Remove alpha InitializerConfiguration types, Initializers admission plugin 2019-01-16 10:19:44 -05:00
secure_serving.go allow an apiserver to only serve http1 2019-08-23 15:02:26 -04:00
signal.go windows/svc: workaround-exit mechanism that works for signal-less binaries 2019-02-01 19:16:11 +01:00
signal_posix.go apiservers: add synchronous shutdown mechanism on SIGTERM+INT 2017-08-29 13:16:11 +00:00
signal_windows.go apiservers: add synchronous shutdown mechanism on SIGTERM+INT 2017-08-29 13:16:11 +00:00