From 75854cd0ad1ffd2134ba686de0ba10413b542aee Mon Sep 17 00:00:00 2001 From: Robbie Cowan Date: Fri, 14 Aug 2026 16:38:10 +1200 Subject: [PATCH] fix(addons): probe portainer-run on /healthz [R8S-1239] /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 --- addons/addons-catalog-develop.json | 2 +- addons/addons-catalog.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/addons-catalog-develop.json b/addons/addons-catalog-develop.json index 07b41d68..a4214836 100644 --- a/addons/addons-catalog-develop.json +++ b/addons/addons-catalog-develop.json @@ -21,7 +21,7 @@ "icon": "/assets/addons/portainer-run.svg", "path": "/addons/portainer-run", "serviceUrl": "http://portainer-run.portainer-addon-portainer-run.svc.cluster.local", - "healthCheckPath": "/config" + "healthCheckPath": "/healthz" } ] } diff --git a/addons/addons-catalog.json b/addons/addons-catalog.json index e14079cb..f32622b5 100644 --- a/addons/addons-catalog.json +++ b/addons/addons-catalog.json @@ -10,7 +10,7 @@ "icon": "/assets/addons/portainer-run.svg", "path": "/addons/portainer-run", "serviceUrl": "http://portainer-run.portainer-addon-portainer-run.svc.cluster.local", - "healthCheckPath": "/config" + "healthCheckPath": "/healthz" } ] }