feat(ingress.tjo.cloud): debug

This commit is contained in:
Tine 2025-01-06 18:52:27 +01:00
parent 53eef3d6fc
commit 8ca76b5d92
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw

View file

@ -14,6 +14,10 @@ services=(
"ifconfig.io"
)
debug() {
echo "DEBUG: $1"
}
info() {
echo "INFO: $1"
}
@ -158,6 +162,7 @@ healthcheck() {
while (true); do
domain_records=$(dnsimple_list_record)
debug "domain_records=$domain_records"
for service in "${services[@]}"; do
info "service=$service Discovering public IP address..."