ContainerImage.Pinniped/test/integration
Matt Moyer 24c8bdef44
Add a test to verify that the kube-cert-agent recovers when a pod becomes unhealthy.
This required some small adjustments to the produciton code to make it more feasible to test.

The new test takes an existing agent pod and terminates the `sleep` process, causing the pod to go into an `Error` status.
The agent controllers _should_ respond to this by deleting and recreating that failed pod, but the current code just gets stuck.

This is meant to replicate the situation when a cluster is suspended and resumed, which also causes the agent pod to be in this terminal error state.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
2021-04-21 16:48:00 -05:00
..
cli_test.go Close the right pipe output in runPinnipedLoginOIDC. 2020-12-15 12:34:50 -06:00
client_test.go Reduce client cert TTL back to 5 mins 2020-11-13 13:30:02 -05:00
concierge_api_serving_certs_test.go Changing references from 1.19 to 1.20 2021-01-07 15:25:47 -08:00
concierge_availability_test.go Rename integration test env variables 2020-10-09 10:11:47 -07:00
concierge_credentialissuerconfig_test.go Changing references from 1.19 to 1.20 2021-01-07 15:25:47 -08:00
concierge_credentialrequest_test.go Changing references from 1.19 to 1.20 2021-01-07 15:25:47 -08:00
concierge_kubecertagent_test.go Add a test to verify that the kube-cert-agent recovers when a pod becomes unhealthy. 2021-04-21 16:48:00 -05:00
concierge_kubectl_test.go Rename pinniped-server -> pinniped-concierge 2020-10-06 14:59:03 -04:00
e2e_test.go Fix an issue in TestE2EFullIntegration groups assertions. 2021-01-14 21:06:02 -06:00
kube_api_discovery_test.go Rename off of main 2020-12-16 14:27:09 -08:00
kubeclient_test.go test/integration: add test helper to avoid race conditions 2021-01-14 10:19:35 -05:00
supervisor_discovery_test.go Changing references from 1.19 to 1.20 2021-01-07 15:25:47 -08:00
supervisor_healthz_test.go Make the supervisor healthz endpoint public 2020-10-21 15:24:58 -07:00
supervisor_login_test.go Allow arrays of type interface 2021-01-14 17:21:41 -05:00
supervisor_secrets_test.go Changing references from 1.19 to 1.20 2021-01-07 15:25:47 -08:00
supervisor_storage_garbage_collection_test.go Sync garbage collector controller less often by adjusting its filters 2020-12-18 09:36:28 -08:00
supervisor_storage_test.go Supervisor storage garbage collection controller enabled in production 2020-12-11 15:21:34 -08:00
supervisor_upstream_test.go Changing references from 1.19 to 1.20 2021-01-07 15:25:47 -08:00