Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HEALTHZ should not be AUTH protected #691

Closed
Kilowhisky opened this issue Jun 27, 2023 · 0 comments
Closed

HEALTHZ should not be AUTH protected #691

Kilowhisky opened this issue Jun 27, 2023 · 0 comments

Comments

@Kilowhisky
Copy link
Contributor

Is your feature request related to a problem? Please describe.
As described here in the docs: https://tile38.com/commands/healthz

You should be able to just use /healthz as a readiness probe.

But if you have protected=yes (which is default) it will give...

/app $ tile38-cli healthz
{"ok":true,"elapsed":"260ns"}
/app $ curl localhost:9851/healthz
{"ok":false,"err":"authentication required","elapsed":"7.97µs"}
/app $

Describe the solution you'd like
/healthz shouldn't be protected if you have authentication turned on as its a status check.

Describe alternatives you've considered
The check can be done via a exec readiness check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant