apiserver/pkg
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
..
admission Plumb service port, URL port to webhook client auth resolution 2019-09-02 22:38:36 -04:00
apis Fix broken link to api-conventions doc. 2019-08-29 08:35:16 +08:00
audit add some documentation around the metrics stability migration changes for clarity 2019-08-26 19:15:30 -07:00
authentication add some documentation around the metrics stability migration changes for clarity 2019-08-26 19:15:30 -07:00
authorization Remove executable file permission from OWNERS files 2019-01-03 12:18:20 -05:00
endpoints Move Update Apply conflict test to field manager test 2019-08-30 14:47:39 -07:00
features Make ServerSideApply beta, and enable by default (on the server) 2019-08-26 09:11:04 -07:00
registry test 2019-09-03 17:09:12 -07:00
server Encryption config: correctly handle overlapping providers 2019-09-06 12:09:43 -04:00
storage Encryption config: correctly handle overlapping providers 2019-09-06 12:09:43 -04:00
util Plumb service port, URL port to webhook client auth resolution 2019-09-02 22:38:36 -04:00