diff --git a/charts/coredns/templates/bin/_probe.sh.tpl b/charts/coredns/templates/bin/_probe.sh.tpl index 4840735f..bb70ec12 100644 --- a/charts/coredns/templates/bin/_probe.sh.tpl +++ b/charts/coredns/templates/bin/_probe.sh.tpl @@ -5,7 +5,7 @@ set -x SUCCESS=1 {{/* Use built-in health check */}} -if ! wget http://localhost:8080/health; then +if ! wget -O - http://127.0.0.1:8080/health; then echo "Failed CoreDNS health check endpoint" SUCCESS=0 fi