ContainerImage.Pinniped/internal/controller
Ryan Richard c82f568b2c certauthority.go: Refactor issuing client versus server certs
We were previously issuing both client certs and server certs with
both extended key usages included. Split the Issue*() methods into
separate methods for issuing server certs versus client certs so
they can have different extended key usages tailored for each use
case.

Also took the opportunity to clean up the parameters of the Issue*()
methods and New() methods to more closely match how we prefer to call
them. We were always only passing the common name part of the
pkix.Name to New(), so now the New() method just takes the common name
as a string. When making a server cert, we don't need to set the
deprecated common name field, so remove that param. When making a client
cert, we're always making it in the format expected by the Kube API
server, so just accept the username and group as parameters directly.
2021-03-12 16:09:37 -08:00
..
apicerts certauthority.go: Refactor issuing client versus server certs 2021-03-12 16:09:37 -08:00
authenticator All controller unit tests should not cancel context until test is over 2021-03-04 17:26:01 -08:00
impersonatorconfig certauthority.go: Refactor issuing client versus server certs 2021-03-12 16:09:37 -08:00
issuerconfig Sort CredentialIssuer strategies in preferred order. 2021-03-03 14:03:27 -06:00
kubecertagent Implement all optional methods in dynamic certs provider 2021-03-11 16:24:08 -05:00
supervisorconfig All controller unit tests should not cancel context until test is over 2021-03-04 17:26:01 -08:00
supervisorstorage All controller unit tests should not cancel context until test is over 2021-03-04 17:26:01 -08:00
controller_test.go Clean this test up a trivial amount using `require.Implementsf()`. 2020-12-17 08:38:16 -06:00
utils.go Upstream Watcher Controller Syncs less often by adjusting its filters 2020-12-18 15:41:18 -08:00