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