ContainerImage.Pinniped/internal/controller/kubecertagent
Monis Khan 09467d3e24
kubecertagent: fix flakey tests
This commit makes the following changes to the kube cert agent tests:

1. Informers are synced on start using the controllerinit code
2. Deployment client and informer are synced per controller sync loop
3. Controller sync loop exits after two consistent errors
4. Use assert instead of require to avoid ending the test early

Signed-off-by: Monis Khan <mok@vmware.com>
2021-09-16 14:48:04 -04:00
..
mocks Add generated mocks for kubecertagent. 2021-04-26 08:19:45 -06:00
testdata WIP: start replacing the kubecertauthority pkg with a new controller 2020-09-22 17:45:20 -07:00
kubecertagent_test.go kubecertagent: fix flakey tests 2021-09-16 14:48:04 -04:00
kubecertagent.go kubecertagent: fix flakey tests 2021-09-16 14:48:04 -04:00
legacypodcleaner_test.go kubecertagent: fix flakey tests 2021-09-16 14:48:04 -04:00
legacypodcleaner.go kubecertagent: fix flakey tests 2021-09-16 14:48:04 -04:00
pod_command_executor.go Refactor kube-cert-agent controllers to use a Deployment. 2021-04-26 08:19:45 -06:00