Skip to content

Commit

Permalink
add healthcheck with HTTP-mode compat
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Nov 22, 2024
1 parent d31cc62 commit fdb0538
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions healthcheck.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

if [[ "${KC_HTTP_ENABLED}" == 'true' ]]; then
curl http://localhost:8080
else
curl https://localhost:8443 -k
fi

0 comments on commit fdb0538

Please sign in to comment.