ContainerImage.Pinniped/test/integration
Monis Khan 7a812ac5ed
impersonatorconfig: only unload dynamiccert when proxy is disabled
In the upstream dynamiccertificates package, we rely on two pieces
of code:

1. DynamicServingCertificateController.newTLSContent which calls
   - clientCA.CurrentCABundleContent
   - servingCert.CurrentCertKeyContent
2. unionCAContent.VerifyOptions which calls
   - unionCAContent.CurrentCABundleContent

This results in calls to our tlsServingCertDynamicCertProvider and
impersonationSigningCertProvider.  If we Unset these providers, we
subtly break these consumers.  At best this results in test slowness
and flakes while we wait for reconcile loops to converge.  At worst,
it results in actual errors during runtime.  For example, we
previously would Unset the impersonationSigningCertProvider on any
sync loop error (even a transient one caused by a network blip or
a conflict between writes from different replicas of the concierge).
This would cause us to transiently fail to issue new certificates
from the token credential require API.  It would also cause us to
transiently fail to authenticate previously issued client certs
(which results in occasional Unauthorized errors in CI).

Signed-off-by: Monis Khan <mok@vmware.com>
2021-08-16 16:07:46 -04:00
..
category_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
cli_test.go Fix TestCLILoginOIDC when running directly against Okta. 2021-07-09 16:29:42 -05:00
concierge_api_serving_certs_test.go Make TestAPIServingCertificateAutoCreationAndRotation less flaky. 2021-07-09 11:29:02 -05:00
concierge_availability_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
concierge_client_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
concierge_credentialissuer_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
concierge_credentialrequest_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
concierge_impersonation_proxy_test.go impersonatorconfig: only unload dynamiccert when proxy is disabled 2021-08-16 16:07:46 -04:00
concierge_kubecertagent_test.go Relax the timeout for TestLegacyPodCleaner a bit. 2021-07-28 13:08:57 -05:00
concierge_kubectl_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
e2e_test.go Fix broken TTY after manual auth code prompt. 2021-07-30 12:45:44 -05:00
formposthtml_test.go Extend TestE2EFullIntegration to test manual OIDC flow. 2021-07-09 12:08:45 -05:00
kube_api_discovery_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
kubeclient_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
ldap_client_test.go Run the LDAP client's integration tests only on Kind 2021-07-08 11:10:53 -07:00
rbac_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
supervisor_discovery_test.go Add "response_modes_supported" to Supervisor discovery response. 2021-07-09 12:08:43 -05:00
supervisor_healthz_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
supervisor_login_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
supervisor_secrets_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
supervisor_storage_garbage_collection_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
supervisor_storage_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
supervisor_upstream_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
whoami_test.go Update tests for new CSR duration code 2021-08-09 19:16:50 -04:00