Skip to content

Commit

Permalink
do not require VIP for TLS Termination
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattrees committed Aug 28, 2024
1 parent 854a095 commit 1bc9522
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions anvil-python/anvil/commands/haproxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,6 @@ def prompt(self, console: Console | None = None) -> None:
virtual_ip = haproxy_config_bank.virtual_ip.ask()
variables["virtual_ip"] = virtual_ip

if variables["virtual_ip"] == "" and variables["ssl_cert"] is not None:
# VIP required for TLS configuration
while variables["virtual_ip"] == "":
if console:
console.print("Virtual IP is required when using TLS.")
variables["virtual_ip"] = haproxy_config_bank.virtual_ip.ask()

LOG.debug(variables)
questions.write_answers(self.client, self._HAPROXY_CONFIG, variables)

Expand Down

0 comments on commit 1bc9522

Please sign in to comment.