ContainerImage.Pinniped/internal/controller/impersonatorconfig
Matt Moyer af4cd1b515
Tolerate NotFound when deleting services in `impersonatorconfig`.
When a CredentialIssuer is switched from one service type to another (or switched to disabled mode), the `impersonatorconfig` controller will delete the previous Service, if any. Normally one Concierge pod will succeed to delete this initially and any other pods will see a NotFound error.

Before this change, the NotFound would bubble up and cause the strategy to enter a ErrorDuringSetup status until the next reconcile loop. We now handle this case without reporting an error.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
2021-06-03 12:07:19 -05:00
..
impersonator_config.go Tolerate NotFound when deleting services in `impersonatorconfig`. 2021-06-03 12:07:19 -05:00
impersonator_config_test.go Make temporary errors return Pending in impersonatorconfig. 2021-05-27 11:13:10 -05:00