Update config/plugin/dns_problem.sh

Co-authored-by: Dan Winship <danwinship@redhat.com>
This commit is contained in:
Adrian Moisey
2025-09-22 15:11:07 +02:00
committed by GitHub
parent 3f139c4165
commit bc3150aa62

View File

@@ -14,7 +14,7 @@ if ! command -v getent >/dev/null; then
exit $UNKNOWN
fi
# Return success if a DNS lookup to the Kubernetes host is successful
# Return success if a DNS lookup of the kubernetes service is successful
if getent hosts "${KUBERNETES_SERVICE}" >/dev/null; then
echo "DNS lookup to ${KUBERNETES_SERVICE} is working"
exit $OK