1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00
external-secrets/cmd
Eric fb944d599d
Fix exit with no error when cert violates lookahead (#2395)
Add an exit message when the certificate check triggers a fatal exit
(via cancel()). When cancel() is called, this cancels the main
context which causes the webhook to shutdown.

A return is also added to ensure the message "valid" comes out right
after "invalid" like so:

"certs are not valid at..."
"certs are valid"

Signed-off-by: Eric Stokes <fernferret@gmail.com>
2023-06-07 21:27:17 +02:00
..
certcontroller.go [FEATURE] Customizable encoding of logging timestamp (#1808) 2022-12-13 21:01:07 +01:00
root.go Add reconcile_duration metrics (#2382) 2023-06-05 21:26:25 +02:00
webhook.go Fix exit with no error when cert violates lookahead (#2395) 2023-06-07 21:27:17 +02:00