Update tests for new CSR duration code
Signed-off-by: Monis Khan <mok@vmware.com>
This commit is contained in:
parent
a027f1ae2c
commit
724acdca1d
@ -965,6 +965,7 @@ func TestImpersonationProxy(t *testing.T) { //nolint:gocyclo // yeah, it's compl
|
||||
csrPEM,
|
||||
"",
|
||||
certificatesv1.KubeAPIServerClientSignerName,
|
||||
nil,
|
||||
[]certificatesv1.KeyUsage{certificatesv1.UsageClientAuth},
|
||||
privateKey,
|
||||
)
|
||||
@ -2319,6 +2320,7 @@ func getUIDAndExtraViaCSR(ctx context.Context, t *testing.T, uid string, client
|
||||
csrPEM,
|
||||
"",
|
||||
certificatesv1.KubeAPIServerClientSignerName,
|
||||
nil,
|
||||
[]certificatesv1.KeyUsage{certificatesv1.UsageClientAuth},
|
||||
privateKey,
|
||||
)
|
||||
|
@ -274,6 +274,7 @@ func TestWhoAmI_CSR(t *testing.T) {
|
||||
csrPEM,
|
||||
"",
|
||||
certificatesv1.KubeAPIServerClientSignerName,
|
||||
nil,
|
||||
[]certificatesv1.KeyUsage{certificatesv1.UsageClientAuth},
|
||||
privateKey,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user