ContainerImage.Pinniped/internal/controller
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
..
apicerts Changing references from 1.19 to 1.20 2021-01-07 15:25:47 -08:00
authenticator Changing references from 1.19 to 1.20 2021-01-07 15:25:47 -08:00
issuerconfig Changing references from 1.19 to 1.20 2021-01-07 15:25:47 -08:00
kubecertagent Add a test to verify that the kube-cert-agent recovers when a pod becomes unhealthy. 2021-04-21 16:48:00 -05:00
supervisorconfig Merge branch 'main' of github.com:vmware-tanzu/pinniped into kubernetes-1.20 2021-01-08 13:22:31 -08:00
supervisorstorage Sync garbage collector controller less often by adjusting its filters 2020-12-18 09:36:28 -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