Closed TheSpiritXIII closed 6 months ago
Fixes https://github.com/GoogleCloudPlatform/prometheus-engine/issues/713
I've consolidated all webhook-related code into its own file. Furthermore, the TestWebhookCABundleUpdate unit test ensures that the webhook CA is updated correctly. Since the CA update loop sleeps for 1 minute, I made the tests run in parallel.
TestWebhookCABundleUpdate
I'm going to close #663 because there will be too many merge conflicts for that PR to make sense.
Fixes https://github.com/GoogleCloudPlatform/prometheus-engine/issues/713
I've consolidated all webhook-related code into its own file. Furthermore, the
TestWebhookCABundleUpdate
unit test ensures that the webhook CA is updated correctly. Since the CA update loop sleeps for 1 minute, I made the tests run in parallel.