From 6d335ede065bfbcc8f6c28f00d6db8f6e834a82e Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 12 Feb 2025 13:33:03 +0100 Subject: [PATCH] Avoid ingress if no HA --- .templates/00-banner.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.templates/00-banner.sh b/.templates/00-banner.sh index 6353675b7..340d77fd2 100755 --- a/.templates/00-banner.sh +++ b/.templates/00-banner.sh @@ -20,7 +20,9 @@ if ! bashio::supervisor.ping 2>/dev/null; then -e 's/bashio::config[[:space:]]*["'"'"']\([^"'"'"']*\)["'"'"']/\${\1}/g' \ -e 's/bashio::addon.port[[:space:]]*["'"'"']\([^"'"'"']*\)["'"'"']/echo \1/g' \ -e 's/bashio::services[[:space:]]*["'"'"']\([^"'"'"']*\)["'"'"']/\${\1}/g' \ - -e 's/bashio::addon.ip_address/\${IP_ADDRESS}/g' "$scripts" || true + -e 's/bashio::addon.ingress_port/\${INGRESS_PORT}/g' \ + -e 's/bashio::addon.ip_address/\${IP_ADDRESS}/g' \ + -e 's/bashio::addon.ingress_entry/\${INGRESS_ENTRY}/g' "$scripts" || true done exit 0 fi