fix(addons): probe portainer-run on /healthz [R8S-1239] - #270
Merged
Conversation
/config answers 200 whatever the credential is doing, so Portainer reports a locked-out add-on as healthy. /healthz answers 401 once the credential is rejected, which Portainer reads as credential-invalid and offers a repair for. The catalog is one global document with no version gating, so this reaches every installation at once. Safe there: portainer-run serves index.html for any extensionless unknown path, so an image predating /healthz answers 200, and a 404 on the health path counts as healthy anyway. portal-template keeps /readyz. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
nickl-portainer
approved these changes
Aug 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
/config answers 200 whatever the credential is doing, so Portainer reports a locked-out add-on as healthy. /healthz answers 401 once the credential is rejected, which Portainer reads as credential-invalid and offers a repair for.
The catalog is one global document with no version gating, so this reaches every installation at once. Safe there: portainer-run serves index.html for any extensionless unknown path, so an image predating /healthz answers 200, and a 404 on the health path counts as healthy anyway.
portal-template keeps /readyz.