forked from hashicorp/consul
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor inject-connect command (hashicorp#432)
This refactor paves the way for adding the cleanup controller. It removes the if/else statement around starting the mutating webhook server when health checks are enabled vs when they're not and instead starts it the same way in both cases. It also removes special validation around the CONSUL_HTTP_ADDR because this was already being discovered earlier in the file.
- Loading branch information
Showing
2 changed files
with
41 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters