From 1bc9522876100b61f4b46b0a52249f6d0bf080b9 Mon Sep 17 00:00:00 2001 From: Wyatt Rees Date: Tue, 27 Aug 2024 14:03:51 -0600 Subject: [PATCH] do not require VIP for TLS Termination --- anvil-python/anvil/commands/haproxy.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/anvil-python/anvil/commands/haproxy.py b/anvil-python/anvil/commands/haproxy.py index c280165..f124129 100644 --- a/anvil-python/anvil/commands/haproxy.py +++ b/anvil-python/anvil/commands/haproxy.py @@ -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)