bf2fc6cc711aee1a0c2a / kas-fleetshard

The kas-fleetshard-operator is responsible for provisioning and managing instances of kafka on a cluster. The kas-fleetshard-synchronizer synchronizes the state of a fleet shard with the kas-fleet-manager.
Apache License 2.0
7 stars 20 forks source link

MGDSTRM-9388 making the logic tolerant to multiple webhook configs #790

Closed shawkins closed 2 years ago

shawkins commented 2 years ago

Another thing to note here is that the addition or removal of the validating webhook configuration is not blast radius controlled - but that shouldn't be an issue as it's not expected to be dynamically removed.

shawkins commented 2 years ago

Since it should almost never happen and would be helpful to know when it does, it would be worth logging at INFO when the drainCleanerWebhookFound is toggled.

Updated to have info when turning it on, and warn when turning it off.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

86.4% 86.4% Coverage
0.0% 0.0% Duplication